diff --git a/Cargo.lock b/Cargo.lock index 733d170ecf..1e7b76fd56 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -135,12 +135,6 @@ version = "1.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "69f7f8c3906b62b754cd5326047894316021dcfe5a194c8ea52bdd94934a3457" -[[package]] -name = "arrayref" -version = "0.3.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76a2e8124351fda1ef8aaaa3bbd7ebbcb486bbcd4225aca0aa0d84bb2db8fecb" - [[package]] name = "assert-json-diff" version = "2.0.2" @@ -465,17 +459,14 @@ dependencies = [ "anyhow", "current_platform", "errno", - "hex", "libc", "libdd-common", "libdd-crashtracker", - "libdd-profiling", "nix 0.29.0", "once_cell", "os_info", "serde_json", "serial_test", - "strum", "tempfile", ] @@ -718,7 +709,6 @@ name = "build_common" version = "38.0.0" dependencies = [ "cbindgen", - "serde", "serde_json", ] @@ -1375,7 +1365,6 @@ dependencies = [ "bincode", "criterion", "datadog-ipc-macros", - "futures", "glibc_version", "io-lifetimes", "libc", @@ -1387,14 +1376,11 @@ dependencies = [ "memfd", "nix 0.29.0", "page_size", - "pretty_assertions", - "sendfd", "serde", "spawn_worker", "tempfile", "tokio", "tracing", - "tracing-subscriber", "winapi 0.3.9", "windows-sys 0.48.0", "zwohash", @@ -1448,7 +1434,6 @@ dependencies = [ "serde_json", "tokio", "tokio-util", - "uuid", ] [[package]] @@ -1469,7 +1454,6 @@ version = "0.0.1" dependencies = [ "anyhow", "arc-swap", - "arrayref", "base64 0.22.1", "bincode", "chrono", @@ -1480,7 +1464,6 @@ dependencies = [ "datadog-sidecar-macros", "futures", "http", - "http-body-util", "httpmock", "libc", "libdd-capabilities", @@ -1499,13 +1482,10 @@ dependencies = [ "libdd-trace-utils", "manual_future", "memory-stats", - "microseh", "nix 0.29.0", "prctl", "priority-queue", "rand 0.8.5", - "rmp-serde", - "sendfd", "serde", "serde_json", "serde_with", @@ -1520,8 +1500,6 @@ dependencies = [ "tracing-log", "tracing-subscriber", "winapi 0.3.9", - "windows 0.51.1", - "windows-sys 0.52.0", "zwohash", ] @@ -1544,10 +1522,7 @@ dependencies = [ "libdd-telemetry-ffi", "libdd-tinybytes", "libdd-trace-utils", - "paste", "rmp-serde", - "serde_json", - "tempfile", "tracing", ] @@ -2803,7 +2778,6 @@ dependencies = [ "rustls", "serde", "serde_json", - "serial_test", "thiserror 2.0.17", "tokio", "tracing", @@ -2855,7 +2829,6 @@ dependencies = [ "const_format", "criterion", "futures", - "futures-core", "futures-util", "hex", "http", @@ -2877,7 +2850,6 @@ dependencies = [ "regex-lite", "reqwest", "rustls", - "rustls-native-certs", "rustls-platform-verifier", "rustls-webpki", "serde", @@ -2956,7 +2928,6 @@ dependencies = [ "libdd-common", "libdd-common-ffi", "libdd-crashtracker", - "serde", "serde_json", "symbolic-common", "symbolic-demangle", @@ -2977,9 +2948,7 @@ dependencies = [ "duplicate 2.0.1", "either", "futures", - "getrandom 0.2.15", "http", - "http-body-util", "httpmock", "libdd-capabilities", "libdd-capabilities-impl", @@ -2990,7 +2959,6 @@ dependencies = [ "libdd-shared-runtime", "libdd-telemetry", "libdd-tinybytes", - "libdd-trace-normalization", "libdd-trace-obfuscation", "libdd-trace-protobuf", "libdd-trace-stats", @@ -3081,11 +3049,8 @@ dependencies = [ "pyo3", "semver", "serde", - "serde-bool", "serde_json", - "serde_with", "thiserror 2.0.17", - "url", ] [[package]] @@ -3139,7 +3104,6 @@ dependencies = [ "memfd", "prost", "rand 0.8.5", - "rmp", "rmp-serde", "serde", "serde_yaml", @@ -3157,7 +3121,6 @@ dependencies = [ "libdd-common", "libdd-common-ffi", "libdd-library-config", - "tempfile", ] [[package]] @@ -3219,24 +3182,19 @@ dependencies = [ "bitmaps", "bolero", "byteorder", - "bytes", "chrono", "criterion", "crossbeam-channel", "crossbeam-utils", "cxx", "cxx-build", - "futures", "hashbrown 0.16.1", "http", - "http-body-util", - "httparse", "indexmap 2.12.1", "libdd-alloc", "libdd-common", "libdd-profiling", "libdd-profiling-protobuf", - "mime", "parking_lot", "proptest", "prost", @@ -3264,8 +3222,6 @@ dependencies = [ "anyhow", "build_common", "function_name", - "futures", - "http-body-util", "hyper", "libc", "libdd-common", @@ -3357,7 +3313,6 @@ dependencies = [ "manual_future", "serde", "serde_json", - "serde_with", "sha2", "strum", "strum_macros", @@ -3389,7 +3344,6 @@ dependencies = [ "futures", "futures-util", "libdd-capabilities", - "libdd-capabilities-impl", "libdd-common", "tokio", "tokio-util", @@ -3415,7 +3369,6 @@ dependencies = [ "base64 0.22.1", "bytes", "futures", - "getrandom 0.2.15", "hashbrown 0.15.1", "http", "httpmock", @@ -3443,7 +3396,6 @@ version = "38.0.0" dependencies = [ "build_common", "function_name", - "libc", "libdd-capabilities-impl", "libdd-common", "libdd-common-ffi", @@ -3536,7 +3488,6 @@ dependencies = [ "rmp-serde", "serde", "tokio", - "tokio-util", "tracing", "web-time", ] @@ -3771,17 +3722,6 @@ dependencies = [ "windows-sys 0.52.0", ] -[[package]] -name = "microseh" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f26b2a7c5ccfb370edd57fda423f3a551516ee127e10bc22a6215e8c63b20a38" -dependencies = [ - "cc", - "libc", - "windows-sys 0.42.0", -] - [[package]] name = "mime" version = "0.3.17" @@ -5234,16 +5174,6 @@ dependencies = [ "serde", ] -[[package]] -name = "sendfd" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "604b71b8fc267e13bb3023a2c901126c8f349393666a6d98ac1ae5729b701798" -dependencies = [ - "libc", - "tokio", -] - [[package]] name = "serde" version = "1.0.228" @@ -5254,15 +5184,6 @@ dependencies = [ "serde_derive", ] -[[package]] -name = "serde-bool" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8fdd050c9c2ed5ae1fb29e71be0a6efdd9df43c7cb13ea5826528cfe10c51db0" -dependencies = [ - "serde", -] - [[package]] name = "serde-transcode" version = "1.1.1" @@ -5881,8 +5802,6 @@ name = "test_spawn_from_lib" version = "0.0.1" dependencies = [ "anyhow", - "io-lifetimes", - "libc", "spawn_worker", "tempfile", ] @@ -6799,21 +6718,6 @@ dependencies = [ "windows-targets 0.53.5", ] -[[package]] -name = "windows-sys" -version = "0.42.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a3e1820f08b8513f676f7ab6c1f99ff312fb97b553d30ff4dd86f9f15728aa7" -dependencies = [ - "windows_aarch64_gnullvm 0.42.2", - "windows_aarch64_msvc 0.42.2", - "windows_i686_gnu 0.42.2", - "windows_i686_msvc 0.42.2", - "windows_x86_64_gnu 0.42.2", - "windows_x86_64_gnullvm 0.42.2", - "windows_x86_64_msvc 0.42.2", -] - [[package]] name = "windows-sys" version = "0.45.0" diff --git a/LICENSE-3rdparty.csv b/LICENSE-3rdparty.csv index ef04646f30..1b3c92769e 100644 --- a/LICENSE-3rdparty.csv +++ b/LICENSE-3rdparty.csv @@ -15,7 +15,6 @@ anstyle-wincon,https://github.com/rust-cli/anstyle,MIT OR Apache-2.0,The anstyle anyhow,https://github.com/dtolnay/anyhow,MIT OR Apache-2.0,David Tolnay arbitrary,https://github.com/rust-fuzz/arbitrary,MIT OR Apache-2.0,"The Rust-Fuzz Project Developers, Nick Fitzgerald , Manish Goregaokar , Simonas Kazlauskas , Brian L. Troutwine , Corey Farwell " arc-swap,https://github.com/vorner/arc-swap,MIT OR Apache-2.0,Michal 'vorner' Vaner -arrayref,https://github.com/droundy/arrayref,BSD-2-Clause,David Roundy assert-json-diff,https://github.com/davidpdrsn/assert-json-diff,MIT,David Pedersen async-attributes,https://github.com/async-rs/async-attributes,MIT OR Apache-2.0,Yoshua Wuyts async-channel,https://github.com/smol-rs/async-channel,Apache-2.0 OR MIT,Stjepan Glavina @@ -240,7 +239,6 @@ memfd,https://github.com/lucab/memfd-rs,MIT OR Apache-2.0,"Luca Bruno , Yevhenii Reizner " memoffset,https://github.com/Gilnaa/memoffset,MIT,Gilad Naaman memory-stats,https://github.com/Arc-blroth/memory-stats,MIT OR Apache-2.0,Arc-blroth <45273859+Arc-blroth@users.noreply.github.com> -microseh,https://github.com/sonodima/microseh,MIT,sonodima mime,https://github.com/hyperium/mime,MIT OR Apache-2.0,Sean McArthur mime_guess,https://github.com/abonander/mime_guess,MIT,Austin Bonander minimal-lexical,https://github.com/Alexhuszagh/minimal-lexical,MIT OR Apache-2.0,Alex Huszagh @@ -372,9 +370,7 @@ sdd,https://github.com/wvwwvwwv/scalable-delayed-dealloc,Apache-2.0,wvwwvwwv , Kornel " security-framework-sys,https://github.com/kornelski/rust-security-framework,MIT OR Apache-2.0,"Steven Fackler , Kornel " semver,https://github.com/dtolnay/semver,MIT OR Apache-2.0,David Tolnay -sendfd,https://github.com/standard-ai/sendfd,Apache-2.0 OR BSD-3-Clause,"Simonas Kazlauskas , Bernardo Meurer , Léo Gaspard " serde,https://github.com/serde-rs/serde,MIT OR Apache-2.0,"Erick Tryzelaar , David Tolnay " -serde-bool,https://github.com/x52dev/serde-utils,MIT OR Apache-2.0,Rob Ede serde-transcode,https://github.com/sfackler/serde-transcode,MIT OR Apache-2.0,Steven Fackler serde_bytes,https://github.com/serde-rs/bytes,MIT OR Apache-2.0,David Tolnay serde_core,https://github.com/serde-rs/serde,MIT OR Apache-2.0,"Erick Tryzelaar , David Tolnay " diff --git a/bin_tests/Cargo.toml b/bin_tests/Cargo.toml index ba1771cd24..ff4848f163 100644 --- a/bin_tests/Cargo.toml +++ b/bin_tests/Cargo.toml @@ -14,16 +14,13 @@ build = "build.rs" once_cell = "1.18" anyhow = "1.0" current_platform = "0.2.0" -libdd-profiling = { path = "../libdd-profiling" } libdd-crashtracker = { path = "../libdd-crashtracker" } libdd-common = { path = "../libdd-common" } tempfile.workspace = true serde_json.workspace = true -strum = { version = "0.26.2", features = ["derive"] } libc.workspace = true errno = "0.3" nix = { version = "0.29", features = ["signal", "socket"] } -hex = "0.4" os_info = "3.14.0" [dev-dependencies] diff --git a/build-common/Cargo.toml b/build-common/Cargo.toml index bb848a0dda..3dd79db7d5 100644 --- a/build-common/Cargo.toml +++ b/build-common/Cargo.toml @@ -15,7 +15,6 @@ cbindgen = [] [dependencies] cbindgen = { version = "0.29" } -serde = "1.0" serde_json = "1.0" [lib] diff --git a/datadog-ipc/Cargo.toml b/datadog-ipc/Cargo.toml index 6e199d5ef5..21dfa750a7 100644 --- a/datadog-ipc/Cargo.toml +++ b/datadog-ipc/Cargo.toml @@ -10,7 +10,6 @@ publish = false anyhow.workspace = true zwohash = "0.1.2" bincode = { version = "1" } -futures.workspace = true io-lifetimes = { workspace = true, features = ["close"] } page_size = "0.6.0" memfd = { version = "0.6" } @@ -28,7 +27,6 @@ tracing.workspace = true [dev-dependencies] criterion.workspace = true -pretty_assertions = "1.3" tempfile.workspace = true tokio = { workspace = true, features = [ "macros", @@ -39,12 +37,10 @@ tokio = { workspace = true, features = [ "io-util", ] } tracing = { version = "0.1" } -tracing-subscriber = { version = "0.3.22" } spawn_worker = { path = "../spawn_worker" } [target.'cfg(not(windows))'.dependencies] nix = { version = "0.29", features = ["fs", "mman", "process", "poll", "socket", "uio", "user"] } -sendfd = { version = "0.4", features = ["tokio"] } tokio = { version = "1.23", features = ["sync", "io-util", "signal"] } [target.'cfg(target_env = "gnu")'.build-dependencies] diff --git a/datadog-live-debugger-ffi/Cargo.toml b/datadog-live-debugger-ffi/Cargo.toml index 7e0fcb1c65..3129ff117b 100644 --- a/datadog-live-debugger-ffi/Cargo.toml +++ b/datadog-live-debugger-ffi/Cargo.toml @@ -16,7 +16,6 @@ datadog-live-debugger = { path = "../datadog-live-debugger" } libdd-common = { path = "../libdd-common" } libdd-common-ffi = { path = "../libdd-common-ffi", default-features = false } percent-encoding = "2.1" -uuid = { workspace = true, features = ["v4", "std"] } serde_json.workspace = true tokio = "1.36.0" tokio-util = { version = "0.7", features = ["rt"] } diff --git a/datadog-sidecar-ffi/Cargo.toml b/datadog-sidecar-ffi/Cargo.toml index 8d27a62529..abeb95f322 100644 --- a/datadog-sidecar-ffi/Cargo.toml +++ b/datadog-sidecar-ffi/Cargo.toml @@ -23,11 +23,9 @@ libdd-remote-config = { path = "../libdd-remote-config" } datadog-live-debugger = { path = "../datadog-live-debugger" } libdd-dogstatsd-client = { path = "../libdd-dogstatsd-client" } libdd-tinybytes = { path = "../libdd-tinybytes", features = ["bytes_string"] } -paste = "1" libc.workspace = true tracing.workspace = true rmp-serde = "1.1.1" -serde_json.workspace = true [target.'cfg(unix)'.dependencies] @@ -39,7 +37,6 @@ libdd-crashtracker-ffi = { path = "../libdd-crashtracker-ffi", features = ["coll [dev-dependencies] http = "1.1" libdd-trace-utils = { path = "../libdd-trace-utils", features = ["test-utils"] } -tempfile.workspace = true [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = [ diff --git a/datadog-sidecar/Cargo.toml b/datadog-sidecar/Cargo.toml index bab27c8bed..19b4665d14 100644 --- a/datadog-sidecar/Cargo.toml +++ b/datadog-sidecar/Cargo.toml @@ -17,7 +17,6 @@ stats-obfuscation = ["libdd-trace-stats/stats-obfuscation", "libdd-data-pipeline [dependencies] anyhow = { version = "1.0" } arc-swap = { workspace = true, optional = true } -arrayref = "0.3.7" priority-queue = "2.1.1" libdd-common = { path = "../libdd-common" } libdd-capabilities = { path = "../libdd-capabilities", version = "2.1.0" } @@ -37,13 +36,11 @@ libdd-tinybytes = { path = "../libdd-tinybytes" } futures.workspace = true manual_future = "0.1.1" http = "1.1" -http-body-util = "0.1" datadog-ipc = { path = "../datadog-ipc", features = ["tiny-bytes"] } datadog-ipc-macros = { path = "../datadog-ipc-macros" } rand = "0.8.3" -rmp-serde = "1.3.0" serde = { version = "1.0", features = ["derive", "rc"] } serde_with = "3.6.0" bincode = { version = "1.3.3" } @@ -77,15 +74,6 @@ libc.workspace = true # watchdog and self telemetry memory-stats = { version = "1.2.0", features = ["always_use_statm"] } -[target.'cfg(windows)'.dependencies.windows] -features = [ - "Win32_Foundation", - "Wdk_Storage_FileSystem", - "Win32_System_IO", - "Win32_System_WindowsProgramming", -] -version = "0.51.0" - # unstable-only feature [target.'cfg(all(tokio_unstable, target_os = "linux"))'.dependencies.tokio] features = ["taskdump"] @@ -100,16 +88,13 @@ libdd-capabilities-impl = { path = "../libdd-capabilities-impl" } [target.'cfg(unix)'.dependencies] nix = { version = "0.29", features = ["socket", "mman"] } -sendfd = { version = "0.4", features = ["tokio"] } [target.'cfg(windows)'.dependencies] libdd-common-ffi = { path = "../libdd-common-ffi", default-features = false } libdd-crashtracker-ffi = { path = "../libdd-crashtracker-ffi", default-features = false, features = ["collector", "collector_windows"] } winapi = { version = "0.3.9", features = ["securitybaseapi", "sddl", "winerror", "winbase"] } -windows-sys = { version = "0.52.0", features = ["Win32_System_SystemInformation"] } [target.'cfg(windows_seh_wrapper)'.dependencies] -microseh = "0.1.1" [dev-dependencies] libc.workspace = true diff --git a/libdd-agent-client/Cargo.toml b/libdd-agent-client/Cargo.toml index 73e8679e6e..276854a782 100644 --- a/libdd-agent-client/Cargo.toml +++ b/libdd-agent-client/Cargo.toml @@ -36,5 +36,4 @@ tracing.workspace = true [dev-dependencies] httpmock = "0.8.0-alpha.1" rustls = { workspace = true, features = ["ring"] } -serial_test = "3.2" tokio = { version = "1.23", features = ["rt", "macros"] } diff --git a/libdd-common/Cargo.toml b/libdd-common/Cargo.toml index a9bfa0b125..06aec47105 100644 --- a/libdd-common/Cargo.toml +++ b/libdd-common/Cargo.toml @@ -18,7 +18,6 @@ bench = false [dependencies] anyhow.workspace = true futures = { workspace = true, features = ["alloc", "executor"] } -futures-core = { version = "0.3.0", default-features = false } futures-util = { version = "0.3.0", default-features = false } hex = "0.4" httparse = { version = "1.9", optional = true } @@ -37,7 +36,6 @@ regex-lite = { version = "0.1", optional = true } # backend. We install the ring provider explicitly in connector/mod.rs instead. reqwest = { version = "0.13.2", features = ["rustls-no-provider", "hickory-dns"], default-features = false, optional = true } criterion = { workspace = true, optional = true } -rustls-native-certs = { version = ">=0.8.1, <0.8.3", optional = true } rustls-platform-verifier = { version = "0.6", optional = true } thiserror = "1.0" tokio-rustls = { version = "0.26", default-features = false, optional = true } @@ -92,7 +90,7 @@ tokio = { version = "1.23", features = ["rt", "macros", "time"] } [features] default = ["https"] # TLS plumbing without a crypto provider. Use `https` or `fips` to select one. -tls-core = ["tokio-rustls", "rustls", "hyper-rustls","rustls-native-certs", "rustls-platform-verifier"] +tls-core = ["tokio-rustls", "rustls", "hyper-rustls", "rustls-platform-verifier"] # Default HTTPS: ring as crypto provider https = ["tls-core", "rustls/ring", "hyper-rustls/ring"] use_webpki_roots = ["hyper-rustls/webpki-roots"] diff --git a/libdd-crashtracker-ffi/Cargo.toml b/libdd-crashtracker-ffi/Cargo.toml index d4aaa00afd..c421ea89b3 100644 --- a/libdd-crashtracker-ffi/Cargo.toml +++ b/libdd-crashtracker-ffi/Cargo.toml @@ -46,7 +46,6 @@ symbolic-common = { version = "12.8.0", default-features = false, optional = tru function_name = "0.3.0" libc.workspace = true serde_json.workspace = true -serde = { version = "1.0.214", features = ["derive"] } [target.'cfg(windows)'.dependencies] windows = { version = "0.59.0", features = ["Win32_System_Diagnostics_Debug", "Win32_System_ErrorReporting"] } diff --git a/libdd-data-pipeline-ffi/Cargo.toml b/libdd-data-pipeline-ffi/Cargo.toml index 01370a859c..3ea022b5de 100644 --- a/libdd-data-pipeline-ffi/Cargo.toml +++ b/libdd-data-pipeline-ffi/Cargo.toml @@ -39,4 +39,4 @@ libdd-common-ffi = { path = "../libdd-common-ffi", default-features = false } libdd-tinybytes = { path = "../libdd-tinybytes" } libdd-trace-utils = { path = "../libdd-trace-utils" } tokio-util = "0.7.11" -tracing.workspace = true \ No newline at end of file +tracing.workspace = true diff --git a/libdd-data-pipeline/Cargo.toml b/libdd-data-pipeline/Cargo.toml index 0e196708b9..89e696f932 100644 --- a/libdd-data-pipeline/Cargo.toml +++ b/libdd-data-pipeline/Cargo.toml @@ -16,7 +16,6 @@ arc-swap.workspace = true anyhow.workspace = true async-trait = "0.1" http = "1" -http-body-util = "0.1" tracing.workspace = true rmp-serde = "1.3.0" serde.workspace = true @@ -37,7 +36,6 @@ libdd-common = { version = "5.1.0", path = "../libdd-common", default-features = libdd-shared-runtime = { version = "2.0.0", path = "../libdd-shared-runtime", default-features = false } libdd-telemetry = { version = "6.0.0", path = "../libdd-telemetry", default-features = false, optional = true} libdd-trace-protobuf = { version = "4.0.0", path = "../libdd-trace-protobuf" } -libdd-trace-normalization = { version = "3.0.0", path = "../libdd-trace-normalization" } libdd-trace-stats = { version = "6.0.0", path = "../libdd-trace-stats", default-features = false, features = ["dogstatsd"] } libdd-trace-utils = { version = "9.0.0", path = "../libdd-trace-utils", default-features = false } libdd-trace-obfuscation = { version = "5.0.0", path = "../libdd-trace-obfuscation", default-features = false, optional = true } @@ -54,7 +52,6 @@ tokio = { version = "1.23", features = ["time", "test-util"], default-features = libdd-capabilities-impl = { version = "3.0.0", path = "../libdd-capabilities-impl", default-features = false } [target.'cfg(target_arch = "wasm32")'.dependencies] -getrandom = { version = "0.2", features = ["js"] } uuid = { workspace = true, features = ["js", "std"] } [lib] @@ -93,7 +90,6 @@ telemetry = ["libdd-telemetry", "libdd-trace-stats/telemetry"] https = [ "libdd-common/https", "libdd-capabilities-impl/https", - "libdd-shared-runtime/https", "libdd-telemetry?/https", "libdd-trace-stats/https", "libdd-trace-utils/https", @@ -106,7 +102,6 @@ stats-obfuscation = [ fips = [ "libdd-common/fips", "libdd-capabilities-impl/fips", - "libdd-shared-runtime/fips", "libdd-telemetry?/fips", "libdd-trace-stats/fips", "libdd-trace-utils/fips", diff --git a/libdd-ffe/Cargo.toml b/libdd-ffe/Cargo.toml index 2a5a436efc..e2ea07e16a 100644 --- a/libdd-ffe/Cargo.toml +++ b/libdd-ffe/Cargo.toml @@ -23,10 +23,7 @@ log = { version = "0.4.21", default-features = false, features = ["kv", "kv_serd md5 = { version = "0.7.0", default-features = false } libdd-common = { version = "5.1.0", path = "../libdd-common", default-features = false, features = ["require-regex-full"] } semver = "1.0" -serde-bool = { version = "0.1.3", default-features = false } -serde_with = { version = "3.11.0", default-features = false, features = ["base64", "hex", "macros"] } thiserror = { version = "2.0.3", default-features = false } -url = { version = "2.5.0", default-features = false, features = ["std"] } lru = { version = "0.16.3", optional = true } libdd-trace-protobuf = { version = "4.0.0", path = "../libdd-trace-protobuf", optional = true } prost = { version = "0.14.1", optional = true } diff --git a/libdd-library-config-ffi/Cargo.toml b/libdd-library-config-ffi/Cargo.toml index 200630f7f9..673c49a090 100644 --- a/libdd-library-config-ffi/Cargo.toml +++ b/libdd-library-config-ffi/Cargo.toml @@ -28,7 +28,6 @@ regex-lite = ["libdd-common-ffi/regex-lite"] build_common = { path = "../build-common" } [dev-dependencies] -tempfile.workspace = true [lints.clippy] std_instead_of_alloc = "warn" diff --git a/libdd-library-config/Cargo.toml b/libdd-library-config/Cargo.toml index c02823d10f..96723996ed 100644 --- a/libdd-library-config/Cargo.toml +++ b/libdd-library-config/Cargo.toml @@ -26,7 +26,6 @@ serde_yaml = "0.9.34" prost = "0.14.1" anyhow.workspace = true rand = "0.8.3" -rmp = "0.8.14" rmp-serde = "1.3.0" libdd-trace-protobuf = { version = "4.0.0", path = "../libdd-trace-protobuf" } diff --git a/libdd-profiling-ffi/Cargo.toml b/libdd-profiling-ffi/Cargo.toml index f7a08492d8..72f7e38a4f 100644 --- a/libdd-profiling-ffi/Cargo.toml +++ b/libdd-profiling-ffi/Cargo.toml @@ -77,8 +77,6 @@ libdd-telemetry-ffi = { path = "../libdd-telemetry-ffi", default-features = fals libdd-ddsketch-ffi = { path = "../libdd-ddsketch-ffi", default-features = false, optional = true } libdd-log-ffi = { path = "../libdd-log-ffi", default-features = false, optional = true } function_name = "0.3.0" -futures.workspace = true -http-body-util = "0.1" hyper = { workspace = true, features = ["http1", "client"] } libc.workspace = true serde_json.workspace = true diff --git a/libdd-profiling/Cargo.toml b/libdd-profiling/Cargo.toml index d13e497370..9cc57c7ad4 100644 --- a/libdd-profiling/Cargo.toml +++ b/libdd-profiling/Cargo.toml @@ -30,21 +30,16 @@ allocator-api2 = { workspace = true, features = ["alloc"] } anyhow.workspace = true bitmaps = "3.2.0" byteorder = { version = "1.5", features = ["std"] } -bytes = "1.11.1" chrono = { workspace = true, features = ["std", "clock"] } crossbeam-channel = "0.5.15" crossbeam-utils = { version = "0.8.21" } cxx = { version = "1.0", optional = true } -futures.workspace = true hashbrown = { version = "0.16", default-features = false } http = "1.1" -http-body-util = "0.1" -httparse = "1.9" indexmap = "2.11" libdd-alloc = { version = "1.0.0", path = "../libdd-alloc" } libdd-common = { version = "5.1.0", path = "../libdd-common", default-features = false, features = ["reqwest", "test-utils"] } libdd-profiling-protobuf = { version = "2.0.0", path = "../libdd-profiling-protobuf", features = ["prost_impls"] } -mime = "0.3.16" parking_lot = { version = "0.12", default-features = false } prost = "0.14.1" rand = "0.8" diff --git a/libdd-remote-config/Cargo.toml b/libdd-remote-config/Cargo.toml index 98cb62e2e0..558998616b 100644 --- a/libdd-remote-config/Cargo.toml +++ b/libdd-remote-config/Cargo.toml @@ -55,7 +55,6 @@ time = { version = "0.3", features = ["parsing", "serde", "formatting"], optiona tracing = { workspace = true, optional = true } serde.workspace = true serde_json = { workspace = true, features = ["raw_value"] } -serde_with = "3" thiserror = "2" hashbrown = "0.15" # `EnumIter` for external consumers to make struct available to runtime diff --git a/libdd-shared-runtime-ffi/Cargo.toml b/libdd-shared-runtime-ffi/Cargo.toml index 29396e72a6..09fb86d718 100644 --- a/libdd-shared-runtime-ffi/Cargo.toml +++ b/libdd-shared-runtime-ffi/Cargo.toml @@ -24,4 +24,4 @@ build_common = { path = "../build-common" } [dependencies] libdd-shared-runtime = { version = "2.0.0", path = "../libdd-shared-runtime" } -tracing.workspace = true \ No newline at end of file +tracing.workspace = true diff --git a/libdd-shared-runtime/Cargo.toml b/libdd-shared-runtime/Cargo.toml index 4a9b6d6781..a705a3f899 100644 --- a/libdd-shared-runtime/Cargo.toml +++ b/libdd-shared-runtime/Cargo.toml @@ -26,13 +26,10 @@ libdd-capabilities = { path = "../libdd-capabilities", version = "2.1.0" } libdd-common = { version = "5.1.0", path = "../libdd-common", default-features = false } [features] -default = ["https"] -https = ["libdd-capabilities-impl/https"] -fips = ["libdd-capabilities-impl/fips"] +default = [] regex-lite = ["libdd-common/regex-lite"] [target.'cfg(not(target_arch = "wasm32"))'.dependencies] -libdd-capabilities-impl = { path = "../libdd-capabilities-impl", version = "3.0.0", default-features = false } tokio = { version = "1.23", features = ["rt-multi-thread"] } [target.'cfg(target_arch = "wasm32")'.dependencies] diff --git a/libdd-telemetry-ffi/Cargo.toml b/libdd-telemetry-ffi/Cargo.toml index c1e1284c60..546b7375a1 100644 --- a/libdd-telemetry-ffi/Cargo.toml +++ b/libdd-telemetry-ffi/Cargo.toml @@ -28,7 +28,6 @@ libdd-telemetry = { path = "../libdd-telemetry" } libdd-common = { path = "../libdd-common" } libdd-common-ffi = { path = "../libdd-common-ffi", default-features = false } function_name = "0.3" -libc.workspace = true paste = "1" [dev-dependencies] diff --git a/libdd-telemetry/Cargo.toml b/libdd-telemetry/Cargo.toml index 17448e640d..1a9f6e2439 100644 --- a/libdd-telemetry/Cargo.toml +++ b/libdd-telemetry/Cargo.toml @@ -14,8 +14,8 @@ bench = false [features] default = ["tracing"] tracing = ["tracing/std"] -https = ["libdd-common/https", "libdd-shared-runtime/https"] -fips = ["libdd-common/fips", "libdd-shared-runtime/fips"] +https = ["libdd-common/https"] +fips = ["libdd-common/fips"] [dependencies] anyhow.workspace = true @@ -41,7 +41,6 @@ web-time = "1" # cross-platform Instant/SystemTime; shims via js-sys on wasm32 sys-info = { version = "0.9.0" } [target.'cfg(target_arch = "wasm32")'.dependencies] -getrandom = { version = "0.2", features = ["js"] } uuid = { workspace = true, features = ["js", "std"] } [target."cfg(unix)".dependencies] diff --git a/libdd-trace-normalization/fuzz/Cargo.lock b/libdd-trace-normalization/fuzz/Cargo.lock index 5ce2a8c1ff..824dc3842a 100644 --- a/libdd-trace-normalization/fuzz/Cargo.lock +++ b/libdd-trace-normalization/fuzz/Cargo.lock @@ -103,7 +103,7 @@ checksum = "2874a2af47a2325c2001a6e6fad9b16a53b802102b528163885171cf92b15976" [[package]] name = "libdd-trace-normalization" -version = "1.0.0" +version = "3.0.0" dependencies = [ "anyhow", "arbitrary", @@ -120,7 +120,7 @@ dependencies = [ [[package]] name = "libdd-trace-protobuf" -version = "1.0.0" +version = "4.0.0" dependencies = [ "prost", "serde", @@ -148,9 +148,9 @@ dependencies = [ [[package]] name = "prost" -version = "0.13.5" +version = "0.14.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2796faa41db3ec313a31f7624d9286acf277b52de526150b7e69f3debf891ee5" +checksum = "528ac67416ff8646872a3c02cad9cc4ee5dc9f9540c9b10771855c95cb2e5ae1" dependencies = [ "bytes", "prost-derive", @@ -158,9 +158,9 @@ dependencies = [ [[package]] name = "prost-derive" -version = "0.13.5" +version = "0.14.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a56d757972c98b346a9b766e3f02746cde6dd1cd1d1d563472929fdd74bec4d" +checksum = "b570b25f7617e43d59005d0990ccb79e950a423952cea19671b7a876da390adf" dependencies = [ "anyhow", "itertools", diff --git a/libdd-trace-protobuf/Cargo.toml b/libdd-trace-protobuf/Cargo.toml index e4f4376122..4053dae1fc 100644 --- a/libdd-trace-protobuf/Cargo.toml +++ b/libdd-trace-protobuf/Cargo.toml @@ -27,4 +27,4 @@ fuzzing = ["dep:bolero"] [dev-dependencies] serde_json.workspace = true -tokio = { workspace = true, features = ["macros", "rt-multi-thread"] } \ No newline at end of file +tokio = { workspace = true, features = ["macros", "rt-multi-thread"] } diff --git a/libdd-trace-stats/Cargo.toml b/libdd-trace-stats/Cargo.toml index d2716f3bb1..2c89405536 100644 --- a/libdd-trace-stats/Cargo.toml +++ b/libdd-trace-stats/Cargo.toml @@ -26,7 +26,6 @@ http = "1.1" rmp-serde = "1.3.0" serde = { workspace = true, features = ["derive"] } tokio = { workspace = true, features = ["macros", "time"] } -tokio-util = "0.7.11" tracing.workspace = true async-trait = "0.1.85" # Cross-platform `SystemTime`; `std::time::SystemTime::now()` panics on wasm32. @@ -56,5 +55,5 @@ default = ["https"] stats-obfuscation = [] telemetry = ["libdd-telemetry"] dogstatsd = ["libdd-dogstatsd-client"] -https = ["libdd-common/https", "libdd-capabilities-impl/https", "libdd-shared-runtime/https","libdd-telemetry?/https","libdd-dogstatsd-client?/https" ] -fips = ["libdd-common/fips", "libdd-capabilities-impl/fips", "libdd-shared-runtime/fips", "libdd-telemetry?/fips", "libdd-dogstatsd-client?/fips"] +https = ["libdd-common/https", "libdd-capabilities-impl/https", "libdd-telemetry?/https","libdd-dogstatsd-client?/https" ] +fips = ["libdd-common/fips", "libdd-capabilities-impl/fips", "libdd-telemetry?/fips", "libdd-dogstatsd-client?/fips"] diff --git a/tests/spawn_from_lib/Cargo.toml b/tests/spawn_from_lib/Cargo.toml index 5e43227e5a..12a344a5a3 100644 --- a/tests/spawn_from_lib/Cargo.toml +++ b/tests/spawn_from_lib/Cargo.toml @@ -15,8 +15,6 @@ bench = false prefer-dynamic = [] [dependencies] -libc.workspace = true anyhow = { version = "1.0" } spawn_worker = { path = "../../spawn_worker" } tempfile.workspace = true -io-lifetimes = { workspace = true, features = ["close"] }