From 0431d90f29c630d8ee1833a5b2c4e565e883f4ab Mon Sep 17 00:00:00 2001 From: DaniPopes <57450786+DaniPopes@users.noreply.github.com> Date: Fri, 15 Mar 2024 23:10:28 +0100 Subject: [PATCH] chore: no-default-features k256 Allows no_std --- Cargo.toml | 2 +- crates/primitives/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 68318f3e48..5e72f6bcf0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -46,7 +46,7 @@ paste = "1.0" num_enum = "0.7" thiserror = "1.0" -k256 = "0.13" +k256 = { version = "0.13", default-features = false } keccak-asm = { version = "0.1.0", default-features = false } tiny-keccak = "2.0" diff --git a/crates/primitives/Cargo.toml b/crates/primitives/Cargo.toml index 1e3a086ad0..3d5fb7918c 100644 --- a/crates/primitives/Cargo.toml +++ b/crates/primitives/Cargo.toml @@ -46,7 +46,7 @@ getrandom = { workspace = true, optional = true } rand = { workspace = true, optional = true, features = ["getrandom"] } # k256 -k256 = { workspace = true, optional = true } +k256 = { workspace = true, optional = true, features = ["ecdsa"] } # arbitrary arbitrary = { workspace = true, optional = true }