diff --git a/.github/workflows/no_std_build.yml b/.github/workflows/no_std_build.yml index 2179ae12..d15afdd0 100644 --- a/.github/workflows/no_std_build.yml +++ b/.github/workflows/no_std_build.yml @@ -26,4 +26,4 @@ jobs: - name: Build MLS Embedded Full RFC Compliance run: cargo +nightly build --package mls-rs --lib --no-default-features --features rfc_compliant --target thumbv6m-none-eabi - name: Build rust crypto embedded - run: cargo +nightly build --package mls-rs-crypto-rustcrypto --no-default-features --target thumbv6m-none-eabi + run: cargo +nightly build --package mls-rs-crypto-rustcrypto --no-default-features --features "getrandom/custom" --target thumbv6m-none-eabi diff --git a/mls-rs-crypto-rustcrypto/Cargo.toml b/mls-rs-crypto-rustcrypto/Cargo.toml index fcec415e..01b39880 100644 --- a/mls-rs-crypto-rustcrypto/Cargo.toml +++ b/mls-rs-crypto-rustcrypto/Cargo.toml @@ -37,7 +37,7 @@ thiserror = { version = "1.0.40", optional = true } zeroize = { version = "1", default-features = false, features = ["alloc", "zeroize_derive"] } # Random -getrandom = { version = "0.2", default-features = false, features = ["custom"] } +getrandom = { version = "0.2", default-features = false, optional = true } rand_core = { version = "0.6", default-features = false, features = ["alloc"] } # AEAD