mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 09:21:05 +00:00
Remove secp256k1 from WASM build (#5187)
* Remove `secp256k1` from WASM build * Bring back full public key parse on native * Add extra method to create from a full public key
This commit is contained in:
@@ -33,7 +33,6 @@ parking_lot = { version = "0.10.0", optional = true }
|
||||
sp-debug-derive = { version = "2.0.0-alpha.2", path = "../debug-derive" }
|
||||
sp-externalities = { version = "0.8.0-alpha.2", optional = true, path = "../externalities" }
|
||||
sp-storage = { version = "2.0.0-alpha.2", default-features = false, path = "../storage" }
|
||||
libsecp256k1 = { version = "0.3.2", default-features = false, features = ["hmac"] }
|
||||
parity-util-mem = { version = "0.5.1", default-features = false, features = ["primitive-types"] }
|
||||
|
||||
# full crypto
|
||||
@@ -44,6 +43,7 @@ schnorrkel = { version = "0.8.5", features = ["preaudit_deprecated", "u64_backen
|
||||
sha2 = { version = "0.8.0", default-features = false, optional = true }
|
||||
hex = { version = "0.4", default-features = false, optional = true }
|
||||
twox-hash = { version = "1.5.0", default-features = false, optional = true }
|
||||
libsecp256k1 = { version = "0.3.2", default-features = false, features = ["hmac"], optional = true }
|
||||
|
||||
sp-runtime-interface = { version = "2.0.0-alpha.2", default-features = false, path = "../runtime-interface" }
|
||||
|
||||
@@ -116,5 +116,6 @@ full_crypto = [
|
||||
"hex",
|
||||
"sha2",
|
||||
"twox-hash",
|
||||
"libsecp256k1",
|
||||
"sp-runtime-interface/disable_target_static_assertions",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user