Cargo Features
[dependencies]
simple-uuid = { version = "0.5.1", default-features = false, features = ["mac_addr", "hash_sha1", "hash_md5", "rand_num"] }
- default = hash_md5, hash_sha1, mac_addr, rand_num
-
These default features are set whenever
simple-uuid
is added without
somewhere in the dependency tree.default-features = false - mac_addr default = mac_address
- hash_sha1 default = sha1
- hash_md5 default = md5
- rand_num default = rand_core
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.