Files
pezkuwi-subxt/substrate/primitives/application-crypto/Cargo.toml
T
2023-06-26 19:10:16 +02:00

58 lines
1.8 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 BLS implementation and interface may still be subject to significant change.
bls-experimental = [ "sp-core/bls-experimental" ]