Cargo Features
[dependencies]
griffin-core = { version = "0.1.0", default-features = false, features = ["std", "rand", "json-schema", "fp-conversion", "unstable", "json", "num-bigint"] }
- default = json, rand, std
-
These default features are set whenever
griffin-core
is added without
somewhere in the dependency tree.default-features = false - std default fp-conversion? = async-trait, parity-util-mem, sc-chain-spec, sc-client-api, sc-executor, sp-blockchain
-
Enables std of fixed-hash, impl-codec, impl-serde, parity-scale-codec, and serde
fixed-hash:
H224 dependencies
and std of sp-core, sp-debug-derive, sp-genesis-builder, sp-inherents, sp-io, sp-runtime, and sp-storage
sp-core:
Substrate
- rand default
-
H224 features, cont'd
Enables rand of fixed-hash
- json-schema
-
Enables schemars
- fp-conversion = std
- unstable
- json default = serde_json
-
Affects
alonzo::json
,framework::ToCanonicalJson
…
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.
- async-trait std
- parity-util-mem std
- sc-chain-spec std
-
Enables sc-chain-spec ^37.0.0
Genesis Builder dependencies
- sc-client-api std
- sc-executor std
- sp-blockchain std
- num-bigint implicit feature
-
Enables num-bigint
num-bigint:
Big integer implementation for Rust
- serde_json json