Skip to content

Commit 9455366

Browse files
Merge pull request #21114 from lmmx/no-unused-tracing-attributes-feat
fix: no unused `tracing/attributes` feature
2 parents da7693b + 2443cce commit 9455366

File tree

8 files changed

+9
-9
lines changed

8 files changed

+9
-9
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ smol_str = "0.3.2"
156156
temp-dir = "0.1.16"
157157
text-size = "1.1.1"
158158
toml = "0.9.8"
159-
tracing = "0.1.41"
159+
tracing = { version = "0.1.41", default-features = false, features = ["std"] }
160160
tracing-tree = "0.4.0"
161161
tracing-subscriber = { version = "0.3.20", default-features = false, features = [
162162
"registry",

crates/hir-def/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ indexmap.workspace = true
2323
itertools.workspace = true
2424
la-arena.workspace = true
2525
rustc-hash.workspace = true
26-
tracing.workspace = true
26+
tracing = { workspace = true, features = ["attributes"] }
2727
smallvec.workspace = true
2828
triomphe.workspace = true
2929
rustc_apfloat = "0.2.3"

crates/hir-ty/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ smallvec.workspace = true
2121
ena = "0.14.3"
2222
either.workspace = true
2323
oorandom = "11.1.5"
24-
tracing.workspace = true
24+
tracing = { workspace = true, features = ["attributes"] }
2525
rustc-hash.workspace = true
2626
scoped-tls = "1.0.1"
2727
la-arena.workspace = true

crates/hir/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ either.workspace = true
1818
arrayvec.workspace = true
1919
itertools.workspace = true
2020
smallvec.workspace = true
21-
tracing.workspace = true
21+
tracing = { workspace = true, features = ["attributes"] }
2222
triomphe.workspace = true
2323
indexmap.workspace = true
2424

crates/ide-assists/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ cov-mark = "2.0.0"
1818
itertools.workspace = true
1919
either.workspace = true
2020
smallvec.workspace = true
21-
tracing.workspace = true
21+
tracing = { workspace = true, features = ["attributes"] }
2222

2323
# local deps
2424
stdx.workspace = true

crates/ide-db/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ doctest = false
1515
[dependencies]
1616
cov-mark = "2.0.0"
1717
crossbeam-channel.workspace = true
18-
tracing.workspace = true
18+
tracing = { workspace = true, features = ["attributes"] }
1919
rayon.workspace = true
2020
fst = { version = "0.4.7", default-features = false }
2121
rustc-hash.workspace = true

crates/parser/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ doctest = false
1616
drop_bomb = "0.1.5"
1717
ra-ap-rustc_lexer.workspace = true
1818
rustc-literal-escaper.workspace = true
19-
tracing = { workspace = true, optional = true }
19+
tracing.workspace = true
2020

2121
edition.workspace = true
2222
winnow = { version = "0.7.13", default-features = false }
@@ -27,7 +27,7 @@ expect-test = "1.5.1"
2727
stdx.workspace = true
2828

2929
[features]
30-
default = ["tracing"]
30+
default = []
3131
in-rust-tree = []
3232

3333
[lints]

crates/project-model/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ serde.workspace = true
2222
serde_derive.workspace = true
2323
temp-dir.workspace = true
2424
toml.workspace = true
25-
tracing.workspace = true
25+
tracing = { workspace = true, features = ["attributes"] }
2626
triomphe.workspace = true
2727
la-arena.workspace = true
2828
itertools.workspace = true

0 commit comments

Comments
 (0)