fallow-core 1.1.0

Core analysis engine for the fallow dead code analyzer
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 = "fallow-core"
version = "1.1.0"
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"

[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.fallow-config]
version = "1.1.0"

[dependencies.fallow-extract]
version = "1.1.0"

[dependencies.fallow-graph]
version = "1.1.0"

[dependencies.fallow-types]
version = "1.1.0"

[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.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"
clone_on_ref_ptr = "warn"
dbg_macro = "warn"
doc_markdown = "allow"
empty_drop = "warn"
empty_structs_with_brackets = "warn"
exit = "warn"
fallible_impl_from = "allow"
fn_params_excessive_bools = "allow"
get_unwrap = "warn"
if_not_else = "allow"
infinite_loop = "warn"
items_after_statements = "allow"
missing_const_for_fn = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"
option_if_let_else = "allow"
pathbuf_init_then_push = "warn"
print_stderr = "warn"
print_stdout = "warn"
rc_buffer = "warn"
rc_mutex = "warn"
redundant_closure_for_method_calls = "allow"
self_named_module_files = "warn"
similar_names = "allow"
single_match_else = "allow"
struct_excessive_bools = "allow"
todo = "warn"
too_long_first_doc_paragraph = "allow"
too_many_lines = "allow"
undocumented_unsafe_blocks = "warn"
unnecessary_safety_comment = "warn"
unnested_or_patterns = "allow"
unused_result_ok = "warn"
use_self = "allow"
wildcard_imports = "allow"

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

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

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

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

[lints.rust]
non_ascii_idents = "warn"
unsafe_code = "warn"
unsafe_op_in_unsafe_fn = "warn"
unused_unsafe = "warn"