Cargo Features
[dependencies]
maj = { version = "0.6.0", default-features = false, features = ["client", "server"] }
- default = client, server
-
These default features are set whenever
maj
is added without
somewhere in the dependency tree.default-features = false - client default = async-std, tokio, tokio-rustls, webpki, webpki-roots
- server default = async-std, async-trait, rustls, webpki, webpki-roots
-
Affects
maj::server
…
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.
- async-std client server
- async-tls client server
- async-trait server
- rustls server
-
Enables rustls ^0.18
- tokio-rustls client
-
Enables tokio-rustls ^0.14
- tokio client
-
Enables tokio ^0.2
- webpki-roots client server
-
Enables webpki-roots ^0.20
- webpki client server
-
Enables webpki ^0.21.0