Cargo Features
[dependencies]
ip2location-ip2proxy = { version = "0.4.0", default-features = false, features = ["tokio_fs", "async_fs", "serde"] }
- default = serde, tokio_fs
-
These default features are set whenever
ip2location-ip2proxy
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 = serde-enum-str
-
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.
- serde-enum-str serde
-
Enables serde-enum-str ^0.3
- tokio tokio_fs
- async-compat tokio_fs
- async-fs async_fs?
-
Enables async-fs ^1