Skip to content

Commit 8e8dd82

Browse files
committed
Restrict sysroot crate imports to those defined in this repo.
It's common to import dependencies from the sysroot via `extern crate` rather than use an explicit cargo dependency, when it's necessary to use the same dependency version as used by rustc itself. However, this is dangerous for crates.io crates, since rustc may not pull in the dependency on some targets, or may pull in multiple versions. In both cases, the `extern crate` fails to resolve. To address this, re-export all such dependencies from the appropriate `rustc_*` crates, and use this alias from crates which would otherwise need to use `extern crate`. Also use workspace dependencies for such crates so that only one version can exist within the sysroot (since otherwise it is meaningless to try to match the rustc version).
1 parent de031bb commit 8e8dd82

File tree

108 files changed

+216
-258
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

108 files changed

+216
-258
lines changed

Cargo.toml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,17 @@ exclude = [
6060
"obj",
6161
]
6262

63+
[workspace.dependencies]
64+
# These dependencies are either explicitly part of rustc's public interface, or
65+
# are "singleton" crates that we want to only appear once in the dependency graph.
66+
either = "1.5"
67+
smallvec = { version = "1.8.1", features = ["const_generics", "union", "may_dangle"] }
68+
indexmap = "2.4"
69+
tracing = "0.1.28"
70+
tracing-subscriber = { version = "0.3.3", default-features = false, features = ["fmt", "env-filter", "smallvec", "parking_lot", "ansi"] }
71+
pulldown-cmark = { version = "0.11", features = ["html"], default-features = false }
72+
thin-vec = "0.2.12"
73+
6374
[profile.release.package.rustc_thread_pool]
6475
# The rustc fork of Rayon has deadlock detection code which intermittently
6576
# causes overflows in the CI (see https://github.com/rust-lang/rust/issues/90227)

compiler/rustc_abi/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ rustc_index = { path = "../rustc_index", default-features = false }
1414
rustc_macros = { path = "../rustc_macros", optional = true }
1515
rustc_serialize = { path = "../rustc_serialize", optional = true }
1616
rustc_span = { path = "../rustc_span", optional = true }
17-
tracing = "0.1"
17+
tracing = { workspace = true }
1818
# tidy-alphabetical-end
1919

2020
[features]

compiler/rustc_arena/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ edition = "2024"
55

66
[dependencies]
77
# tidy-alphabetical-start
8-
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
8+
smallvec = { workspace = true }
99
# tidy-alphabetical-end

compiler/rustc_ast/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ rustc_index = { path = "../rustc_index" }
1414
rustc_macros = { path = "../rustc_macros" }
1515
rustc_serialize = { path = "../rustc_serialize" }
1616
rustc_span = { path = "../rustc_span" }
17-
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
18-
thin-vec = "0.2.12"
19-
tracing = "0.1"
17+
smallvec = { workspace = true }
18+
thin-vec = { workspace = true }
19+
tracing = { workspace = true }
2020
# tidy-alphabetical-end

compiler/rustc_ast_lowering/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ rustc_middle = { path = "../rustc_middle" }
2424
rustc_session = { path = "../rustc_session" }
2525
rustc_span = { path = "../rustc_span" }
2626
rustc_target = { path = "../rustc_target" }
27-
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
28-
thin-vec = "0.2.12"
29-
tracing = "0.1"
27+
smallvec = { workspace = true }
28+
thin-vec = { workspace = true }
29+
tracing = { workspace = true }
3030
# tidy-alphabetical-end

compiler/rustc_ast_passes/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ rustc_parse = { path = "../rustc_parse" }
1919
rustc_session = { path = "../rustc_session" }
2020
rustc_span = { path = "../rustc_span" }
2121
rustc_target = { path = "../rustc_target" }
22-
thin-vec = "0.2.12"
22+
thin-vec = { workspace = true }
2323
# tidy-alphabetical-end

compiler/rustc_ast_pretty/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ rustc_span = { path = "../rustc_span" }
1313

1414
[dev-dependencies]
1515
# tidy-alphabetical-start
16-
thin-vec = "0.2.12"
16+
thin-vec = { workspace = true }
1717
# tidy-alphabetical-end

