Cargo Features
solana-ws has no features set by default.
[dependencies]
solana-ws = { version = "0.2.0", features = ["permessage-deflate", "ssl", "nativetls"] }
- permessage-deflate = libc, libz-sys
-
Affects
solana-ws::deflate
… - ssl = openssl
-
Affects
handler::Handler.upgrade_ssl_client
,handler::Handler.upgrade_ssl_server
,stream::TlsStream
… - nativetls = native-tls
-
Affects
handler::Handler.upgrade_ssl_client
,handler::Handler.upgrade_ssl_server
,stream::TlsStream
…
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.