[package]
name = "hir-ty"
version = "0.0.0"
repository.workspace = true
description = "The type system for rust-analyzer."

authors.workspace = true
edition.workspace = true
license.workspace = true
rust-version.workspace = true

[lib]
doctest = false

[dependencies]
cov-mark = "2.0.0"
itertools.workspace = true
arrayvec.workspace = true
smallvec.workspace = true
ena = "0.14.3"
serde.workspace = true
serde_derive.workspace = true
either.workspace = true
oorandom = "11.1.5"
tracing = { workspace = true, features = ["attributes"] }
rustc-hash.workspace = true
la-arena.workspace = true
triomphe.workspace = true
typed-arena = "2.0.2"
indexmap.workspace = true
rustc_apfloat = "0.2.3"
query-group.workspace = true
salsa.workspace = true
salsa-macros.workspace = true
petgraph.workspace = true
bitflags.workspace = true

ra-ap-rustc_abi.workspace = true
ra-ap-rustc_index.workspace = true
ra-ap-rustc_pattern_analysis.workspace = true
ra-ap-rustc_ast_ir.workspace = true
ra-ap-rustc_type_ir.workspace = true
ra-ap-rustc_next_trait_solver.workspace = true

# These moved to dev deps if `setup_tracing` was a macro and dependents also
# included these
tracing-subscriber.workspace = true
tracing-tree.workspace = true

# local deps
stdx.workspace = true
macros.workspace = true
intern.workspace = true
hir-def.workspace = true
hir-expand.workspace = true
base-db.workspace = true
syntax.workspace = true
span.workspace = true
thin-vec = "0.2.16"

[dev-dependencies]
expect-test = "1.5.1"
project-model.workspace = true

# local deps
test-utils.workspace = true
test-fixture.workspace = true

[features]
in-rust-tree = ["hir-expand/in-rust-tree"]

[lints]
workspace = true
