Cargo Features
[dependencies]
hitokoto = { version = "0.5.1", default-features = false, features = ["std", "uuid", "serde", "random", "time", "language"] }
- default = random, std
-
These default features are set whenever
hitokoto
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables std and std_rng of optional rand, std of optional bitflags and optional chrono and std of optional serde and optional uuid
serde:
Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library. - uuid
-
Enables uuid
Affects
data::Hitokoto.uuid
… - serde
- random default
- time
-
Enables chrono
Affects
data::Hitokoto.created_at
… - language build
-
Enables lingua
Affects
data::Hitokoto.language
,data::Language
…