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 default-features = false somewhere in the dependency tree.

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

Enables serde and optional uuid, serde of optional chrono

random default

Enables bitflags and rand

time

Enables chrono

Affects data::Hitokoto.created_at

language build

Enables lingua

Affects data::Hitokoto.language, data::Language