mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 21:41:12 +00:00
Restrict Protected to some heap types. (#6471)
* Restrict `Protected` to some heap types. * Comment abut Protected usage. * Remove Protected from crypto, use secrecy crate for existing uses. * use a parse function * fix error convert * Rename and move secretY string function. * std result
This commit is contained in:
@@ -31,6 +31,7 @@ tiny-bip39 = { version = "0.7", optional = true }
|
||||
regex = { version = "1.3.1", optional = true }
|
||||
num-traits = { version = "0.2.8", default-features = false }
|
||||
zeroize = { version = "1.0.0", default-features = false }
|
||||
secrecy = { version = "0.6.0", default-features = false }
|
||||
lazy_static = { version = "1.4.0", default-features = false, optional = true }
|
||||
parking_lot = { version = "0.10.0", optional = true }
|
||||
sp-debug-derive = { version = "2.0.0-rc4", path = "../debug-derive" }
|
||||
@@ -106,6 +107,7 @@ std = [
|
||||
"sp-storage/std",
|
||||
"sp-runtime-interface/std",
|
||||
"zeroize/alloc",
|
||||
"secrecy/alloc",
|
||||
"futures",
|
||||
"futures/thread-pool",
|
||||
"libsecp256k1/std",
|
||||
|
||||
Reference in New Issue
Block a user