mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-29 12:37:57 +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>
63 lines
1.9 KiB
TOML
63 lines
1.9 KiB
TOML
[package]
|
|
name = "sp-consensus-beefy"
|
|
version = "4.0.0-dev"
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
license = "Apache-2.0"
|
|
homepage = "https://substrate.io"
|
|
repository.workspace = true
|
|
description = "Primitives for BEEFY protocol."
|
|
|
|
[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"] }
|
|
serde = { version = "1.0.188", default-features = false, optional = true, features = ["derive", "alloc"] }
|
|
sp-api = { path = "../../api", default-features = false}
|
|
sp-application-crypto = { path = "../../application-crypto", default-features = false}
|
|
sp-core = { path = "../../core", default-features = false}
|
|
sp-io = { path = "../../io", default-features = false}
|
|
sp-mmr-primitives = { path = "../../merkle-mountain-range", default-features = false}
|
|
sp-runtime = { path = "../../runtime", default-features = false}
|
|
sp-std = { path = "../../std", default-features = false}
|
|
strum = { version = "0.24.1", features = ["derive"], default-features = false }
|
|
lazy_static = "1.4.0"
|
|
|
|
[dev-dependencies]
|
|
array-bytes = "6.1"
|
|
w3f-bls = { version = "0.1.3", features = ["std"]}
|
|
|
|
[features]
|
|
default = [ "std" ]
|
|
std = [
|
|
"codec/std",
|
|
"scale-info/std",
|
|
"serde/std",
|
|
"sp-api/std",
|
|
"sp-application-crypto/std",
|
|
"sp-core/std",
|
|
"sp-io/std",
|
|
"sp-mmr-primitives/std",
|
|
"sp-runtime/std",
|
|
"sp-std/std",
|
|
"strum/std",
|
|
]
|
|
|
|
# Serde support without relying on std features.
|
|
serde = [
|
|
"dep:serde",
|
|
"scale-info/serde",
|
|
"sp-application-crypto/serde",
|
|
"sp-core/serde",
|
|
"sp-runtime/serde",
|
|
]
|
|
|
|
# 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-application-crypto/bls-experimental",
|
|
"sp-core/bls-experimental",
|
|
]
|