From 857ed35db94fab6d063de672dc9829a4f69ba89f Mon Sep 17 00:00:00 2001 From: Duncan Harvey Date: Thu, 11 Dec 2025 06:22:37 -0500 Subject: [PATCH] use libdatadog commit hashes until crate publishing workflow is complete --- Cargo.lock | 18 ++++++------------ crates/datadog-serverless-compat/Cargo.toml | 2 +- crates/datadog-trace-agent/Cargo.toml | 14 +++++++++----- 3 files changed, 16 insertions(+), 18 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f075a64e..dc618d7e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1275,8 +1275,7 @@ checksum = "c19937216e9d3aa9956d9bb8dfc0b0c8beb6058fc4f7a4dc4d850edf86a237d6" [[package]] name = "libdd-common" version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee58537655793508cc5282ecf1507f15a8fa4616a08c728e01a29ee2f035e8fa" +source = "git+https://github.com/DataDog/libdatadog?rev=435107c245112397914935c0f7148a18b91cafc6#435107c245112397914935c0f7148a18b91cafc6" dependencies = [ "anyhow", "cc", @@ -1309,8 +1308,7 @@ dependencies = [ [[package]] name = "libdd-tinybytes" version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a046c137739f404448bf5afa25eb07662e572da4371f5148860c83b570fd6d9" +source = "git+https://github.com/DataDog/libdatadog?rev=435107c245112397914935c0f7148a18b91cafc6#435107c245112397914935c0f7148a18b91cafc6" dependencies = [ "serde", ] @@ -1318,8 +1316,7 @@ dependencies = [ [[package]] name = "libdd-trace-normalization" version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5bea58cf904bc80045756012b20d2ce9b15480881be47d5fedabdf5a11601a9" +source = "git+https://github.com/DataDog/libdatadog?rev=435107c245112397914935c0f7148a18b91cafc6#435107c245112397914935c0f7148a18b91cafc6" dependencies = [ "anyhow", "libdd-trace-protobuf", @@ -1328,8 +1325,7 @@ dependencies = [ [[package]] name = "libdd-trace-obfuscation" version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c48a8dd85019f39a606af89e4c121c189b3f29d620b0ea69f8ae2b44e362553" +source = "git+https://github.com/DataDog/libdatadog?rev=435107c245112397914935c0f7148a18b91cafc6#435107c245112397914935c0f7148a18b91cafc6" dependencies = [ "anyhow", "libdd-common", @@ -1346,8 +1342,7 @@ dependencies = [ [[package]] name = "libdd-trace-protobuf" version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b68085a63d80632644b2135c2102aa2d266103766fe7263911cce7536e07b42f" +source = "git+https://github.com/DataDog/libdatadog?rev=435107c245112397914935c0f7148a18b91cafc6#435107c245112397914935c0f7148a18b91cafc6" dependencies = [ "prost", "serde", @@ -1357,8 +1352,7 @@ dependencies = [ [[package]] name = "libdd-trace-utils" version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb7c359bdb49981bd769b89d5891dfe821de95e4f82419613365acdd0cf36257" +source = "git+https://github.com/DataDog/libdatadog?rev=435107c245112397914935c0f7148a18b91cafc6#435107c245112397914935c0f7148a18b91cafc6" dependencies = [ "anyhow", "bytes", diff --git a/crates/datadog-serverless-compat/Cargo.toml b/crates/datadog-serverless-compat/Cargo.toml index ab7684bc..068db284 100644 --- a/crates/datadog-serverless-compat/Cargo.toml +++ b/crates/datadog-serverless-compat/Cargo.toml @@ -7,7 +7,7 @@ description = "Binary to run trace-agent and dogstatsd servers in Serverless env [dependencies] datadog-trace-agent = { path = "../datadog-trace-agent" } -libdd-trace-utils = { version = "1.0.0" } +libdd-trace-utils = { git = "https://github.com/DataDog/libdatadog", rev = "435107c245112397914935c0f7148a18b91cafc6" } dogstatsd = { path = "../dogstatsd", default-features = true } tokio = { version = "1", features = ["macros", "rt-multi-thread"] } tokio-util = { version = "0.7", default-features = false } diff --git a/crates/datadog-trace-agent/Cargo.toml b/crates/datadog-trace-agent/Cargo.toml index b37ac42e..26b82905 100644 --- a/crates/datadog-trace-agent/Cargo.toml +++ b/crates/datadog-trace-agent/Cargo.toml @@ -20,14 +20,18 @@ async-trait = "0.1.64" tracing = { version = "0.1", default-features = false } serde = { version = "1.0.145", features = ["derive"] } serde_json = "1.0" -libdd-common = { version = "1.0.0" } -libdd-trace-obfuscation = { version = "1.0.0" } -libdd-trace-protobuf = { version = "1.0.0" } -libdd-trace-utils = { version = "1.0.0", features = ["mini_agent"] } +libdd-common = { git = "https://github.com/DataDog/libdatadog", rev = "435107c245112397914935c0f7148a18b91cafc6" } +libdd-trace-obfuscation = { git = "https://github.com/DataDog/libdatadog", rev = "435107c245112397914935c0f7148a18b91cafc6" } +libdd-trace-protobuf = { git = "https://github.com/DataDog/libdatadog", rev = "435107c245112397914935c0f7148a18b91cafc6" } +libdd-trace-utils = { git = "https://github.com/DataDog/libdatadog", rev = "435107c245112397914935c0f7148a18b91cafc6", features = [ + "mini_agent", +] } [dev-dependencies] rmp-serde = "1.1.1" serial_test = "2.0.0" duplicate = "0.4.1" tempfile = "3.3.0" -libdd-trace-utils = { version = "1.0.0", features = ["test-utils"] } +libdd-trace-utils = { git = "https://github.com/DataDog/libdatadog", rev = "435107c245112397914935c0f7148a18b91cafc6", features = [ + "test-utils", +] }