Cargo Features
[dependencies]
primitive-types-solana = { version = "0.1.0", default-features = false, features = ["std", "byteorder", "codec", "fp-conversion", "json-schema", "num-traits", "rlp", "rustc-hex", "scale-info", "serde", "serde_no_std", "arbitrary"] }
- default = std
-
The
std
feature is set by default wheneverprimitive-types-solana
is added without
somewhere in the dependency tree.default-features = false - std default fp-conversion? serde?
-
Enables std of fixed-hash, optional impl-codec ^0.6.0, and uint ^0.9.5
- byteorder
-
Enables byteorder of fixed-hash
- codec scale-info? = impl-codec
- fp-conversion = std
- json-schema
-
Enables schemars
- num-traits = impl-num-traits
- rlp = impl-rlp
- rustc-hex
-
Enables rustc-hex of fixed-hash
- scale-info = codec, scale-info-crate
- serde = impl-serde, std
-
Enables std of impl-serde ^0.4.0
- serde_no_std = impl-serde
- arbitrary
-
Enables arbitrary of fixed-hash and uint ^0.9.5
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.
- impl-codec codec?
-
Enables impl-codec ^0.6.0
- impl-num-traits num-traits?
-
Enables impl-num-traits ^0.1.0
- impl-rlp rlp?
-
Enables impl-rlp ^0.3
- scale-info-crate scale-info?
-
Enables scale-info
- impl-serde serde? serde_no_std?
-
Enables impl-serde ^0.4.0