# 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 = "rapx"
version = "0.6.251"
authors = ["Artisan-Lab <xuh@fudan.edu.cn>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "rapx"
description = "A static analysis platform for use-after-free, memory leakage detection, etc"
documentation = "https://artisan-lab.github.io/RAPx-Book/"
readme = "README.md"
license = "MPL-2.0"
repository = "https://github.com/Artisan-Lab/RAPx"

[package.metadata.rust-analyzer]
rustc_private = true

[features]
backtraces = [
    "snafu/backtraces",
    "snafu/backtraces-impl-backtrace-crate",
]

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

[[bin]]
name = "cargo-rapx"
path = "src/bin/cargo-rapx/main.rs"

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

[[test]]
name = "tests"
path = "tests/tests.rs"

[dependencies.annotate-snippets]
version = "0.11.4"

[dependencies.cargo_metadata]
version = "0.18"

[dependencies.chrono]
version = "0.4.19"

[dependencies.colorful]
version = "0.2.1"

[dependencies.fern]
version = "0.6.2"
features = ["colored"]

[dependencies.if_chain]
version = "1.0"

[dependencies.intervals]
version = "2.1"

[dependencies.itertools]
version = "0.14.0"

[dependencies.lazy_static]
version = "1.4"

[dependencies.log]
version = "0.4.14"

[dependencies.num-traits]
version = "0.2.19"

[dependencies.once_cell]
version = "1.20.1"

[dependencies.petgraph]
version = "0.8.1"

[dependencies.rand]
version = "0.9.0"

[dependencies.regex]
version = "1.11.1"

[dependencies.rust_intervals]
version = "0.3.0"

[dependencies.rustc-demangle]
version = "0.1.21"

[dependencies.safety-parser]
version = "0.4.1"

[dependencies.serde]
version = "1.0.215"

[dependencies.serde_json]
version = "1.0.72"

[dependencies.snafu]
version = "0.7.0"

[dependencies.syn]
version = "2"
features = [
    "extra-traits",
    "full",
]

[dependencies.toml]
version = "0.8.23"

[dependencies.wait-timeout]
version = "0.2.0"

[dependencies.walkdir]
version = "2"

[dependencies.z3]
version = "0.13.3"
