Cargo Features
[dependencies]
rabbit-auto = { version = "0.6.0", default-features = false, features = ["tokio_runtime", "async_std_runtime", "humantime", "chrono"] }
- default = tokio_runtime
-
The
tokio_runtime
feature is set by default wheneverrabbit-auto
is added without
somewhere in the dependency tree.default-features = false - tokio_runtime default = tokio
- async_std_runtime = async-std
- humantime = humantime_library
- chrono = chrono_library
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_runtime
- async-std async_std_runtime?
- humantime_library humantime?
-
Enables humantime
- chrono_library chrono?
-
Enables chrono