Add tracing to [workspace.dependencies].

This commit is contained in:
Nicholas Nethercote 2025-08-22 10:39:58 +10:00
parent 32b0fff8fe
commit c50d2cc807
49 changed files with 50 additions and 49 deletions

View file

@ -65,6 +65,7 @@ bitflags = "2.9.3"
memchr = "2.7.5"
rustc-literal-escaper = "0.0.5"
thin-vec = "0.2.14"
tracing = "0.1.37"
# tidy-alphabetical-end
[profile.release.package.rustc_thread_pool]

View file

@ -15,7 +15,7 @@ rustc_index = { path = "../rustc_index", default-features = false }
rustc_macros = { path = "../rustc_macros", optional = true }
rustc_serialize = { path = "../rustc_serialize", optional = true }
rustc_span = { path = "../rustc_span", optional = true }
tracing = "0.1"
tracing.workspace = true
# tidy-alphabetical-end
[features]

View file

@ -25,5 +25,5 @@ rustc_span = { path = "../rustc_span" }
rustc_target = { path = "../rustc_target" }
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
thin-vec.workspace = true
tracing = "0.1"
tracing.workspace = true
# tidy-alphabetical-end

View file

@ -25,5 +25,5 @@ rustc_span = { path = "../rustc_span" }
rustc_trait_selection = { path = "../rustc_trait_selection" }
rustc_traits = { path = "../rustc_traits" }
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
tracing = "0.1"
tracing.workspace = true
# tidy-alphabetical-end

View file

@ -31,5 +31,5 @@ rustc_span = { path = "../rustc_span" }
rustc_target = { path = "../rustc_target" }
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
thin-vec.workspace = true
tracing = "0.1"
tracing.workspace = true
# tidy-alphabetical-end

View file

@ -40,7 +40,7 @@ rustc_target = { path = "../rustc_target" }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
tracing = "0.1"
tracing.workspace = true
# tidy-alphabetical-end
[features]

View file

@ -42,7 +42,7 @@ smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
tempfile = "3.2"
thin-vec.workspace = true
thorin-dwp = "0.9"
tracing = "0.1"
tracing.workspace = true
wasm-encoder = "0.219"
# tidy-alphabetical-end

View file

@ -22,5 +22,5 @@ rustc_session = { path = "../rustc_session" }
rustc_span = { path = "../rustc_span" }
rustc_target = { path = "../rustc_target" }
rustc_trait_selection = { path = "../rustc_trait_selection" }
tracing = "0.1"
tracing.workspace = true
# tidy-alphabetical-end

View file

