Cargo Features
[dependencies]
hitokoto = { version = "0.5.2", default-features = false, features = ["std", "uuid", "serde", "random", "time", "language", "wasm"] }
- 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 of optional bitflags and optional chrono, std of optional serde and optional uuid and thread_rng of optional rand
rand:
Option: enable ThreadRng and rng()
- 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
… - wasm
-
Enables getrandom