Cargo Features

[dependencies]
natural-tts = { version = "0.2.0", default-features = false, features = ["meta", "tts-rs", "coqui", "parler", "gtts", "msedge", "py_tts", "non_py_tts", "test"] }
default test? = non_py_tts, py_tts

These default features are set whenever natural-tts is added without default-features = false somewhere in the dependency tree.

meta parler?

Enables candle-core, candle-nn, candle-transformers, hf-hub, rand ^0.8.5, serde_json, tracing-chrome, and tracing-subscriber

Affects natural-tts::NaturalTts.meta_model

tts-rs non_py_tts

Enables tts

Affects natural-tts::NaturalTts.tts_model

coqui test?

Affects natural-tts::NaturalTts.coqui_model

parler non_py_tts = meta

Enables tokenizers

Affects natural-tts::NaturalTts.parler_model

gtts non_py_tts

Enables minreq and percent-encoding

Affects natural-tts::NaturalTts.gtts_model

msedge non_py_tts

Enables msedge-tts

Affects natural-tts::NaturalTts.msedge_model

py_tts default
non_py_tts default = gtts, msedge, parler, tts-rs
test = coqui, default