@ -26,7 +26,7 @@ smallvec = { version = "1.8.1", features = ["const_generics", "union", "may_dang
stacker = "0.1.17"
tempfile = "3.2"
thin-vec.workspace = true
tracing = "0.1"
tracing.workspace = true
# tidy-alphabetical-end
[dependencies.hashbrown]

View file

@ -51,7 +51,7 @@ rustc_trait_selection = { path = "../rustc_trait_selection" }
rustc_ty_utils = { path = "../rustc_ty_utils" }
serde_json = "1.0.59"
shlex = "1.0"
tracing = { version = "0.1.35" }
tracing.workspace = true
# tidy-alphabetical-end
[target.'cfg(all(unix, any(target_env = "gnu", target_os = "macos")))'.dependencies]

View file

@ -18,6 +18,6 @@ rustc_data_structures = { path = "../rustc_data_structures" }
rustc_macros = { path = "../rustc_macros" }
rustc_serialize = { path = "../rustc_serialize" }
rustc_span = { path = "../rustc_span" }
tracing = "0.1"
tracing.workspace = true
unic-langid = { version = "0.9.0", features = ["macros"] }
# tidy-alphabetical-end

View file

@ -24,7 +24,7 @@ serde = { version = "1.0.125", features = ["derive"] }
serde_json = "1.0.59"
termcolor = "1.2.0"
termize = "0.2"
tracing = "0.1"
tracing.workspace = true
# tidy-alphabetical-end
[target.'cfg(windows)'.dependencies.windows]

View file

@ -30,5 +30,5 @@ rustc_session = { path = "../rustc_session" }
rustc_span = { path = "../rustc_span" }
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
thin-vec.workspace = true
tracing = "0.1"
tracing.workspace = true
# tidy-alphabetical-end

View file

@ -22,5 +22,5 @@ rustc_span = { path = "../rustc_span" }
rustc_target = { path = "../rustc_target" }
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
thin-vec.workspace = true
tracing = "0.1"
tracing.workspace = true
# tidy-alphabetical-end

View file

@ -29,5 +29,5 @@ rustc_span = { path = "../rustc_span" }
rustc_target = { path = "../rustc_target" }
rustc_trait_selection = { path = "../rustc_trait_selection" }
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
tracing = "0.1"
tracing.workspace = true
# tidy-alphabetical-end

View file

@ -25,5 +25,5 @@ rustc_span = { path = "../rustc_span" }
rustc_target = { path = "../rustc_target" }
rustc_trait_selection = { path = "../rustc_trait_selection" }
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
tracing = "0.1"
tracing.workspace = true
# tidy-alphabetical-end

View file

@ -20,5 +20,5 @@ rustc_serialize = { path = "../rustc_serialize" }
rustc_session = { path = "../rustc_session" }
rustc_span = { path = "../rustc_span" }
thin-vec.workspace = true
tracing = "0.1"
tracing.workspace = true
# tidy-alphabetical-end

View file

@ -19,5 +19,5 @@ rustc_span = { path = "../rustc_span" }
rustc_type_ir = { path = "../rustc_type_ir" }
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
thin-vec.workspace = true
tracing = "0.1"
tracing.workspace = true
# tidy-alphabetical-end

View file

@ -46,7 +46,7 @@ rustc_thread_pool = { path = "../rustc_thread_pool" }
rustc_trait_selection = { path = "../rustc_trait_selection" }
rustc_traits = { path = "../rustc_traits" }
rustc_ty_utils = { path = "../rustc_ty_utils" }
tracing = "0.1"
tracing.workspace = true
# tidy-alphabetical-end
[dev-dependencies]

View file

@ -24,6 +24,6 @@ rustc_span = { path = "../rustc_span" }
rustc_target = { path = "../rustc_target" }
rustc_trait_selection = { path = "../rustc_trait_selection" }
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
tracing = "0.1"
tracing.workspace = true
unicode-security = "0.1.0"
# tidy-alphabetical-end

View file

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

View file

@ -31,7 +31,7 @@ rustc_session = { path = "../rustc_session" }
rustc_span = { path = "../rustc_span" }
rustc_target = { path = "../rustc_target" }
tempfile = "3.7.1"
tracing = "0.1"
tracing.workspace = true
# tidy-alphabetical-end
[target.'cfg(target_os = "aix")'.dependencies]

View file

@ -35,7 +35,7 @@ rustc_thread_pool = { path = "../rustc_thread_pool" }
rustc_type_ir = { path = "../rustc_type_ir" }
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
thin-vec.workspace = true
tracing = "0.1"
tracing.workspace = true
# tidy-alphabetical-end
[features]

View file

@ -23,5 +23,5 @@ rustc_pattern_analysis = { path = "../rustc_pattern_analysis" }
rustc_session = { path = "../rustc_session" }
rustc_span = { path = "../rustc_span" }
rustc_trait_selection = { path = "../rustc_trait_selection" }
tracing = "0.1"
tracing.workspace = true
# tidy-alphabetical-end

View file

@ -18,5 +18,5 @@ rustc_macros = { path = "../rustc_macros" }
rustc_middle = { path = "../rustc_middle" }
rustc_span = { path = "../rustc_span" }
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
tracing = "0.1"
tracing.workspace = true
# tidy-alphabetical-end

View file

@ -26,5 +26,5 @@ rustc_span = { path = "../rustc_span" }
rustc_target = { path = "../rustc_target" }
rustc_trait_selection = { path = "../rustc_trait_selection" }
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
tracing = "0.1"
tracing.workspace = true
# tidy-alphabetical-end

View file

@ -17,5 +17,5 @@ rustc_span = { path = "../rustc_span" }
rustc_target = { path = "../rustc_target" }
serde = "1"
serde_json = "1"
tracing = "0.1"
tracing.workspace = true
# tidy-alphabetical-end

View file

@ -11,7 +11,7 @@ rustc_index = { path = "../rustc_index", default-features = false }
rustc_macros = { path = "../rustc_macros", optional = true }
rustc_type_ir = { path = "../rustc_type_ir", default-features = false }
rustc_type_ir_macros = { path = "../rustc_type_ir_macros" }
tracing = "0.1"
tracing.workspace = true
# tidy-alphabetical-end
[features]

View file

@ -19,7 +19,7 @@ rustc_macros = { path = "../rustc_macros" }
rustc_session = { path = "../rustc_session" }
rustc_span = { path = "../rustc_span" }
thin-vec.workspace = true
tracing = "0.1"
tracing.workspace = true
unicode-normalization = "0.1.11"
unicode-width = "0.2.0"
# tidy-alphabetical-end

View file

@ -24,5 +24,5 @@ rustc_session = { path = "../rustc_session" }
rustc_span = { path = "../rustc_span" }
rustc_target = { path = "../rustc_target" }
rustc_trait_selection = { path = "../rustc_trait_selection" }
tracing = "0.1"
tracing.workspace = true
# tidy-alphabetical-end

View file

@ -19,7 +19,7 @@ rustc_middle = { path = "../rustc_middle", optional = true }
rustc_session = { path = "../rustc_session", optional = true }
rustc_span = { path = "../rustc_span", optional = true }
smallvec = { version = "1.8.1", features = ["union"] }
tracing = "0.1"
tracing.workspace = true
# tidy-alphabetical-end
[dev-dependencies]

View file

@ -15,5 +15,5 @@ rustc_middle = { path = "../rustc_middle" }
rustc_session = { path = "../rustc_session" }
rustc_span = { path = "../rustc_span" }
rustc_ty_utils = { path = "../rustc_ty_utils" }
tracing = "0.1"
tracing.workspace = true
# tidy-alphabetical-end

View file

@ -14,7 +14,7 @@ rustc_span = { path = "../rustc_span" }
rustc_target = { path = "../rustc_target" }
scoped-tls = "1.0"
serde = { version = "1.0.125", features = [ "derive" ] }
tracing = "0.1"
tracing.workspace = true
# tidy-alphabetical-end
[features]

View file

@ -15,5 +15,5 @@ rustc_query_system = { path = "../rustc_query_system" }
rustc_serialize = { path = "../rustc_serialize" }
rustc_session = { path = "../rustc_session" }
rustc_span = { path = "../rustc_span" }
tracing = "0.1"
tracing.workspace = true
# tidy-alphabetical-end

View file

@ -21,7 +21,7 @@ rustc_session = { path = "../rustc_session" }
rustc_span = { path = "../rustc_span" }
rustc_thread_pool = { path = "../rustc_thread_pool" }
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
tracing = "0.1"
tracing.workspace = true
# tidy-alphabetical-end
[dependencies.hashbrown]

View file

@ -28,5 +28,5 @@ rustc_session = { path = "../rustc_session" }
rustc_span = { path = "../rustc_span" }
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
thin-vec.workspace = true
tracing = "0.1"
tracing.workspace = true
# tidy-alphabetical-end

View file

@ -13,6 +13,6 @@ rustc_middle = { path = "../rustc_middle" }
rustc_span = { path = "../rustc_span" }
rustc_target = { path = "../rustc_target" }
rustc_trait_selection = { path = "../rustc_trait_selection" }
tracing = "0.1"
tracing.workspace = true
twox-hash = "1.6.3"
# tidy-alphabetical-end

View file

@ -23,7 +23,7 @@ rustc_serialize = { path = "../rustc_serialize" }
rustc_span = { path = "../rustc_span" }
rustc_target = { path = "../rustc_target" }
termize = "0.2"
tracing = "0.1"
tracing.workspace = true
# tidy-alphabetical-end
[target.'cfg(unix)'.dependencies]

View file

@ -19,6 +19,6 @@ rustc_serialize = { path = "../rustc_serialize" }
scoped-tls = "1.0"
sha1 = "0.10.0"
sha2 = "0.10.1"
tracing = "0.1"
tracing.workspace = true
unicode-width = "0.2.0"
# tidy-alphabetical-end

View file

@ -15,5 +15,5 @@ rustc_hir = { path = "../rustc_hir" }
rustc_middle = { path = "../rustc_middle" }
rustc_session = { path = "../rustc_session" }
rustc_span = { path = "../rustc_span" }
tracing = "0.1"
tracing.workspace = true
# tidy-alphabetical-end

View file

@ -17,7 +17,7 @@ serde = "1.0.219"
serde_derive = "1.0.219"
serde_json = "1.0.59"
serde_path_to_error = "0.1.17"
tracing = "0.1"
tracing.workspace = true
# tidy-alphabetical-end
[dependencies.object]

View file

@ -22,5 +22,5 @@ rustc_span = { path = "../rustc_span" }
rustc_transmute = { path = "../rustc_transmute", features = ["rustc"] }
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
thin-vec.workspace = true
tracing = "0.1"
tracing.workspace = true
# tidy-alphabetical-end

View file

@ -10,5 +10,5 @@ rustc_infer = { path = "../rustc_infer" }
rustc_middle = { path = "../rustc_middle" }
rustc_span = { path = "../rustc_span" }
rustc_trait_selection = { path = "../rustc_trait_selection" }
tracing = "0.1"
tracing.workspace = true
# tidy-alphabetical-end

View file

@ -11,7 +11,7 @@ rustc_hir = { path = "../rustc_hir", optional = true }
rustc_middle = { path = "../rustc_middle", optional = true }
rustc_span = { path = "../rustc_span", optional = true }
smallvec = "1.8.1"
tracing = "0.1"
tracing.workspace = true
# tidy-alphabetical-end
[dev-dependencies]

View file

@ -20,5 +20,5 @@ rustc_session = { path = "../rustc_session" }
rustc_span = { path = "../rustc_span" }
rustc_target = { path = "../rustc_target" }
rustc_trait_selection = { path = "../rustc_trait_selection" }
tracing = "0.1"
tracing.workspace = true
# tidy-alphabetical-end

View file

@ -20,7 +20,7 @@ rustc_span = { path = "../rustc_span", optional = true }
rustc_type_ir_macros = { path = "../rustc_type_ir_macros" }
smallvec = { version = "1.8.1", default-features = false, features = ["const_generics"] }
thin-vec.workspace = true
tracing = "0.1"
tracing.workspace = true
# tidy-alphabetical-end
[features]

View file

@ -24,8 +24,8 @@ smallvec = "1.8.1"
stringdex = { version = "0.0.1-alpha4" }
tempfile = "3"
threadpool = "1.8.1"
tracing = "0.1"
tracing-tree = "0.3.0"
tracing.workspace = true
unicode-segmentation = "1.9"
# tidy-alphabetical-end

View file

@ -28,8 +28,8 @@ rustfix = "0.8.1"
semver = { version = "1.0.23", features = ["serde"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
tracing = "0.1"
tracing-subscriber = { version = "0.3.3", default-features = false, features = ["ansi", "env-filter", "fmt", "parking_lot", "smallvec"] }
tracing.workspace = true
unified-diff = "0.2.1"
walkdir = "2"
# tidy-alphabetical-end

View file

@ -8,7 +8,7 @@ publish = false
[dependencies]
anyhow = "1.0"
tracing = "0.1"
tracing-subscriber = {version = "0.3.0", features = ["std"] }
tracing.workspace = true
tracing-subscriber = { version = "0.3.0", features = ["std"] }
clap = { version = "4.3", features = ["derive"] }
thiserror = "1.0.24"