Cargo Features
[dependencies]
abao = { version = "0.2.0", default-features = false, features = ["tokio_io", "group_size_1k", "group_size_8k", "group_size_16k", "group_size_128k", "group_size_1024k"] }
- default = group_size_16k, tokio_io
-
These default features are set whenever
abao
is added without
somewhere in the dependency tree.default-features = false - tokio_io default = futures, tokio
- group_size_1k
-
compatible with bao
- group_size_2k group_size_4k group_size_8k
- group_size_16k default
- group_size_32k group_size_64k group_size_128k
- group_size_256k group_size_512k group_size_1024k
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.