From 727542173551b5200fd3ff06ca1655d469dd8b40 Mon Sep 17 00:00:00 2001 From: Felix Hilgers Date: Wed, 18 Dec 2024 08:59:35 +0100 Subject: [PATCH] build: clean up dependencies Signed-off-by: Felix Hilgers --- rust/Cargo.lock | 1 - rust/Cargo.toml | 7 +++++++ rust/backend/daemon/Cargo.toml | 15 +++++++-------- 3 files changed, 14 insertions(+), 9 deletions(-) diff --git a/rust/Cargo.lock b/rust/Cargo.lock index b922fb6c..18e41e1c 100644 --- a/rust/Cargo.lock +++ b/rust/Cargo.lock @@ -473,7 +473,6 @@ dependencies = [ "crossbeam", "flume", "fmmap", - "futures", "libc", "object", "procfs", diff --git a/rust/Cargo.toml b/rust/Cargo.toml index dfda1755..ddf51713 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -72,6 +72,13 @@ object = "0.36.5" bytemuck = { version = "1.20.0" } crossbeam = "0.8.4" ractor = { version = "0.13.4", default-features = false } +async-walkdir = "2.0.0" +tokio-process-stream = "0.4.0" +symbolic-demangle = { version = "12.12.3", default-features = false, features = ["cpp", "rust"] } +symbolic-common = "12.12.3" +tantivy = { version = "0.22.0", features = ["mmap", "zstd-compression"], default-features = false } +fmmap = { version = "0.3.3", default-features = false, features = ["tokio-async"] } +flume = { version = "0.11.1", default-features = false, features = ["async"] } [profile.release.package.backend-ebpf] debug = 2 diff --git a/rust/backend/daemon/Cargo.toml b/rust/backend/daemon/Cargo.toml index 84928f4e..5f758991 100644 --- a/rust/backend/daemon/Cargo.toml +++ b/rust/backend/daemon/Cargo.toml @@ -33,14 +33,13 @@ serde = { workspace = true } crossbeam = { workspace = true } bytemuck = { workspace = true } ractor = { workspace = true, features = ["tokio_runtime"] } -async-walkdir = "2.0.0" -tokio-process-stream = "0.4.0" -symbolic-demangle = { version = "12.12.3", default-features = false, features = ["cpp", "rust"] } -symbolic-common = "12.12.3" -futures = "0.3.31" -tantivy = { version = "0.22.0", features = ["mmap", "zstd-compression"], default-features = false } -fmmap = { version = "0.3.3", default-features = false, features = ["tokio-async"] } -flume = { version = "0.11.1", default-features = false, features = ["async"] } +async-walkdir = { workspace = true } +tokio-process-stream = { workspace = true } +symbolic-demangle = { workspace = true } +symbolic-common = { workspace = true } +tantivy = { workspace = true } +fmmap = { workspace = true } +flume = { workspace = true } [build-dependencies] cargo_metadata = { workspace = true }