Cargo Features
[dependencies]
stry-common = { version = "0.1.3", default-features = false, features = ["with-backend", "with-nanoid", "with-source-clap", "with-source-ron"] }
- default = with-backend, with-nanoid, with-source-clap, with-source-ron
-
These default features are set whenever
stry-common
is added without
somewhere in the dependency tree.default-features = false - with-backend default = async-trait
-
Affects
backend::BackendFactory
,backend::Backend
,backend::BackendEntry
… - with-nanoid default = rand
-
Affects
nanoid::nanoid
… - with-source-clap default = clap
-
Affects
config::ClapSource
… - with-source-ron default = ron
-
Affects
config::RonSource
,config::RonSourceError
…
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.
- async-trait with-backend
- clap with-source-clap
-
Enables clap ^2.33
- rand with-nanoid
- ron with-source-ron
-
Enables ron ^0.6