# 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" rust-version = "1.81" name = "alloy-core" version = "0.8.15" authors = ["Alloy Contributors"] build = false exclude = ["tests"] autolib = false autobins = false autoexamples = false autotests = false autobenches = false description = "Rust Ethereum core libraries" homepage = "https://github.com/alloy-rs/core/tree/main/crates/core" readme = "README.md" keywords = [ "ethereum", "abi", "encoding", "evm", "solidity", ] categories = [ "no-std", "encoding", "cryptography::cryptocurrencies", ] license = "MIT OR Apache-2.0" repository = "https://github.com/alloy-rs/core" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "alloy_core" path = "src/lib.rs" [dependencies.alloy-dyn-abi] version = "0.8.15" optional = true default-features = false [dependencies.alloy-json-abi] version = "0.8.15" optional = true default-features = false [dependencies.alloy-primitives] version = "0.8.15" default-features = false [dependencies.alloy-rlp] version = "0.3" optional = true default-features = false [dependencies.alloy-sol-types] version = "0.8.15" optional = true default-features = false [features] arbitrary = [ "std", "alloy-primitives/arbitrary", "alloy-sol-types?/arbitrary", "alloy-dyn-abi?/arbitrary", ] asm-keccak = ["alloy-primitives/asm-keccak"] default = [ "std", "alloy-primitives/default", "alloy-dyn-abi?/default", "alloy-json-abi?/default", "alloy-sol-types?/default", "alloy-rlp?/default", ] dyn-abi = [ "sol-types", "dep:alloy-dyn-abi", ] eip712 = [ "alloy-sol-types?/eip712-serde", "alloy-dyn-abi?/eip712", ] getrandom = ["alloy-primitives/getrandom"] json = ["alloy-sol-types?/json"] json-abi = [ "json", "serde", "dep:alloy-json-abi", ] k256 = ["alloy-primitives/k256"] map = ["alloy-primitives/map"] map-foldhash = ["alloy-primitives/map-foldhash"] map-fxhash = ["alloy-primitives/map-fxhash"] map-hashbrown = ["alloy-primitives/map-hashbrown"] map-indexmap = ["alloy-primitives/map-indexmap"] native-keccak = ["alloy-primitives/native-keccak"] nightly = ["alloy-primitives/nightly"] postgres = [ "std", "alloy-primitives/postgres", ] rand = ["alloy-primitives/rand"] rlp = [ "alloy-primitives/rlp", "dep:alloy-rlp", ] serde = ["alloy-primitives/serde"] sha3-keccak = ["alloy-primitives/sha3-keccak"] sol-types = ["dep:alloy-sol-types"] std = [ "alloy-primitives/std", "alloy-json-abi?/std", "alloy-dyn-abi?/std", "alloy-sol-types?/std", "alloy-rlp?/std", ] tiny-keccak = ["alloy-primitives/tiny-keccak"] [lints.clippy] dbg-macro = "warn" manual-string-new = "warn" missing-const-for-fn = "warn" redundant-clone = "warn" uninlined-format-args = "warn" use-self = "warn" [lints.rust] missing-copy-implementations = "warn" missing-debug-implementations = "warn" missing-docs = "warn" redundant-lifetimes = "warn" rust-2018-idioms = "warn" unnameable-types = "warn" unreachable-pub = "warn" unused-must-use = "warn" [lints.rustdoc] all = "warn"