Expand description
§trojan-rs
A Rust implementation of the Trojan protocol.
This crate provides a modular implementation of the Trojan protocol, suitable for building high-performance proxy servers and clients.
§Crates
trojan_core- Core types and default configurationstrojan_proto- Protocol parsing and serializationtrojan_auth- Authentication backendstrojan_config- Configuration loading and validationtrojan_metrics- Prometheus-compatible metricstrojan_server- Server implementationtrojan_client- Client implementation (SOCKS5 proxy)trojan_relay- Relay chain (entry + relay nodes)
Re-exports§
pub use trojan_auth as auth;pub use trojan_client as client;pub use trojan_config as config;pub use trojan_core as core;pub use trojan_metrics as metrics;pub use trojan_proto as proto;pub use trojan_relay as relay;pub use trojan_server as server;
Modules§
- prelude
- Prelude module for convenient imports.