# 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 = "rtvm-precompile" version = "6.0.0" authors = ["info@tos.network"] description = "rtvm Precompiles - Ethereum compatible precompiled contracts" readme = "README.md" keywords = [ "no_std", "ethereum", "evm", "rtvm", "precompiles", ] license = "MIT" repository = "https://github.com/tos-network/rtvm" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [[bench]] name = "bench" path = "benches/bench.rs" harness = false [dependencies.aurora-engine-modexp] version = "1.0" default-features = false [dependencies.bn] version = "0.6" default-features = false package = "substrate-bn" [dependencies.c-kzg] version = "1.0.0" optional = true default-features = false [dependencies.k256] version = "0.13.3" features = ["ecdsa"] default-features = false [dependencies.once_cell] version = "1.19" features = ["alloc"] default-features = false [dependencies.ripemd] version = "0.1" default-features = false [dependencies.rtvm-primitives] version = "3.1.1" default-features = false [dependencies.secp256k1] version = "0.29.0" 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.rand] version = "0.8" features = ["std"] [features] asm-keccak = ["rtvm-primitives/asm-keccak"] c-kzg = [ "dep:c-kzg", "rtvm-primitives/c-kzg", ] default = [ "std", "c-kzg", "secp256k1", "portable", ] hashbrown = ["rtvm-primitives/hashbrown"] negate-optimism-default-handler = ["rtvm-primitives/negate-optimism-default-handler"] optimism = ["rtvm-primitives/optimism"] optimism-default-handler = [ "optimism", "rtvm-primitives/optimism-default-handler", ] portable = [ "rtvm-primitives/portable", "c-kzg?/portable", ] secp256k1 = ["dep:secp256k1"] std = [ "rtvm-primitives/std", "k256/std", "once_cell/std", "ripemd/std", "sha2/std", "c-kzg?/std", "secp256k1?/std", ]