# 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 = "react-auditor"
version = "0.1.9"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "react-auditor"
description = "A blazing-fast Rust CLI to scan JS/TS/React code for best practices, quality, and security issues."
readme = "README.md"
license = "MIT"

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

[[bin]]
name = "react-auditor"
path = "src/main.rs"

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

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

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

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

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

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

[dependencies.anyhow]
version = "1"

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

[dependencies.colored]
version = "3"

[dependencies.globset]
version = "0.4"

[dependencies.ignore]
version = "0.4.27"

[dependencies.indicatif]
version = "0.18.6"

[dependencies.notify]
version = "8"

[dependencies.oxc_allocator]
version = "0.138"

[dependencies.oxc_ast]
version = "0.138"

[dependencies.oxc_ast_visit]
version = "0.138"

[dependencies.oxc_parser]
version = "0.138"

[dependencies.oxc_semantic]
version = "0.138"

[dependencies.oxc_span]
version = "0.138"

[dependencies.oxc_syntax]
version = "0.138"

[dependencies.rayon]
version = "1"

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

[dependencies.serde_json]
version = "1"

[dependencies.termcolor]
version = "1.4"

[dependencies.thiserror]
version = "2"

[dependencies.toml]
version = "1.1"

[dependencies.walkdir]
version = "2"

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

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