Cargo Features
[dependencies]
uuid-rs = { version = "0.6.4", default-features = false, features = ["mac", "rnd", "hsha1", "hmd5"] }
- default = mac
-
The
mac
feature is set by default wheneveruuid-rs
is added without
somewhere in the dependency tree.default-features = false - mac default = mac_address, rand
- rnd = rand
- hsha1 = sha1_smol
- hmd5 = md5
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.