resolc 1.1.0

Solidity frontend for the revive compiler
# 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 = "resolc"
version = "1.1.0"
authors = [
    "Oleksandr Zarudnyi <a.zarudnyy@matterlabs.dev>",
    "Cyrill Leutwiler <cyrill@parity.io>",
]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Solidity frontend for the revive compiler"
readme = false
license = "MIT/Apache-2.0"
repository = "https://github.com/paritytech/revive"

[features]
default = ["parallel"]
parallel = [
    "rayon",
    "revive-solc-json-interface/parallel",
]

[lib]
name = "resolc"
path = "src/lib.rs"
doctest = false

[[bin]]
name = "resolc"
path = "src/resolc/main.rs"

[[bench]]
name = "compile"
path = "benches/compile.rs"
harness = false

[dependencies.anyhow]
version = "1.0"

[dependencies.clap]
version = "4"
features = ["derive"]
default-features = false

[dependencies.hex]
version = "0.4.3"

[dependencies.inkwell]
version = "0.9.0"
features = [
    "serde",
    "llvm21-1",
    "no-libffi-linking",
    "target-riscv",
]
default-features = false

[dependencies.log]
version = "0.4.28"

[dependencies.normpath]
version = "1.5"

[dependencies.path-slash]
version = "0.2"

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

[dependencies.revive-common]
version = "1.0.0"

[dependencies.revive-llvm-context]
version = "1.1.0"

[dependencies.revive-solc-json-interface]
version = "1.0.0"
features = ["resolc"]
default-features = false

[dependencies.revive-yul]
version = "1.1.0"

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

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

[dependencies.serde_json]
version = "1.0"
features = ["arbitrary_precision"]

[dependencies.which]
version = "8.0"

[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]

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

[build-dependencies.git2]
version = "0.20.4"
default-features = false

[target.'cfg(target_env = "musl")'.dependencies.mimalloc]
version = "0.1.46"
default-features = false

[target.'cfg(target_os = "emscripten")'.dependencies.inkwell]
version = "0.9.0"
features = [
    "serde",
    "llvm21-1",
    "no-libffi-linking",
    "target-riscv",
    "target-riscv",
    "llvm21-1-no-llvm-linking",
]
default-features = false

[target.'cfg(target_os = "emscripten")'.dependencies.libc]
version = "0.2.172"