[package]
edition = "2024"
name = "fallow-core"
version = "1.0.3"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core analysis engine for the fallow dead code analyzer"
homepage = "https://fallow.tools"
documentation = "https://docs.fallow.tools"
readme = "README.md"
keywords = [
"dead-code",
"javascript",
"typescript",
"lint",
"static-analysis",
]
categories = [
"command-line-utilities",
"development-tools",
]
license = "MIT"
repository = "https://github.com/fallow-rs/fallow"
resolver = "2"
[lib]
name = "fallow_core"
path = "src/lib.rs"
[[test]]
name = "dupes_profile"
path = "tests/dupes_profile.rs"
[[test]]
name = "dupes_stress_test"
path = "tests/dupes_stress_test.rs"
[[test]]
name = "integration_test"
path = "tests/integration_test.rs"
[[bench]]
name = "allocations"
path = "benches/allocations.rs"
harness = false
[[bench]]
name = "analysis"
path = "benches/analysis.rs"
harness = false
[[bench]]
name = "helpers"
path = "benches/helpers.rs"
[[bench]]
name = "large_analysis"
path = "benches/large_analysis.rs"
harness = false
[dependencies.bincode]
version = "2"
[dependencies.fallow-config]
version = "1.0.3"
[dependencies.fallow-extract]
version = "1.0.3"
[dependencies.fallow-graph]
version = "1.0.3"
[dependencies.fallow-types]
version = "1.0.3"
[dependencies.glob]
version = "0.3"
[dependencies.globset]
version = "0.4"
features = ["serde1"]
[dependencies.ignore]
version = "0.4"
[dependencies.indicatif]
version = "0.18"
[dependencies.oxc_allocator]
version = "0.120"
[dependencies.oxc_ast]
version = "0.120"
[dependencies.oxc_ast_visit]
version = "0.120"
[dependencies.oxc_parser]
version = "0.120"
[dependencies.oxc_span]
version = "0.120"
[dependencies.oxc_syntax]
version = "0.120"
[dependencies.rayon]
version = "1"
[dependencies.regex]
version = "1"
[dependencies.rustc-hash]
version = "2"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.tracing]
version = "0.1"
[dependencies.xxhash-rust]
version = "0.8"
features = ["xxh3"]
[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]
[dev-dependencies.dhat]
version = "0.3"
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.toml]
version = "1.0"
[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
[lints.clippy]
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
cognitive_complexity = "warn"
dbg_macro = "warn"
if_not_else = "allow"
items_after_statements = "allow"
missing_const_for_fn = "warn"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
option_if_let_else = "warn"
print_stderr = "warn"
print_stdout = "warn"
redundant_closure_for_method_calls = "allow"
redundant_pub_crate = "warn"
similar_names = "allow"
single_match_else = "allow"
todo = "warn"
too_many_lines = "allow"
unnecessary_fallible_conversions = "warn"
unnested_or_patterns = "allow"
use_self = "warn"
wildcard_imports = "allow"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "warn"