Docs.rs
trojan-server-0.9.1
trojan-server 0.9.1
Permalink
Docs.rs crate page
GPL-3.0-only
Links
Homepage
Repository
crates.io
Source
Owners
0x72757374
Dependencies
arc-swap ^1
normal
optional
async-trait ^0.1
normal
axum ^0.8
normal
bytes ^1
normal
clap ^4
normal
futures-util ^0.3
normal
hex ^0.4
normal
metrics ^0.24
normal
metrics-exporter-prometheus ^0.18
normal
parking_lot ^0.12
normal
rustls ^0.23
normal
rustls-pemfile ^2
normal
rustls-pki-types ^1
normal
serde ^1
normal
serde_json ^1
normal
serde_yaml ^0.9
normal
sha2 ^0.10
normal
socket2 ^0.6
normal
thiserror ^2
normal
tokio ^1
normal
tokio-rustls ^0.26
normal
tokio-tungstenite ^0.28
normal
optional
tokio-util ^0.7
normal
toml ^1
normal
tracing ^0.1
normal
tracing-appender ^0.2
normal
tracing-subscriber ^0.3
normal
trojan-analytics ^0.9.1
normal
optional
trojan-auth ^0.9.1
normal
trojan-config ^0.9.1
normal
trojan-core ^0.9.1
normal
trojan-ddns ^0.9.1
normal
optional
trojan-dns ^0.9.1
normal
trojan-metrics ^0.9.1
normal
trojan-proto ^0.9.1
normal
trojan-rules ^0.9.1
normal
optional
webpki-roots ^1
normal
optional
criterion ^0.8
dev
ctor ^0.6
dev
rcgen ^0.14
dev
serde_json ^1
dev
tempfile ^3
dev
tracing-subscriber ^0.3
dev
libc ^0.2
normal
Versions
68.75%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
All
trojan_
server
0.9.1
Crate Items
Structs
Enums
Constants
Functions
List of all items
Structs
CancellationToken
ConnectionPool
RateLimiter
cli::ServerArgs
ws::WsIo
Enums
ServerError
ws::WsInspect
Functions
cli::run
run
run_with_shutdown
ws::accept_ws
ws::inspect_mixed
ws::send_reject
Constants
DEFAULT_SHUTDOWN_TIMEOUT
ws::INITIAL_BUFFER_SIZE