[package] name = "ethers-core" authors = ["Georgios Konstantopoulos "] readme = "README.md" description = "Ethereum data types, cryptography and utilities" version.workspace = true edition.workspace = true rust-version.workspace = true license.workspace = true documentation.workspace = true repository.workspace = true homepage.workspace = true categories.workspace = true keywords.workspace = true exclude.workspace = true [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs"] [package.metadata.playground] all-features = true [dependencies] # abi open-fastrlp = { version = "0.1.4", features = ["std", "derive", "ethereum-types"] } rlp = { version = "0.5", features = ["derive"] } ethabi = { version = "18.0.0", default-features = false, features = ["full-serde", "rlp"] } arrayvec = { version = "0.7", default-features = false } # crypto elliptic-curve.workspace = true generic-array.workspace = true k256 = { workspace = true, features = ["ecdsa", "std"] } tiny-keccak.workspace = true rand.workspace = true # misc chrono.workspace = true serde.workspace = true serde_json.workspace = true thiserror.workspace = true bytes = { workspace = true, features = ["serde"] } hex.workspace = true once_cell = { workspace = true, optional = true } unicode-xid = "0.2" strum = { version = "0.26.1", features = ["derive"] } num_enum = "0.7" # macros feature enabled dependencies cargo_metadata = { version = "0.18.0", optional = true } syn = { workspace = true, optional = true } [target.'cfg(not(target_arch = "wasm32"))'.dependencies] tempfile.workspace = true [dev-dependencies] bincode = { version = "1.3.3", default-features = false } once_cell.workspace = true hex-literal.workspace = true rand.workspace = true [features] celo = ["legacy"] # celo support extends the transaction format with extra fields legacy = [] macros = ["syn", "cargo_metadata", "once_cell"] optimism = [] # Deprecated eip712 = []