mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 16:57:58 +00:00
4a44356773
Adds a config file that allows to run `zepter` without any arguments in the workspace to address all issues. A secondary workflow for the CI is provided as `zepter run check`. Both the formatting and linting are now in one check for efficiancy. The latest version also detects some more things that `featalign` was already showing. Error message [in the CI](https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/3916205) now looks like this: ```pre ... crate 'test-parachains' (/Users/vados/Documents/work/polkadot-sdk/polkadot/parachain/test-parachains/Cargo.toml) feature 'std' must propagate to: parity-scale-codec Found 55 issues (run with --fix to fix). Error: Command 'lint propagate-feature' failed with exit code 1 Polkadot-SDK uses the Zepter CLI to detect abnormalities in the feature configuration. It looks like one more more checks failed; please check the console output. You can try to automatically address them by running `zepter`. Otherwise please ask directly in the Merge Request, GitHub Discussions or on Matrix Chat, thank you. For more information, see: - https://github.com/paritytech/polkadot-sdk/issues/1831 - https://github.com/ggwpez/zepter ``` TODO: - [x] Check that CI fails correctly --------- Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
65 lines
1.9 KiB
TOML
65 lines
1.9 KiB
TOML
[package]
|
|
name = "sp-statement-store"
|
|
version = "4.0.0-dev"
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
license = "Apache-2.0"
|
|
homepage = "https://substrate.io"
|
|
repository.workspace = true
|
|
description = "A crate which contains primitives related to the statement store"
|
|
readme = "README.md"
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
[dependencies]
|
|
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ["derive"] }
|
|
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] }
|
|
sp-core = { path = "../core", default-features = false}
|
|
sp-runtime = { path = "../runtime", default-features = false}
|
|
sp-std = { path = "../std", default-features = false}
|
|
sp-api = { path = "../api", default-features = false}
|
|
sp-application-crypto = { path = "../application-crypto", default-features = false}
|
|
sp-runtime-interface = { path = "../runtime-interface", default-features = false}
|
|
sp-externalities = { path = "../externalities", default-features = false}
|
|
thiserror = { version = "1.0", optional = true }
|
|
|
|
# ECIES dependencies
|
|
ed25519-dalek = { version = "2.0.0", optional = true }
|
|
x25519-dalek = { version = "2.0.0", optional = true, features = ["static_secrets"] }
|
|
curve25519-dalek = { version = "4.0.0", optional = true }
|
|
aes-gcm = { version = "0.10", optional = true }
|
|
hkdf = { version = "0.12.0", optional = true }
|
|
sha2 = { version = "0.10.7", optional = true }
|
|
rand = { version = "0.8.5", features = ["small_rng"], optional = true }
|
|
|
|
[features]
|
|
default = [ "std" ]
|
|
std = [
|
|
"aes-gcm",
|
|
"aes-gcm?/std",
|
|
"codec/std",
|
|
"curve25519-dalek",
|
|
"ed25519-dalek",
|
|
"hkdf",
|
|
"hkdf?/std",
|
|
"rand",
|
|
"scale-info/std",
|
|
"sha2",
|
|
"sp-api/std",
|
|
"sp-application-crypto/std",
|
|
"sp-core/std",
|
|
"sp-externalities/std",
|
|
"sp-runtime-interface/std",
|
|
"sp-runtime/std",
|
|
"sp-std/std",
|
|
"thiserror",
|
|
"x25519-dalek",
|
|
]
|
|
serde = [
|
|
"scale-info/serde",
|
|
"sp-application-crypto/serde",
|
|
"sp-core/serde",
|
|
"sp-runtime/serde",
|
|
]
|