no_std compatibility for subxt-signer (#1477)

* subxt-signer no-std

* impl error

* address james comments

* fix signer wasm tests

* error impl for secret uri error
This commit is contained in:
Tadeo Hepperle
2024-03-14 11:04:27 +01:00
committed by GitHub
parent 8bdd276d2f
commit 4831f816f2
18 changed files with 353 additions and 196 deletions
Generated
+14 -1
View File
@@ -2865,6 +2865,17 @@ dependencies = [
"windows-targets 0.48.5",
]
[[package]]
name = "password-hash"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "346f04948ba92c43e8469c1ee6736c7563d71012b17d40745260fe106aac2166"
dependencies = [
"base64ct",
"rand_core 0.6.4",
"subtle",
]
[[package]]
name = "paste"
version = "1.0.14"
@@ -2887,6 +2898,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f8ed6a7761f76e3b9f92dfb0a60a6a6477c61024b775147ff0973a02653abaf2"
dependencies = [
"digest 0.10.7",
"password-hash",
]
[[package]]
@@ -4660,6 +4672,8 @@ name = "subxt-signer"
version = "0.34.0"
dependencies = [
"bip39",
"cfg-if",
"derive_more",
"getrandom",
"hex",
"hmac 0.12.1",
@@ -4674,7 +4688,6 @@ dependencies = [
"sp-core-hashing",
"sp-keyring",
"subxt",
"thiserror",
"zeroize",
]