From 445d048f232c2077f5ced64aeb7c9f0389888495 Mon Sep 17 00:00:00 2001 From: Hailey Somerville Date: Thu, 14 Sep 2023 17:46:27 +1000 Subject: [PATCH] remove rand from bark-protocol dependencies --- Cargo.lock | 1 - Cargo.toml | 1 - bark-protocol/Cargo.toml | 1 - bark/Cargo.toml | 2 +- 4 files changed, 1 insertion(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 1001cf0..ecfe9ba 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -98,7 +98,6 @@ dependencies = [ "bitflags 2.4.0", "bytemuck", "derive_more", - "rand", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index d94ecc0..aabe7b9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,4 +13,3 @@ bark-protocol = { path = "bark-protocol" } bitflags = { version = "2.4.0", features = ["bytemuck"] } bytemuck = { version = "1.13", features = ["derive"] } derive_more = { version = "0.99" } -rand = { version = "0.8.5", no-default-features = true } diff --git a/bark-protocol/Cargo.toml b/bark-protocol/Cargo.toml index f717490..c95d4f8 100644 --- a/bark-protocol/Cargo.toml +++ b/bark-protocol/Cargo.toml @@ -9,4 +9,3 @@ bark-alloc = { workspace = true } bitflags = { workspace = true } bytemuck = { workspace = true } derive_more = { workspace = true } -rand = { workspace = true } diff --git a/bark/Cargo.toml b/bark/Cargo.toml index 27435cf..4f03b55 100644 --- a/bark/Cargo.toml +++ b/bark/Cargo.toml @@ -15,7 +15,7 @@ cpal = "0.15.2" derive_more = { workspace = true } libc = "0.2.147" nix = { version = "0.26.2", features = ["time", "socket", "net", "poll", "user", "hostname"], default-features = false } -rand = { workspace = true, features = ["default"] } +rand = "0.8.5" serde = { version = "1.0.183", features = ["derive"] } serde_json = "1.0.105" socket2 = "0.5.3"