Cargo Features
[dependencies]
bins = { version = "2.0.0", default-features = false, features = ["file_type_checking", "clipboard_support", "openssl", "rustls"] }
- default = file_type_checking, openssl
-
These default features are set whenever
bins
is added without
somewhere in the dependency tree.default-features = false - file_type_checking default = magic
- clipboard_support = clipboard
-
Affects
config::CommandLineOptions.copy
… - openssl default = hyper-openssl
-
Affects
bins::new_client
… - rustls = hyper-rustls
-
Affects
bins::new_client
…
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.
- hyper-openssl openssl
-
Enables hyper-openssl ^0.2
- hyper-rustls rustls?
-
Enables hyper-rustls ^0.6
- magic file_type_checking
-
Enables magic ^0.12
- clipboard clipboard_support?
-
Enables clipboard ^0.3