Cargo Features
[dependencies]
aurora-engine-types = { version = "3.0.0", default-features = false, features = ["std", "byteorder", "contracts-std", "impl-serde"] }
- default = std
-
The
stdfeature is set by default wheneveraurora-engine-typesis added withoutsomewhere in the dependency tree.default-features = false - std default
-
Enables serde and std of primitive-types ^0.13, std of borsh and hex and std of rlp, serde, and serde_json
serde:
Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library. - byteorder
-
Enables primitive-types ^0.13
- contracts-std
-
primitive-types/stdis excluded because it'sstdimplementation includes a transitive dependency ongetrandomwhich uses OS call to obtain entropy. Such calls are not available in Wasm, therefore we cannot use thestdimplementation ofprimitive-typesin other Rust contracts. - impl-serde
-
Enables impl-serde of primitive-types ^0.13