# 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.21.1"
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"

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

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

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

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

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

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

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

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

[[test]]
name = "reference_locations"
path = "tests/reference_locations.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"

[[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.blake3]
version = "1"

[dependencies.bumpalo]
version = "3"
features = ["collections"]

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

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

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

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

[dependencies.parking_lot]
version = "0.12"

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

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

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

[dependencies.rayon]
version = "1"

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

[dependencies.salsa]
version = "0.26.2"

[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.mir-issues]
version = "0.21.1"

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

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