diff --git a/Cargo.lock b/Cargo.lock index fb568a8..3ba0d0e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -40,12 +40,6 @@ version = "2.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" -[[package]] -name = "once_cell" -version = "1.20.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1261fe7e33c73b354eab43b1273a57c8f967d0391e80353e51f764ac02cf6775" - [[package]] name = "pin-project-lite" version = "0.2.15" @@ -125,29 +119,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "784e0ac535deb450455cbfa28a6f0df145ea1bb7ae51b821cf5e7927fdcfbdd0" dependencies = [ "pin-project-lite", - "tracing-attributes", "tracing-core", ] -[[package]] -name = "tracing-attributes" -version = "0.1.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "395ae124c09f9e6918a2310af6038fba074bcf474ac352496d5910dd59a2226d" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - [[package]] name = "tracing-core" version = "0.1.33" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e672c95779cf947c5311f83787af4fa8fffd12fb27e4993211a84bdfd9610f9c" -dependencies = [ - "once_cell", -] [[package]] name = "unicode-ident" diff --git a/Cargo.toml b/Cargo.toml index a0bf5aa..7dd4c87 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -88,10 +88,16 @@ categories = ["development-tools::procedural-macro-helpers"] keywords = ["proc-macro", "nightly"] [dependencies] -tracing = "0.1" -syn = "2.0" -thiserror = "2.0" -toml_edit = "0.22" +tracing = { version = "0.1", default-features = false } +syn = { version = "2.0", default-features = false, features = [ + "derive", + "parsing", +] } +thiserror = { version = "2.0", default-features = false } +toml_edit = { version = "0.22", default-features = false, features = ["parse"] } + +[dev-dependencies] +syn = { version = "2.0", default-features = false, features = ["proc-macro"] } [lints] workspace = true