Cargo Features
[dependencies]
ruma-identifiers = { version = "0.22.1", default-features = false, features = ["compat", "rand", "serde", "either"] }
- default = serde
-
The
serde
feature is set by default wheneverruma-identifiers
is added without
somewhere in the dependency tree.default-features = false - compat
-
Enables compat of ruma-identifiers-validation ^0.7.0
- rand = rand_crate, uuid
- serde default = ruma-serde, serde1
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.
- either implicit feature
-
Enables either
either:
The enum
Either
with variantsLeft
andRight
is a general purpose sum type with two cases - rand_crate rand?
-
Enables rand
- ruma-serde serde
- serde1 serde
-
Enables serde
Renamed so we can have a serde feature.
- uuid rand?
-
Enables uuid ^0.8.2