Cargo Features
[dependencies]
iota-types = { version = "1.0.0-rc.7", default-features = false, features = ["std", "api", "block", "dto", "rand", "serde"] }
- default = api, block, std
-
These default features are set whenever
iota-types
is added without
somewhere in the dependency tree.default-features = false - std default rand?
- api default = block, dto, getset, serde_repr
-
Affects
iota-types::api
… - block default api
-
Affects
iota-types::block
… - dto api = serde
-
Enables serde_json
Affects
alias::dto
,ed25519::dto
,address::dto
,nft::dto
,block::dto
,error::dto
… - rand = std
-
Enables rand
Affects
block::rand
,protocol::protocol_parameters
… - serde dto? = serde-big-array
-
Enables serde
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.