Cargo Features
[dependencies]
eggbug = { version = "0.2.0", default-features = false, features = ["default-tls", "fs", "imagesize"] }
- default = default-tls, fs
-
These default features are set whenever
eggbug
is added without
somewhere in the dependency tree.default-features = false - default-tls default
-
Enables default-tls of reqwest ^0.11.11
reqwest:
Note: this doesn't enable the 'native-tls' feature, which adds specific functionality for it.
- fs default imagesize?
-
Enables fs of tokio, codec of tokio-util
- imagesize = fs
-
Enables imagesize ^0.11.0
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.