Files
pezkuwi-subxt/substrate/frame/support/test/Cargo.toml
T
Oliver Tale-Yazdi e89d0fca35 Lift dependencies to the workspace (Part 2/x) (#3366)
Lifting some more dependencies to the workspace. Just using the
most-often updated ones for now.
It can be reproduced locally.

```sh
# First you can check if there would be semver incompatible bumps (looks good in this case):
$ zepter transpose dependency lift-to-workspace --ignore-errors syn quote thiserror "regex:^serde.*"

# Then apply the changes:
$ zepter transpose dependency lift-to-workspace --version-resolver=highest syn quote thiserror "regex:^serde.*" --fix

# And format the changes:
$ taplo format --config .config/taplo.toml
```

---------

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
2024-02-20 14:28:05 +00:00

82 lines
2.8 KiB
TOML

[package]
name = "frame-support-test"
version = "3.0.0"
authors.workspace = true
edition.workspace = true
license = "Apache-2.0"
publish = false
homepage = "https://substrate.io"
repository.workspace = true
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
static_assertions = "1.1.0"
serde = { features = ["derive"], workspace = true }
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"] }
frame-metadata = { version = "16.0.0", default-features = false, features = ["current"] }
sp-api = { path = "../../../primitives/api", default-features = false }
sp-arithmetic = { path = "../../../primitives/arithmetic", default-features = false }
sp-io = { path = "../../../primitives/io", default-features = false }
sp-state-machine = { path = "../../../primitives/state-machine", optional = true }
frame-support = { path = "..", default-features = false }
frame-benchmarking = { path = "../../benchmarking", default-features = false }
sp-runtime = { path = "../../../primitives/runtime", default-features = false }
sp-core = { path = "../../../primitives/core", default-features = false }
sp-std = { path = "../../../primitives/std", default-features = false }
sp-version = { path = "../../../primitives/version", default-features = false }
sp-metadata-ir = { path = "../../../primitives/metadata-ir", default-features = false }
trybuild = { version = "1.0.88", features = ["diff"] }
pretty_assertions = "1.3.0"
rustversion = "1.0.6"
frame-system = { path = "../../system", default-features = false }
frame-executive = { path = "../../executive", default-features = false }
# The "std" feature for this pallet is never activated on purpose, in order to test construct_runtime error message
test-pallet = { package = "frame-support-test-pallet", path = "pallet", default-features = false }
[features]
default = ["std"]
std = [
"codec/std",
"frame-benchmarking/std",
"frame-executive/std",
"frame-metadata/std",
"frame-support/std",
"frame-system/std",
"scale-info/std",
"serde/std",
"sp-api/std",
"sp-arithmetic/std",
"sp-core/std",
"sp-io/std",
"sp-metadata-ir/std",
"sp-runtime/std",
"sp-state-machine/std",
"sp-std/std",
"sp-version/std",
"test-pallet/std",
]
experimental = [
"frame-support/experimental",
"frame-system/experimental",
]
try-runtime = [
"frame-executive/try-runtime",
"frame-support/try-runtime",
"frame-system/try-runtime",
"sp-runtime/try-runtime",
]
# WARNING:
# Only CI runs with this feature enabled. This feature is for testing stuff related to the FRAME macros
# in conjunction with rust features.
frame-feature-testing = []
frame-feature-testing-2 = []
# Disable ui tests
disable-ui-tests = []
no-metadata-docs = ["frame-support/no-metadata-docs"]