# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "revm-precompile" version = "15.0.0" authors = ["Dragan Rakita "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "revm Precompiles - Ethereum compatible precompiled contracts" readme = "README.md" keywords = [ "no_std", "ethereum", "evm", "revm", "precompiles", ] license = "MIT" repository = "https://github.com/bluealloy/revm" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "revm_precompile" path = "src/lib.rs" [[bench]] name = "bench" path = "benches/bench.rs" harness = false [dependencies.aurora-engine-modexp] version = "1.1" default-features = false [dependencies.blst] version = "0.3.13" optional = true [dependencies.bn] version = "0.6" default-features = false package = "substrate-bn" [dependencies.c-kzg] version = "1.0.3" features = ["ethereum_kzg_settings"] optional = true default-features = false [dependencies.cfg-if] version = "1.0" default-features = false [dependencies.k256] version = "0.13.3" features = ["ecdsa"] default-features = false [dependencies.kzg-rs] version = "0.2.3" optional = true default-features = false [dependencies.once_cell] version = "1.19" features = ["alloc"] default-features = false [dependencies.p256] version = "0.13.2" features = ["ecdsa"] optional = true default-features = false [dependencies.revm-primitives] version = "14.0.0" default-features = false [dependencies.ripemd] version = "0.1" default-features = false [dependencies.secp256k1] version = ">=0.28, <=0.29" features = [ "alloc", "recovery", "rand", "global-context", ] optional = true default-features = false [dependencies.sha2] version = "0.10" default-features = false [dev-dependencies.criterion] version = "0.5" [dev-dependencies.eyre] version = "0.6.12" [dev-dependencies.rand] version = "0.8" features = ["std"] [dev-dependencies.rstest] version = "0.22.0" [dev-dependencies.serde] version = "1.0" [dev-dependencies.serde_derive] version = "1.0" [dev-dependencies.serde_json] version = "1.0" [features] asm-keccak = ["revm-primitives/asm-keccak"] blst = ["dep:blst"] c-kzg = [ "dep:c-kzg", "revm-primitives/c-kzg", ] default = [ "std", "c-kzg", "secp256k1", "portable", "blst", ] hashbrown = ["revm-primitives/hashbrown"] kzg-rs = [ "dep:kzg-rs", "revm-primitives/kzg-rs", ] negate-optimism-default-handler = ["revm-primitives/negate-optimism-default-handler"] optimism = [ "revm-primitives/optimism", "secp256r1", ] optimism-default-handler = [ "optimism", "revm-primitives/optimism-default-handler", ] portable = [ "revm-primitives/portable", "c-kzg?/portable", ] secp256k1 = ["dep:secp256k1"] secp256r1 = ["dep:p256"] std = [ "revm-primitives/std", "k256/std", "once_cell/std", "ripemd/std", "sha2/std", "c-kzg?/std", "secp256k1?/std", ] [lints.rust] rust_2018_idioms = "deny" unreachable_pub = "warn" unused_must_use = "deny" [lints.rustdoc] all = "warn"