From 852fc5ca4e9339dcbbe025a66e9d4a4bac411586 Mon Sep 17 00:00:00 2001 From: Clement Rey Date: Mon, 26 Jun 2023 15:19:42 +0200 Subject: [PATCH 1/2] fix missing feature flags for benchmarks --- crates/re_components/Cargo.toml | 2 +- crates/re_sdk_comms/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/re_components/Cargo.toml b/crates/re_components/Cargo.toml index 118c8488cf6a..da09f8b711fe 100644 --- a/crates/re_components/Cargo.toml +++ b/crates/re_components/Cargo.toml @@ -63,7 +63,7 @@ uuid = { version = "1.1", features = ["serde", "v4", "js"] } ecolor = { workspace = true, optional = true } glam = { workspace = true, optional = true } image = { workspace = true, optional = true, default-features = false } -rand = { workspace = true, optional = true } +rand = { workspace = true, optional = true , features = ["std", "std_rng"] } serde = { version = "1", optional = true, features = ["derive", "rc"] } zune-core = { version = "0.2", optional = true } zune-jpeg = { version = "0.3", optional = true } diff --git a/crates/re_sdk_comms/Cargo.toml b/crates/re_sdk_comms/Cargo.toml index a300879dba6b..86f223baa080 100644 --- a/crates/re_sdk_comms/Cargo.toml +++ b/crates/re_sdk_comms/Cargo.toml @@ -33,6 +33,6 @@ re_smart_channel.workspace = true ahash.workspace = true crossbeam.workspace = true document-features = "0.2" -rand = { workspace = true, features = ["small_rng"] } +rand = { workspace = true, features = ["std", "std_rng", "small_rng"] } thiserror.workspace = true tokio.workspace = true From 9cd1c36bdf03edc92719ac0ec745cc61a72f84c7 Mon Sep 17 00:00:00 2001 From: Clement Rey Date: Mon, 26 Jun 2023 15:21:57 +0200 Subject: [PATCH 2/2] fmt --- crates/re_components/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/re_components/Cargo.toml b/crates/re_components/Cargo.toml index da09f8b711fe..a55f70ace334 100644 --- a/crates/re_components/Cargo.toml +++ b/crates/re_components/Cargo.toml @@ -63,7 +63,7 @@ uuid = { version = "1.1", features = ["serde", "v4", "js"] } ecolor = { workspace = true, optional = true } glam = { workspace = true, optional = true } image = { workspace = true, optional = true, default-features = false } -rand = { workspace = true, optional = true , features = ["std", "std_rng"] } +rand = { workspace = true, optional = true, features = ["std", "std_rng"] } serde = { version = "1", optional = true, features = ["derive", "rc"] } zune-core = { version = "0.2", optional = true } zune-jpeg = { version = "0.3", optional = true }