mir-analyzer 0.56.0

Analysis engine for the mir PHP static 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 = "2021"
name = "mir-analyzer"
version = "0.56.0"
authors = ["Jorg Sowa <jorg.sowa@gmail.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Analysis engine for the mir PHP static analyzer"
homepage = "https://github.com/jorgsowa/mir"
readme = false
license = "MIT"
repository = "https://github.com/jorgsowa/mir"

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

[[example]]
name = "fileanalyzer_retry_bench"
path = "examples/fileanalyzer_retry_bench.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.bincode]
version = "1"

[dependencies.blake3]
version = "1"

[dependencies.dashmap]
version = "6"

[dependencies.indexmap]
version = "2"
features = ["serde"]

[dependencies.mir-codebase]
version = "0.56.0"

[dependencies.mir-issues]
version = "0.56.0"

[dependencies.mir-types]
version = "0.56.0"

[dependencies.parking_lot]
version = "0.12"

[dependencies.php-ast]
version = "0.18.1"

[dependencies.php-lexer]
version = "0.18.1"

[dependencies.php-rs-parser]
version = "0.18.1"

[dependencies.phpdoc-parser]
version = "0.18.2"

[dependencies.quick-xml]
version = "0.41"

[dependencies.rayon]
version = "1"

[dependencies.rustc-hash]
version = "2"

[dependencies.salsa]
version = "0.27.0"

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

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

[dev-dependencies.mimalloc]
version = "0.1"
default-features = false

[dev-dependencies.mir-issues]
version = "0.56.0"

[dev-dependencies.tempfile]
version = "3.27.0"

[build-dependencies.rayon]
version = "1"