Cargo Features
[dependencies]
nano-id = { version = "0.4.0", default-features = false, features = ["wasm", "base62", "base64"] }
- default = base64
-
The
base64
feature is set by default whenevernano-id
is added without
somewhere in the dependency tree.default-features = false - wasm
-
getrandom:
Feature to enable JavaScript bindings on wasm*-unknown-unknown
- base58 base62
- base64 default
Nanoid has 4 features without comments.