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

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

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

wasm

Enables getrandom