Cargo Features
[dependencies]
ip2location-ip2location = { version = "0.4.0", default-features = false, features = ["tokio_fs", "async_fs", "serde"] }
- default = serde, tokio_fs
-
These default features are set whenever
ip2location-ip2location
is added without
somewhere in the dependency tree.default-features = false - tokio_fs default = async-compat, tokio
-
Affects
bin_format::TokioFile
… - async_fs = async-fs
-
Affects
bin_format::AsyncFsFile
… - serde default
-
Enables serde, serde of country-code
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.
- tokio tokio_fs
- async-compat tokio_fs
- async-fs async_fs?
-
Enables async-fs ^1