File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -20,15 +20,18 @@ tokio-openssl.workspace = true
2020tracing.workspace = true
2121thiserror.workspace = true
2222derive_more.workspace = true
23- openssl.workspace = true
2423
2524# QUIC
2625quinn = { workspace = true , optional = true }
2726rcgen = { workspace = true , optional = true }
2827
28+ # TLS
29+ openssl = { workspace = true , optional = true }
30+
2931[dev-dependencies ]
3032tracing-subscriber = " 0.3"
3133
3234[features ]
3335default = []
3436quic = [" dep:quinn" , " dep:rcgen" ]
37+ tcp-tls = [" dep:openssl" ]
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ pub mod ipc;
2121#[ cfg( feature = "quic" ) ]
2222pub mod quic;
2323pub mod tcp;
24+ #[ cfg( feature = "tcp-tls" ) ]
2425pub mod tcp_tls;
2526
2627/// A trait for address types that can be used by any transport.
You can’t perform that action at this time.
0 commit comments