Cargo Features

[dependencies]
rlay_ontology = { version = "0.2.6", default-features = false, features = ["std", "serialize", "web3_compat", "pwasm", "wasm_bindgen", "examples"] }
default = std

The std feature is set by default whenever rlay_ontology is added without default-features = false somewhere in the dependency tree.

std default = bytes, prost, rustc-hex, serialize

Enables std of ethereum-types ^0.4.0, serde, serde_bytes, and serde_cbor ^0.10.1

ethereum-types:

feature web3_compat

Affects rlay_ontology::ToCidUnknown, ontology::v0

serialize std = cid_fork_rlay, integer-encoding, multibase, multihash, serde, serde_bytes, serde_cbor, serde_derive
web3_compat wasm_bindgen? = ethereum-types

Affects ontology::web3

pwasm = pwasm-std
wasm_bindgen = wasm-bindgen, web3_compat
examples = itertools, serde_json

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.

integer-encoding serialize?

Enables integer-encoding ^1.0

multihash serialize?

Enables multihash ^0.8.0

cid_fork_rlay serialize?
multibase serialize?

Enables multibase ^0.6.0

serde_derive serialize?
serde_cbor serialize? std

Enables serde_cbor ^0.10.1

serde_bytes serialize? std
serde serialize? std

Affects ontology::compact

prost std

Enables prost ^0.6.0

feature std

bytes std

Enables bytes ^0.5.0

rustc-hex std
ethereum-types std web3_compat?

Enables ethereum-types ^0.4.0

pwasm-std pwasm?

Enables pwasm-std ^0.10

feature pwasm

wasm-bindgen wasm_bindgen?

Enables wasm-bindgen

feature wasm-bindgen

itertools examples?

Enables itertools ^0.7.6

feature examples

serde_json examples?