static precomputer secp

This commit is contained in:
Evan Feenstra
2022-06-14 13:42:12 -07:00
parent 9ccaf043f5
commit c4e97e624e
2 changed files with 7 additions and 3 deletions

View File

@@ -11,7 +11,7 @@ vls-protocol-signer = { git = "https://gitlab.com/lightning-signer/validating-li
anyhow = {version = "1", features = ["backtrace"]}
log = "0.4"
[patch.crates-io]
# Low-memory version of secp256k1 with static precomputation
secp256k1 = { git = "https://github.com/devrandom/rust-secp256k1.git", rev = "4e745ebe7e4c9cd0a7e9c8d5c42e989522e52f71" }
# [patch.crates-io]
# # Low-memory version of secp256k1 with static precomputation
# secp256k1 = { git = "https://github.com/devrandom/rust-secp256k1.git", rev = "4e745ebe7e4c9cd0a7e9c8d5c42e989522e52f71" }

View File

@@ -32,6 +32,10 @@ serde_urlencoded = "0.7.1"
serde = { version = "1.0.137", default-features = false }
serde_json = { version = "1.0.81", default-features = false }
[patch.crates-io]
# Low-memory version of secp256k1 with static precomputation
secp256k1 = { git = "https://github.com/devrandom/rust-secp256k1.git", rev = "4e745ebe7e4c9cd0a7e9c8d5c42e989522e52f71", feature = ["lowmemory"] }
[build-dependencies]
embuild = "0.29"
anyhow = "1"