[package]
edition = "2024"
rust-version = "1.91"
name = "ra_ap_project_model"
version = "0.0.331"
authors = ["rust-analyzer team"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A representation for a Cargo project for rust-analyzer."
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-lang/rust-analyzer"
resolver = "2"
[features]
default = []
in-rust-tree = []
[lib]
name = "ra_ap_project_model"
path = "src/lib.rs"
doctest = false
[dependencies.anyhow]
version = "1.0.98"
[dependencies.base-db]
version = "=0.0.331"
package = "ra_ap_base_db"
[dependencies.cargo_metadata]
version = "0.23.0"
[dependencies.cfg]
version = "=0.0.331"
features = [
"tt",
"syntax",
]
package = "ra_ap_cfg"
[dependencies.intern]
version = "=0.0.331"
package = "ra_ap_intern"
[dependencies.itertools]
version = "0.14.0"
[dependencies.la-arena]
version = "0.3.1"
[dependencies.paths]
version = "=0.0.331"
features = ["serde1"]
package = "ra_ap_paths"
[dependencies.rustc-hash]
version = "2.1.1"
[dependencies.semver]
version = "1.0.26"
[dependencies.serde]
version = "1.0.219"
[dependencies.serde_derive]
version = "1.0.219"
[dependencies.serde_json]
version = "1.0.140"
[dependencies.span]
version = "=0.0.331"
package = "ra_ap_span"
[dependencies.stdx]
version = "=0.0.331"
package = "ra_ap_stdx"
[dependencies.temp-dir]
version = "0.1.16"
[dependencies.toml]
version = "0.9.8"
[dependencies.toolchain]
version = "=0.0.331"
package = "ra_ap_toolchain"
[dependencies.tracing]
version = "0.1.41"
features = [
"std",
"attributes",
]
default-features = false
[dependencies.triomphe]
version = "0.1.14"
features = ["std"]
default-features = false
[dev-dependencies.expect-test]
version = "1.5.1"
[lints.clippy]
assigning_clones = "allow"
dbg_macro = "warn"
enum_variant_names = "allow"
len_without_is_empty = "allow"
literal_string_with_formatting_args = "allow"
new_ret_no_self = "allow"
print_stderr = "warn"
print_stdout = "warn"
rc_buffer = "warn"
result_unit_err = "allow"
single_match = "allow"
str_to_string = "warn"
todo = "warn"
too_long_first_doc_paragraph = "allow"
too_many_arguments = "allow"
type_complexity = "allow"
unnecessary_map_or = "allow"
useless_asref = "allow"
vec_init_then_push = "allow"
wrong_self_convention = "allow"
[lints.clippy.complexity]
level = "warn"
priority = -1
[lints.clippy.correctness]
level = "deny"
priority = -1
[lints.clippy.perf]
level = "deny"
priority = -1
[lints.clippy.restriction]
level = "allow"
priority = -1
[lints.clippy.style]
level = "warn"
priority = -1
[lints.clippy.suspicious]
level = "warn"
priority = -1
[lints.rust]
elided_lifetimes_in_paths = "warn"
explicit_outlives_requirements = "warn"
unreachable_pub = "warn"
unsafe_op_in_unsafe_fn = "warn"
unused_extern_crates = "warn"
unused_lifetimes = "warn"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
"cfg(bootstrap)",
"cfg(no_salsa_async_drops)",
]