Skip to content

Commit

Permalink
deactivate hmac feature of libsecp256k1 where not needed (solana-labs…
Browse files Browse the repository at this point in the history
…#1286)

* don't activate the hmac feature of libsecp256k1 in the workspace, but keep the other default features

* activate the hmac feature of libsecp256k1 in solana-sdk
  • Loading branch information
kevinheavey committed May 13, 2024
1 parent 6d2fd23 commit af6930d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,10 @@ lazy-lru = "0.1.2"
lazy_static = "1.4.0"
libc = "0.2.153"
libloading = "0.7.4"
libsecp256k1 = "0.6.0"
libsecp256k1 = { version = "0.6.0", default-features = false, features = [
"std",
"static-context",
] }
light-poseidon = "0.2.0"
log = "0.4.21"
lru = "0.7.7"
Expand Down
2 changes: 1 addition & 1 deletion sdk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ generic-array = { workspace = true, features = ["serde", "more_lengths"], option
hmac = { workspace = true }
itertools = { workspace = true }
lazy_static = { workspace = true }
libsecp256k1 = { workspace = true, optional = true }
libsecp256k1 = { workspace = true, optional = true, features = ["hmac"] }
log = { workspace = true }
memmap2 = { workspace = true, optional = true }
num-derive = { workspace = true }
Expand Down

0 comments on commit af6930d

Please sign in to comment.