compiler/rustc_attr_data_structures/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ rustc_data_structures = {path = "../rustc_data_structures"}
1212
rustc_macros = {path = "../rustc_macros"}
1313
rustc_serialize = {path = "../rustc_serialize"}
1414
rustc_span = {path = "../rustc_span"}
15-
thin-vec = "0.2.12"
15+
thin-vec = { workspace = true }
1616
# tidy-alphabetical-end

compiler/rustc_attr_parsing/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ rustc_lexer = { path = "../rustc_lexer" }
1717
rustc_macros = { path = "../rustc_macros" }
1818
rustc_session = { path = "../rustc_session" }
1919
rustc_span = { path = "../rustc_span" }
20-
thin-vec = "0.2.12"
20+
thin-vec = { workspace = true }
2121
# tidy-alphabetical-end

compiler/rustc_borrowck/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ edition = "2024"
55

66
[dependencies]
77
# tidy-alphabetical-start
8-
either = "1.5.0"
8+
either = { workspace = true }
99
itertools = "0.12"
1010
polonius-engine = "0.13.0"
1111
rustc_abi = { path = "../rustc_abi" }
@@ -24,6 +24,6 @@ rustc_session = { path = "../rustc_session" }
2424
rustc_span = { path = "../rustc_span" }
2525
rustc_trait_selection = { path = "../rustc_trait_selection" }
2626
rustc_traits = { path = "../rustc_traits" }
27-
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
28-
tracing = "0.1"
27+
smallvec = { workspace = true }
28+
tracing = { workspace = true }
2929
# tidy-alphabetical-end

compiler/rustc_builtin_macros/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ rustc_proc_macro = { path = "../rustc_proc_macro" }
3030
rustc_session = { path = "../rustc_session" }
3131
rustc_span = { path = "../rustc_span" }
3232
rustc_target = { path = "../rustc_target" }
33-
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
34-
thin-vec = "0.2.12"
35-
tracing = "0.1"
33+
smallvec = { workspace = true }
34+
thin-vec = { workspace = true }
35+
tracing = { workspace = true }
3636
# tidy-alphabetical-end

compiler/rustc_codegen_cranelift/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,12 @@ extern crate rustc_fs_util;
2626
extern crate rustc_hir;
2727
extern crate rustc_incremental;
2828
extern crate rustc_index;
29+
extern crate rustc_log;
2930
extern crate rustc_metadata;
3031
extern crate rustc_session;
3132
extern crate rustc_span;
3233
extern crate rustc_symbol_mangling;
3334
extern crate rustc_target;
34-
#[macro_use]
35-
extern crate tracing;
3635

3736
// This prevents duplicating functions and statics that are already part of the host rustc process.
3837
#[allow(unused_extern_crates)]
@@ -46,6 +45,7 @@ use cranelift_codegen::isa::TargetIsa;
4645
use cranelift_codegen::settings::{self, Configurable};
4746
use rustc_codegen_ssa::traits::CodegenBackend;
4847
use rustc_codegen_ssa::{CodegenResults, TargetConfig};
48+
use rustc_log::tracing::info;
4949
use rustc_middle::dep_graph::{WorkProduct, WorkProductId};
5050
use rustc_session::Session;
5151
use rustc_session::config::OutputFilenames;

compiler/rustc_codegen_gcc/src/back/lto.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ use rustc_codegen_ssa::{ModuleCodegen, ModuleKind, looks_like_rust_object_file};
3232
use rustc_data_structures::memmap::Mmap;
3333
use rustc_errors::{DiagCtxtHandle, FatalError};
3434
use rustc_hir::def_id::LOCAL_CRATE;
35+
use rustc_log::tracing::info;
3536
use rustc_middle::bug;
3637
use rustc_middle::dep_graph::WorkProduct;
3738
use rustc_middle::middle::exported_symbols::{SymbolExportInfo, SymbolExportLevel};

