mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 07:37:57 +00:00
314109d87b
* Introduce bandersnatch vrf * Some documentation * Fix tests * Fix docs refs * Some more docs * Comments about key derivation * Make clippy happy * Fix ring context enc/dec test * Fix docs * Switch to upstream ring-vrf * Use sub-domains to construct VrfInput * Bandersnatch VRF experimental feature * Restore upstream dep * Fix feature flags * Apply typo fix Co-authored-by: Anton <anton.kalyaev@gmail.com> * Bump bandersnatch-vrfs * Weiestrass form has been selected * Rename bandersnatch testing app crypto id * Support for seed recovery * Clarified domain size <-> key size relationship * cargo fmt * Trigger CI * Some required tweaks to crypto types * Remove leftovers from Cargo.toml * Remove some TODO notes * Simplification of structs construction * Trigger CI * Apply review suggestion Co-authored-by: Koute <koute@users.noreply.github.com> * Docs typo * Fix keystore tests * Consistence * Add ref to git rependency * Static check of MAX_VRF_IOS value * Clarify behavior for out of ring keys signatures * Add test for ring-vrf to the keystore * Fix docs --------- Co-authored-by: Anton <anton.kalyaev@gmail.com> Co-authored-by: Koute <koute@users.noreply.github.com>
70 lines
2.1 KiB
TOML
70 lines
2.1 KiB
TOML
[package]
|
|
name = "sp-application-crypto"
|
|
version = "23.0.0"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2021"
|
|
description = "Provides facilities for generating application specific crypto wrapper types."
|
|
license = "Apache-2.0"
|
|
homepage = "https://substrate.io"
|
|
repository = "https://github.com/paritytech/substrate/"
|
|
documentation = "https://docs.rs/sp-application-crypto"
|
|
readme = "README.md"
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
|
|
[dependencies]
|
|
sp-core = { version = "21.0.0", default-features = false, path = "../core" }
|
|
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] }
|
|
scale-info = { version = "2.5.0", default-features = false, features = ["derive"] }
|
|
serde = { version = "1.0.163", default-features = false, optional = true, features = ["derive", "alloc"] }
|
|
sp-std = { version = "8.0.0", default-features = false, path = "../std" }
|
|
sp-io = { version = "23.0.0", default-features = false, path = "../io" }
|
|
|
|
[features]
|
|
default = [ "std" ]
|
|
std = [
|
|
"full_crypto",
|
|
"sp-core/std",
|
|
"codec/std",
|
|
"scale-info/std",
|
|
"serde/std",
|
|
"sp-std/std",
|
|
"sp-io/std",
|
|
]
|
|
|
|
# Serde support without relying on std features.
|
|
serde = [
|
|
"dep:serde",
|
|
"sp-core/serde",
|
|
"scale-info/serde",
|
|
]
|
|
|
|
# This feature enables all crypto primitives for `no_std` builds like microcontrollers
|
|
# or Intel SGX.
|
|
# For the regular wasm runtime builds this should not be used.
|
|
full_crypto = [
|
|
"sp-core/full_crypto",
|
|
# Don't add `panic_handler` and `alloc_error_handler` since they are expected to be provided
|
|
# by the user anyway.
|
|
"sp-io/disable_panic_handler",
|
|
"sp-io/disable_oom",
|
|
]
|
|
|
|
# This feature adds BLS crypto primitives.
|
|
# It should not be used in production since the implementation and interface may still
|
|
# be subject to significant changes.
|
|
bls-experimental = [
|
|
"sp-core/bls-experimental",
|
|
"sp-io/bls-experimental",
|
|
]
|
|
|
|
# This feature adds Bandersnatch crypto primitives.
|
|
# It should not be used in production since the implementation and interface may still
|
|
# be subject to significant changes.
|
|
bandersnatch-experimental = [
|
|
"sp-core/bandersnatch-experimental",
|
|
"sp-io/bandersnatch-experimental",
|
|
]
|