From 0bc3aa835b4c182e44c2a7a11b0e4f018b00341a Mon Sep 17 00:00:00 2001 From: b-avb Date: Mon, 3 Jun 2024 13:05:15 -0500 Subject: [PATCH] add rand_core dep in feat js --- sube/Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sube/Cargo.toml b/sube/Cargo.toml index 37ce4c0..afc6caf 100644 --- a/sube/Cargo.toml +++ b/sube/Cargo.toml @@ -53,7 +53,7 @@ rand_core = "0.6.3" [features] default = ["v14"] -test = ["std", "wss", "ws", "http", "json", "v14", "dep:async-std"] +test = ["std", "wss", "ws", "http", "json", "v14", "dep:async-std", "dep:rand_core"] http = ["dep:jsonrpc", "surf/h1-client-rustls"] http-web = ["dep:jsonrpc", "dep:wasm-bindgen", "surf/wasm-client"] json = ["scales/json"] @@ -63,7 +63,7 @@ v14 = ["dep:scale-info", "frame-metadata/current"] ws = ["dep:async-mutex", "dep:async-std", "dep:ewebsock", "dep:futures-channel", "dep:futures-util", "dep:jsonrpc", "async-std/unstable"] wss = ["dep:async-tls", "ws", "ewebsock/tls", "async-std/unstable"] examples = ["dep:rand_core"] -js = ["http-web", "json", "v14", 'async-std/unstable', "ws"] +js = ["http-web", "json", "v14", 'async-std/unstable', "ws", "dep:rand_core"] [package.metadata.docs.rs] features = ["http"]