compiler/rustc_codegen_gcc/src/back/write.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ use rustc_codegen_ssa::back::write::{BitcodeSection, CodegenContext, EmitObj, Mo
66
use rustc_codegen_ssa::{CompiledModule, ModuleCodegen};
77
use rustc_errors::DiagCtxtHandle;
88
use rustc_fs_util::link_or_copy;
9+
use rustc_log::tracing::debug;
910
use rustc_session::config::OutputType;
1011
use rustc_span::fatal_error::FatalError;
1112
use rustc_target::spec::SplitDebuginfo;

compiler/rustc_codegen_gcc/src/consts.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ use rustc_codegen_ssa::traits::{
66
BaseTypeCodegenMethods, ConstCodegenMethods, StaticCodegenMethods,
77
};
88
use rustc_hir::def::DefKind;
9+
use rustc_log::tracing::trace;
910
use rustc_middle::middle::codegen_fn_attrs::{CodegenFnAttrFlags, CodegenFnAttrs};
1011
use rustc_middle::mir::interpret::{
1112
self, ConstAllocation, ErrorHandled, Scalar as InterpScalar, read_target_uint,

compiler/rustc_codegen_gcc/src/gcc_util.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#[cfg(feature = "master")]
22
use gccjit::Context;
33
use rustc_codegen_ssa::target_features;
4+
use rustc_data_structures::smallvec::{SmallVec, smallvec};
45
use rustc_session::Session;
5-
use smallvec::{SmallVec, smallvec};
66

77
fn gcc_features_by_flags(sess: &Session, features: &mut Vec<String>) {
88
target_features::retpoline_features_by_flags(sess, features);

compiler/rustc_codegen_gcc/src/lib.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,6 @@
2626
#![deny(clippy::pattern_type_mismatch)]
2727
#![allow(clippy::needless_lifetimes, clippy::uninlined_format_args)]
2828

29-
// These crates are pulled from the sysroot because they are part of
30-
// rustc's public API, so we need to ensure version compatibility.
31-
extern crate smallvec;
32-
#[macro_use]
33-
extern crate tracing;
34-
3529
// The rustc crates we need
3630
extern crate rustc_abi;
3731
extern crate rustc_apfloat;
@@ -46,6 +40,7 @@ extern crate rustc_hir;
4640
extern crate rustc_index;
4741
#[cfg(feature = "master")]
4842
extern crate rustc_interface;
43+
extern crate rustc_log;
4944
extern crate rustc_macros;
5045
extern crate rustc_middle;
5146
extern crate rustc_session;

compiler/rustc_codegen_llvm/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@ rustc_symbol_mangling = { path = "../rustc_symbol_mangling" }
4040
rustc_target = { path = "../rustc_target" }
4141
serde = { version = "1", features = [ "derive" ]}
4242
serde_json = "1"
43-
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
44-
tracing = "0.1"
43+
smallvec = { workspace = true }
44+
tracing = { workspace = true }
4545
# tidy-alphabetical-end

compiler/rustc_codegen_ssa/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ rustc_symbol_mangling = { path = "../rustc_symbol_mangling" }
3838
rustc_target = { path = "../rustc_target" }
3939
rustc_trait_selection = { path = "../rustc_trait_selection" }
4040
serde_json = "1.0.59"
41-
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
41+
smallvec = { workspace = true }
4242
tempfile = "3.2"
43-
thin-vec = "0.2.12"
43+
thin-vec = { workspace = true }
4444
thorin-dwp = "0.9"
45-
tracing = "0.1"
45+
tracing = { workspace = true }
4646
wasm-encoder = "0.219"
4747
# tidy-alphabetical-end
4848

compiler/rustc_const_eval/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ edition = "2024"
55

66
[dependencies]
77
# tidy-alphabetical-start
8-
either = "1"
8+
either = { workspace = true }
99
rustc_abi = { path = "../rustc_abi" }
1010
rustc_apfloat = "0.2.0"
1111
rustc_ast = { path = "../rustc_ast" }
@@ -23,5 +23,5 @@ rustc_session = { path = "../rustc_session" }
2323
rustc_span = { path = "../rustc_span" }
2424
rustc_target = { path = "../rustc_target" }
2525
rustc_trait_selection = { path = "../rustc_trait_selection" }
26-
tracing = "0.1"
26+
tracing = { workspace = true }
2727
# tidy-alphabetical-end

compiler/rustc_data_structures/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ edition = "2024"
77
# tidy-alphabetical-start
88
arrayvec = { version = "0.7", default-features = false }
99
bitflags = "2.4.1"
10-
either = "1.0"
10+
either = { workspace = true }
1111
elsa = "1.11.0"
1212
ena = "0.14.3"
13-
indexmap = "2.4.0"
13+
indexmap = { workspace = true }
1414
jobserver_crate = { version = "0.1.28", package = "jobserver" }
1515
measureme = "12.0.1"
1616
rustc-hash = "2.0.0"
@@ -22,11 +22,11 @@ rustc_index = { path = "../rustc_index", package = "rustc_index" }
2222
rustc_macros = { path = "../rustc_macros" }
2323
rustc_serialize = { path = "../rustc_serialize" }
2424
rustc_thread_pool = { path = "../rustc_thread_pool" }
25-
smallvec = { version = "1.8.1", features = ["const_generics", "union", "may_dangle"] }
25+
smallvec = { workspace = true }
2626
stacker = "0.1.17"
2727
tempfile = "3.2"
28-
thin-vec = "0.2.12"
29-
tracing = "0.1"
28+
thin-vec = { workspace = true }
29+
tracing = { workspace = true }
3030
# tidy-alphabetical-end
3131

3232
[dependencies.hashbrown]

compiler/rustc_data_structures/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ use std::fmt;
4343
pub use atomic_ref::AtomicRef;
4444
pub use ena::{snapshot_vec, undo_log, unify};
4545
pub use rustc_index::static_assert_size;
46+
pub use {either, indexmap, smallvec, thin_vec};
4647

4748
pub mod aligned;
4849
pub mod base_n;

compiler/rustc_driver_impl/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ rustc_ty_utils = { path = "../rustc_ty_utils" }
5151
serde_json = "1.0.59"
5252
shlex = "1.0"
5353
stable_mir = { path = "../stable_mir", features = ["rustc_internal"] }
54-
tracing = { version = "0.1.35" }
54+
tracing = { workspace = true }
5555
# tidy-alphabetical-end
5656

5757
[target.'cfg(all(unix, any(target_env = "gnu", target_os = "macos")))'.dependencies]

compiler/rustc_error_messages/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ rustc_data_structures = { path = "../rustc_data_structures" }
1616
rustc_macros = { path = "../rustc_macros" }
1717
rustc_serialize = { path = "../rustc_serialize" }
1818
rustc_span = { path = "../rustc_span" }
19-
tracing = "0.1"
19+
tracing = { workspace = true }
2020
unic-langid = { version = "0.9.0", features = ["macros"] }
2121
# tidy-alphabetical-end

compiler/rustc_errors/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ serde = { version = "1.0.125", features = [ "derive" ] }
2929
serde_json = "1.0.59"
3030
termcolor = "1.2.0"
3131
termize = "0.2"
32-
tracing = "0.1"
32+
tracing = { workspace = true }
3333
# tidy-alphabetical-end
3434

3535
[target.'cfg(windows)'.dependencies.windows]

compiler/rustc_expand/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ rustc_proc_macro = { path = "../rustc_proc_macro" }
2929
rustc_serialize = { path = "../rustc_serialize" }
3030
rustc_session = { path = "../rustc_session" }
3131
rustc_span = { path = "../rustc_span" }
32-
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
33-
thin-vec = "0.2.12"
34-
tracing = "0.1"
32+
smallvec = { workspace = true }
33+
thin-vec = { workspace = true }
34+
tracing = { workspace = true }
3535
# tidy-alphabetical-end

compiler/rustc_hir/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ rustc_macros = { path = "../rustc_macros" }
1717
rustc_serialize = { path = "../rustc_serialize" }
1818
rustc_span = { path = "../rustc_span" }
1919
rustc_target = { path = "../rustc_target" }
20-
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
21-
thin-vec = "0.2.12"
22-
tracing = "0.1"
20+
smallvec = { workspace = true }
21+
thin-vec = { workspace = true }
22+
tracing = { workspace = true }
2323
# tidy-alphabetical-end

compiler/rustc_hir_analysis/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ rustc_session = { path = "../rustc_session" }
2929
rustc_span = { path = "../rustc_span" }
3030
rustc_target = { path = "../rustc_target" }
3131
rustc_trait_selection = { path = "../rustc_trait_selection" }
32-
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
33-
tracing = "0.1"
32+
smallvec = { workspace = true }
33+
tracing = { workspace = true }
3434
# tidy-alphabetical-end

compiler/rustc_hir_typeck/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ rustc_session = { path = "../rustc_session" }
2525
rustc_span = { path = "../rustc_span" }
2626
rustc_target = { path = "../rustc_target" }
2727
rustc_trait_selection = { path = "../rustc_trait_selection" }
28-
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
29-
tracing = "0.1"
28+
smallvec = { workspace = true }
29+
tracing = { workspace = true }
3030
# tidy-alphabetical-end

compiler/rustc_incremental/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ rustc_middle = { path = "../rustc_middle" }
1919
rustc_serialize = { path = "../rustc_serialize" }
2020
rustc_session = { path = "../rustc_session" }
2121
rustc_span = { path = "../rustc_span" }
22-
thin-vec = "0.2.12"
23-
tracing = "0.1"
22+
thin-vec = { workspace = true }
23+
tracing = { workspace = true }
2424
# tidy-alphabetical-end

compiler/rustc_index/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ edition = "2024"
88
rustc_index_macros = { path = "../rustc_index_macros" }
99
rustc_macros = { path = "../rustc_macros", optional = true }
1010
rustc_serialize = { path = "../rustc_serialize", optional = true }
11-
smallvec = "1.8.1"
11+
smallvec = { workspace = true }
1212
# tidy-alphabetical-end
1313

1414
[features]

compiler/rustc_infer/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ rustc_macros = { path = "../rustc_macros" }
1717
rustc_middle = { path = "../rustc_middle" }
1818
rustc_span = { path = "../rustc_span" }
1919
rustc_type_ir = { path = "../rustc_type_ir" }
20-
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
21-
thin-vec = "0.2.12"
22-
tracing = "0.1"
20+
smallvec = { workspace = true }
21+
thin-vec = { workspace = true }
22+
tracing = { workspace = true }
2323
# tidy-alphabetical-end

compiler/rustc_interface/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ rustc_thread_pool = { path = "../rustc_thread_pool" }
4646
rustc_trait_selection = { path = "../rustc_trait_selection" }
4747
rustc_traits = { path = "../rustc_traits" }
4848
rustc_ty_utils = { path = "../rustc_ty_utils" }
49-
tracing = "0.1"
49+
tracing = { workspace = true }
5050
# tidy-alphabetical-end
5151

5252
[dev-dependencies]

compiler/rustc_lint/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ rustc_session = { path = "../rustc_session" }
2424
rustc_span = { path = "../rustc_span" }
2525
rustc_target = { path = "../rustc_target" }
2626
rustc_trait_selection = { path = "../rustc_trait_selection" }
27-
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
28-
tracing = "0.1"
27+
smallvec = { workspace = true }
28+
tracing = { workspace = true }
2929
unicode-security = "0.1.0"
3030
# tidy-alphabetical-end

compiler/rustc_log/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ edition = "2024"
55

66
[dependencies]
77
# tidy-alphabetical-start
8-
tracing = "0.1.28"
8+
tracing = { workspace = true }
99
tracing-core = "=0.1.30" # FIXME(Nilstrieb) tracing has a deadlock: https://github.com/tokio-rs/tracing/issues/2635
10-
tracing-subscriber = { version = "0.3.3", default-features = false, features = ["fmt", "env-filter", "smallvec", "parking_lot", "ansi"] }
10+
tracing-subscriber = { workspace = true }
1111
tracing-tree = "0.3.1"
1212
# tidy-alphabetical-end
1313

0 commit comments

Comments
 (0)