Cargo Features
[dependencies]
lid = { version = "0.3.0", default-features = false, features = ["base32", "base36", "base62", "easy", "no-unsafe"] }
- default = base36
-
The
base36
feature is set by default wheneverlid
is added without
somewhere in the dependency tree.default-features = false - base32
-
Affects
lid::BASE_ALPHABET
… - base36 default
-
Affects
lid::BASE_ALPHABET
… - base62
-
Affects
lid::BASE_ALPHABET
,lid::LID
… - easy = lazy_static, spin
-
Affects
lid::easy
… - no-unsafe
-
Affects
lid::easy.generate_distributed
,lid::easy.generate_random
…
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.
- lazy_static easy?
-
Enables lazy_static
For globally instanced LID
- spin easy?