mid-tools 0.0.0

Abstract tools for compiler middle ends
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 = "2024"
name = "mid-tools"
version = "0.0.0"
authors = ["raykast <me@june-s.net>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Abstract tools for compiler middle ends"
readme = false
license = "AGPL-3.0-or-later"
repository = "https://github.com/ray-kast/wi"
resolver = "2"

[features]
proptest = ["dep:proptest"]
test = []

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

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

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

[dependencies.clap]
version = "4.5.51"
features = [
    "env",
    "cargo",
    "derive",
    "wrap_help",
]

[dependencies.hashbrown]
version = "0.16.0"

[dependencies.indexmap]
version = "2.12.0"

[dependencies.proptest]
version = "1.9.0"
optional = true

[dependencies.spin]
version = "0.10.0"

[dependencies.thiserror]
version = "2.0.17"

[dev-dependencies.foldhash]
version = "0.2.0"

[dev-dependencies.proptest]
version = "1.9.0"

[lints.clippy]
clone_on_ref_ptr = "deny"
disallowed_methods = "deny"
missing_errors_doc = "allow"
missing_panics_doc = "allow"

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.clippy.style]
level = "deny"
priority = -1

[lints.clippy.suspicious]
level = "deny"
priority = -1

[lints.rust]
missing_copy_implementations = "deny"
missing_debug_implementations = "deny"

[lints.rustdoc]
broken_intra_doc_links = "deny"