Cargo Features

[dependencies]
ergo-chain-types = { version = "0.15.0", default-features = false, features = ["json", "arbitrary"] }
default = json

The json feature is set by default whenever ergo-chain-types is added without default-features = false somewhere in the dependency tree.

json default = serde, serde_json, serde_with
arbitrary = proptest, proptest-derive

Affects peer_addr::arbitrary

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.

serde json
serde_json json
serde_with json

Enables serde_with ^1.9.1

proptest-derive arbitrary?

Enables proptest-derive ^0.3

proptest arbitrary?

Enables proptest =1.0