mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-12-27 16:07:46 +00:00
- Discussed in https://github.com/rust-lang/rust-analyzer/issues/21107 - Avoids activating an `attributes` feature to crates that do not use it - Updates the 6 crates that use attributes feature to specify it in their Cargo.toml: {hir,hir-def,hir-ty,ide-assists,ide-db,project-model}
35 lines
605 B
TOML
35 lines
605 B
TOML
[package]
|
|
name = "parser"
|
|
version = "0.0.0"
|
|
repository.workspace = true
|
|
description = "The Rust parser for rust-analyzer."
|
|
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
rust-version.workspace = true
|
|
|
|
[lib]
|
|
doctest = false
|
|
|
|
[dependencies]
|
|
drop_bomb = "0.1.5"
|
|
ra-ap-rustc_lexer.workspace = true
|
|
rustc-literal-escaper.workspace = true
|
|
tracing.workspace = true
|
|
|
|
edition.workspace = true
|
|
winnow = { version = "0.7.13", default-features = false }
|
|
|
|
[dev-dependencies]
|
|
expect-test = "1.5.1"
|
|
|
|
stdx.workspace = true
|
|
|
|
[features]
|
|
default = []
|
|
in-rust-tree = []
|
|
|
|
[lints]
|
|
workspace = true
|