foundry-compilers-core 0.19.14

Core utilities for foundry-compilers crates
Documentation
# 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.88"
name = "foundry-compilers-core"
version = "0.19.14"
authors = ["Foundry Maintainers"]
build = false
exclude = [
    ".github/",
    "scripts/",
    "test-data/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core utilities for foundry-compilers crates"
homepage = "https://github.com/foundry-rs/compilers"
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/foundry-rs/compilers"

[features]
async = ["dep:tokio"]
hasher = ["dep:xxhash-rust"]
project-util = [
    "dep:tempfile",
    "dep:fs_extra",
]
regex = ["dep:regex"]
svm-solc = [
    "dep:svm",
    "dep:tokio",
]
test-utils = ["dep:tempfile"]
walkdir = ["dep:walkdir"]

[lib]
name = "foundry_compilers_core"
path = "src/lib.rs"

[dependencies.alloy-primitives]
version = "1.3"
features = [
    "serde",
    "rand",
]

[dependencies.cfg-if]
version = "1.0"

[dependencies.dunce]
version = "1.0"

[dependencies.fs_extra]
version = "1.3"
optional = true

[dependencies.regex]
version = "1.11"
optional = true

[dependencies.semver]
version = "1.0"
features = ["serde"]

[dependencies.serde]
version = "1"
features = [
    "derive",
    "rc",
]

[dependencies.serde_json]
version = "1.0"

[dependencies.svm]
version = "0.5"
optional = true
default-features = false
package = "svm-rs"

[dependencies.tempfile]
version = "3.20"
optional = true

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1.47"
features = ["rt-multi-thread"]
optional = true

[dependencies.walkdir]
version = "2.5"
optional = true

[dependencies.xxhash-rust]
version = "0.8"
features = ["xxh3"]
optional = true
default-features = false

[dev-dependencies.tempfile]
version = "3.20"

[target."cfg(windows)".dependencies.path-slash]
version = "0.2"

[lints.clippy]
dbg-macro = "warn"
large-enum-variant = "allow"
manual-string-new = "warn"
redundant-clone = "warn"
result-large-err = "allow"
uninlined-format-args = "warn"
use-self = "warn"

[lints.rust]
redundant-lifetimes = "warn"
rust-2018-idioms = "warn"
unused-must-use = "warn"

[lints.rustdoc]
all = "warn"