Cargo Features
[dependencies]
netopt = { version = "0.1.3", default-features = false, features = ["ssl"] }
- default = ssl
-
The
ssl
feature is set by default whenevernetopt
is added without
somewhere in the dependency tree.default-features = false - ssl default = openssl
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.
- openssl ssl
-
Enables openssl ^0.7