Cargo Features

cbrzn-ethers-core has no features set by default.

[dependencies]
cbrzn-ethers-core = { version = "1.0.2", features = ["celo", "legacy", "eip712", "macros"] }
celo = legacy

celo support extends the transaction format with extra fields

Affects block::Block.randomness, block::Block.epoch_snark_data, block::Randomness, block::EpochSnarkData, request::TransactionRequest.fee_currency, request::TransactionRequest.gateway_fee_recipient, request::TransactionRequest.gateway_fee, response::Transaction.fee_currency, response::Transaction.gateway_fee_recipient, response::Transaction.gateway_fee

legacy celo?
eip712 = convert_case, proc-macro2, syn

Affects transaction::eip712

macros = cargo_metadata, once_cell, syn

Affects cbrzn-ethers-core::macros

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.

once_cell macros?
cargo_metadata macros?

Enables cargo_metadata ^0.15.3

macros feature enabled dependencies

convert_case eip712?

Enables convert_case

eip712 feature enabled dependencies

syn eip712? macros?

Enables syn ^1.0.108

proc-macro2 eip712?