Cargo Features

[dependencies]
tokenizers = { version = "0.20.3", default-features = false, features = ["esaxx_fast", "progressbar", "http", "unstable_wasm", "onig"] }
default = esaxx_fast, onig, progressbar

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

esaxx_fast default

Enables cpp of esaxx-rs

progressbar default = indicatif
http = hf-hub
unstable_wasm = fancy-regex

Enables js of getrandom

getrandom:

Feature to enable JavaScript bindings on wasm*-unknown-unknown

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

onig default
indicatif progressbar
hf-hub http?
fancy-regex unstable_wasm?

Enables fancy-regex ^0.13