From 9b9256ac1000a8e20e62c500c4c5cab07686a0ec Mon Sep 17 00:00:00 2001 From: Yasir Date: Fri, 30 Aug 2024 14:55:18 +0300 Subject: [PATCH] Remove all-features from CI tests --- .github/workflows/build-and-test.yml | 2 +- identity_core/Cargo.toml | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 20044e2184..ac532e3a72 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -127,7 +127,7 @@ jobs: # Build the library, tests, and examples without running them to avoid recompilation in the run tests step - name: Build with all features - run: cargo build --workspace --tests --examples --all-features --release + run: cargo build --workspace --tests --examples --release - name: Start iota sandbox if: matrix.os == 'ubuntu-latest' diff --git a/identity_core/Cargo.toml b/identity_core/Cargo.toml index 8d7881362b..27b7fe3880 100644 --- a/identity_core/Cargo.toml +++ b/identity_core/Cargo.toml @@ -17,12 +17,17 @@ serde = { workspace = true, features = ["std"] } serde_json = { workspace = true, features = ["std"] } strum.workspace = true thiserror.workspace = true -time = { version = "0.3.23", default-features = false, features = ["std", "serde", "parsing", "formatting"] } +time = { version = "0.3.23", default-features = false, features = [ + "std", + "serde", + "parsing", + "formatting", +] } url = { version = "2.4", default-features = false, features = ["serde"] } zeroize = { version = "1.6", default-features = false } [target.'cfg(all(target_arch = "wasm32", not(target_os = "wasi"), not(feature = "custom_time")))'.dependencies] -js-sys = { version = "0.3.55", default-features = false, optional = true } +js-sys = { version = "0.3.55", default-features = false } [dev-dependencies] proptest = { version = "1.0.0" }