# 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.65" name = "cyfrin-foundry-compilers" version = "0.3.20-aderyn" authors = ["Foundry Maintainers"] exclude = [ ".github/", "scripts/", "test-data/", ] description = "Utilities for working with solidity compilers, namely solc" homepage = "https://github.com/Cyfrin/foundry-compilers" documentation = "https://docs.rs/foundry-compilers" readme = "README.md" keywords = [ "foundry", "solidity", "solc", "ethereum", "ethers", ] license = "MIT OR Apache-2.0" repository = "https://github.com/Cyfrin/foundry-compilers" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [package.metadata.playground] all-features = true [[test]] name = "project" path = "tests/project.rs" required-features = [ "full", "project-util", ] [[test]] name = "mocked" path = "tests/mocked.rs" required-features = [ "full", "project-util", ] [[bench]] name = "compile_many" harness = false [[bench]] name = "read_all" harness = false required-features = ["project-util"] [dependencies.alloy-json-abi] version = "0.7" features = ["serde_json"] [dependencies.alloy-primitives] version = "0.7" features = [ "serde", "rand", ] [dependencies.cfg-if] version = "1.0.0" [dependencies.dirs] version = "5.0" [dependencies.dunce] version = "1.0" [dependencies.fs_extra] version = "1.3" optional = true [dependencies.futures-util] version = "0.3" optional = true [dependencies.home] version = "0.5" [dependencies.itertools] version = "0.12" [dependencies.md-5] version = "0.10" [dependencies.memmap2] version = "0.9" [dependencies.once_cell] version = "1.19" [dependencies.path-slash] version = "0.2" [dependencies.rand] version = "0.8" optional = true [dependencies.rayon] version = "1.8" [dependencies.regex] version = "1.10" [dependencies.semver] version = "1.0" features = ["serde"] [dependencies.serde] version = "1" features = [ "derive", "rc", ] [dependencies.serde_json] version = "1.0" [dependencies.sha2] version = "0.10" optional = true default-features = false [dependencies.solang-parser] version = "=0.3.3" default-features = false [dependencies.svm] version = "0.5" optional = true default-features = false package = "svm-rs" [dependencies.svm-builds] version = "0.5" optional = true default-features = false package = "svm-rs-builds" [dependencies.tempfile] version = "3.9" optional = true [dependencies.thiserror] version = "1.0" [dependencies.tokio] version = "1.35" features = ["rt-multi-thread"] optional = true [dependencies.tracing] version = "0.1" [dependencies.walkdir] version = "2.4" [dependencies.yansi] version = "1.0.1" [dev-dependencies.alloy-primitives] version = "0.7" features = [ "serde", "rand", ] [dev-dependencies.criterion] version = "0.5" features = ["async_tokio"] [dev-dependencies.pretty_assertions] version = "1" [dev-dependencies.rand] version = "0.8" [dev-dependencies.serde_path_to_error] version = "0.1" [dev-dependencies.tempfile] version = "3.9" [dev-dependencies.tokio] version = "1.35" features = [ "rt-multi-thread", "macros", ] [dev-dependencies.tracing-subscriber] version = "0.3" features = [ "env-filter", "fmt", ] default-features = false [features] async = [ "dep:futures-util", "dep:tokio", "tokio/fs", "tokio/process", "tokio/io-util", ] default = ["rustls"] full = [ "async", "svm-solc", ] openssl = ["svm?/openssl"] project-util = [ "dep:tempfile", "dep:fs_extra", "dep:rand", ] rustls = ["svm?/rustls"] svm-solc = [ "dep:svm", "dep:svm-builds", "dep:sha2", "dep:tokio", ]