# 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 = "2024"
name = "eqmap"
version = "0.9.6"
build = false
include = [
    "Cargo.toml",
    "clippy.toml",
    "LICENSE",
    "README.md",
    "src/**/*.rs",
    "rules/*.celllang",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "eqmap_fpga"
description = "EqMap: Technology Mapping w/ E-Graphs"
homepage = "https://cornell-zhang.github.io/eqmap/"
documentation = "https://cornell-zhang.github.io/eqmap/"
readme = "README.md"
keywords = [
    "data-structures",
    "eda",
    "netlist",
    "circuits",
    "hardware",
]
categories = [
    "data-structures",
    "compilers",
    "science",
]
license = "Apache-2.0"
repository = "https://github.com/cornell-zhang/eqmap"

[features]
cut_analysis = []
default = ["dyn_decomp"]
dyn_decomp = ["cut_analysis"]
egraph_fold = []
exact_cbc = [
    "egg/lp",
    "good_lp/coin_cbc",
]
exact_highs = [
    "egg/lp",
    "good_lp/highs",
]
graph_dumps = []

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

[[bin]]
name = "emit-verilog"
path = "src/bin/emit-verilog.rs"

[[bin]]
name = "eqmap_asic"
path = "src/bin/eqmap_asic.rs"

[[bin]]
name = "eqmap_fpga"
path = "src/bin/eqmap_fpga.rs"

[[bin]]
name = "nl_opt"
path = "src/bin/nl_opt.rs"

[[bin]]
name = "opt"
path = "src/bin/opt.rs"

[[bin]]
name = "optcell"
path = "src/bin/optcell.rs"

[[bin]]
name = "parse-verilog"
path = "src/bin/parse-verilog.rs"

[dependencies.bitvec]
version = "1.0.1"

[dependencies.clap]
version = "4.5.53"
features = ["derive"]

[dependencies.ctrlc]
version = "3.5.1"

[dependencies.egg]
version = "0.11.0"

[dependencies.good_lp]
version = "1.14.2"
optional = true

[dependencies.indicatif]
version = "0.18.3"

[dependencies.log]
version = "0.4.29"

[dependencies.nl-compiler]
version = "0.1.19"

[dependencies.rand]
version = "0.10.1"

[dependencies.safety-net]
version = "0.7.0"
features = ["graph"]

[dependencies.safety-pass]
version = "0.4.1"
features = ["id"]

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

[dependencies.serde_json]
version = "1.0.145"

[dependencies.simplelog]
version = "0.12.2"

[dependencies.sv-parser]
version = "0.13.4"

[dependencies.thiserror]
version = "2.0.16"

[dependencies.toml]
version = "0.9.11"

[lints.clippy]
manual_range_contains = "allow"
