[package] name = "cast" description = "Command-line tool for performing Ethereum RPC calls" version.workspace = true edition.workspace = true rust-version.workspace = true authors.workspace = true license.workspace = true homepage.workspace = true repository.workspace = true [lints] workspace = true [lib] name = "cast" [[bin]] name = "cast" path = "bin/main.rs" [dependencies] # lib foundry-block-explorers.workspace = true foundry-common.workspace = true foundry-compilers.workspace = true foundry-config.workspace = true foundry-debugger.workspace = true foundry-evm.workspace = true foundry-evm-networks.workspace = true foundry-primitives.workspace = true foundry-wallets = { workspace = true, features = ["browser", "tempo"] } forge-fmt.workspace = true alloy-chains.workspace = true alloy-consensus = { workspace = true, features = ["serde", "kzg"] } alloy-contract.workspace = true alloy-dyn-abi.workspace = true alloy-json-abi.workspace = true alloy-json-rpc.workspace = true alloy-network.workspace = true alloy-primitives.workspace = true alloy-provider = { workspace = true, features = [ "reqwest", "ws", "ipc", "trace-api", "txpool-api", "debug-api", ] } alloy-rlp.workspace = true alloy-rpc-client.workspace = true alloy-rpc-types = { workspace = true, features = ["eth", "trace"] } alloy-rpc-types-beacon.workspace = true alloy-signer-local = { workspace = true, features = ["mnemonic", "keystore"] } alloy-signer.workspace = true alloy-sol-types.workspace = true alloy-transport.workspace = true alloy-ens = { workspace = true, features = ["provider"] } alloy-eips.workspace = true tempo-alloy.workspace = true tempo-contracts.workspace = true tempo-primitives.workspace = true # Base base-common-network = { workspace = true, optional = true, features = ["serde", "std"] } op-alloy-consensus = { workspace = true, features = ["k256"], optional = true } op-alloy-flz = { workspace = true, optional = true } op-alloy-network = { workspace = true, optional = true } aes-gcm = { version = "0.10", default-features = false, features = ["aes", "alloc"] } hkdf = "0.12" k256.workspace = true sha2 = "0.10" chrono.workspace = true evm2.workspace = true eyre.workspace = true futures.workspace = true rand.workspace = true rand_08.workspace = true rayon.workspace = true reqwest.workspace = true serde_json = { workspace = true, features = ["raw_value"] } serde.workspace = true # bin foundry-cli.workspace = true clap = { version = "4", features = ["derive", "env", "unicode", "wrap_help"] } clap_complete.workspace = true comfy-table.workspace = true itertools.workspace = true regex = { workspace = true, default-features = false } rpassword = "7" semver.workspace = true tempfile.workspace = true tokio = { workspace = true, features = ["macros", "process", "signal", "time"] } tracing.workspace = true yansi.workspace = true evmole.workspace = true url.workspace = true [target.'cfg(unix)'.dependencies] libc = "0.2" [target.'cfg(windows)'.dependencies] windows-sys = { version = "0.61", features = [ "Win32_Foundation", "Win32_Security", "Win32_System_JobObjects", "Win32_System_Threading", ] } [target.'cfg(unix)'.dev-dependencies] rexpect.workspace = true [dev-dependencies] alloy-hardforks.workspace = true alloy-serde.workspace = true axum.workspace = true dirs.workspace = true anvil.workspace = true foundry-test-utils.workspace = true tempo-hardfork.workspace = true path-slash.workspace = true reqwest.workspace = true tower.workspace = true base64.workspace = true p256 = { version = "0.13", default-features = false, features = ["ecdsa", "std"] } [features] default = ["jemalloc", "asm-keccak", "optimism"] asm-keccak = ["alloy-primitives/asm-keccak"] jemalloc = ["foundry-cli/jemalloc"] mimalloc = ["foundry-cli/mimalloc"] tracy-allocator = ["foundry-cli/tracy-allocator"] aws-kms = ["foundry-wallets/aws-kms"] gcp-kms = ["foundry-wallets/gcp-kms"] turnkey = ["foundry-wallets/turnkey"] touch-id = ["foundry-wallets/touch-id"] monad = [ "anvil/monad", "foundry-common/monad", "foundry-config/monad", "foundry-evm-networks/monad", "foundry-evm/monad", "foundry-cli/monad", ] base = [ "anvil/base", "dep:base-common-network", "dep:op-alloy-flz", "foundry-common/base", "foundry-debugger/base", "foundry-evm/base", "foundry-evm-networks/base", "foundry-cli/base", ] optimism = [ "dep:op-alloy-flz", "dep:op-alloy-consensus", "dep:op-alloy-network", "foundry-common/optimism", "foundry-evm-networks/optimism", "foundry-evm/optimism", "foundry-cli/optimism", ]