Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crates io v0.18.0 #792

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4,903 changes: 3,015 additions & 1,888 deletions Cargo.lock

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,16 @@ tungstenite = { version = "0.21", optional = true, features = ["native-tls"] }
ws = { version = "0.9.2", optional = true, features = ["ssl"] }

# Substrate no_std dependencies
sp-core = { default-features = false, features = ["full_crypto", "serde"], git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
sp-crypto-hashing = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
sp-inherents = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
sp-runtime = { default-features = false, features = ["serde"], git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
sp-runtime-interface = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
sp-storage = { default-features = false, features = ["serde"], git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
sp-version = { default-features = false, features = ["serde"], git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
sp-core = { default-features = false, features = ["full_crypto", "serde"], version = "34.0.0" }
sp-crypto-hashing = { default-features = false, version = "0.1.0" }
sp-inherents = { default-features = false, version = "33.0.0" }
sp-runtime = { default-features = false, features = ["serde"], version = "38.0.0" }
sp-runtime-interface = { default-features = false, version = "28.0.0" }
sp-storage = { default-features = false, features = ["serde"], version = "21.0.0" }
sp-version = { default-features = false, features = ["serde"], version = "36.0.0" }

# substrate std / wasm only
frame-support = { optional = true, git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
frame-support = { optional = true, version = "35.0.0" }

# local deps
ac-compose-macros = { path = "compose-macros", version = "0.18", default-features = false }
Expand All @@ -67,7 +67,7 @@ ac-primitives = { path = "primitives", version = "0.18", default-features = fals

[dev-dependencies]
ac-node-api = { path = "node-api", version = "0.18", features = ["mocks"] }
kitchensink-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
kitchensink-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.13.0" }
scale-info = { version = "2.1.1", features = ["derive"] }
test-case = "3.1.0"

Expand Down
20 changes: 10 additions & 10 deletions examples/async/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@ tokio-util = "0.7.8"
wabt = "0.10.0"

# Substrate dependencies
frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
frame-system = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
kitchensink-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
pallet-identity = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
pallet-staking = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
sp-keyring = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
sp-weights = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
frame-support = { version = "35.0.0" }
frame-system = { version = "35.0.0" }
kitchensink-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.13.0" }
pallet-balances = { version = "36.0.0" }
pallet-identity = { version = "35.0.0" }
pallet-staking = { version = "35.0.0" }
sp-core = { version = "34.0.0" }
sp-keyring = { version = "38.0.0" }
sp-runtime = { version = "38.0.0" }
sp-weights = { version = "31.0.0" }

# local deps
substrate-api-client = { path = "../..", version = "0.18", features = ["staking-xt", "contracts-xt", "disable-metadata-hash-check"] }
8 changes: 4 additions & 4 deletions examples/sync/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ env_logger = "0.11"
log = "0.4.14"

# Substrate dependencies
sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
sp-keyring = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
sp-weights = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
sp-core = { version = "34.0.0" }
sp-keyring = { version = "38.0.0" }
sp-runtime = { version = "38.0.0" }
sp-weights = { version = "31.0.0" }

# local deps
substrate-api-client = { path = "../..", version = "0.18", default-features = false, features = ["tungstenite-client", "ws-client", "disable-metadata-hash-check"] }
7 changes: 4 additions & 3 deletions examples/wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ license = "Apache-2.0"
edition = "2021"

[dev-dependencies]
sp-core = { default-features = false, features = ["full_crypto", "serde"], git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
sp-runtime = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
sp-core = { default-features = false, features = ["full_crypto", "serde"], version = "34.0.0" }
sp-runtime = { default-features = false, version = "38.0.0" }
pallet-balances = { default-features = false, version = "36.0.0" }

substrate-api-client = { path = "../..", version = "0.18", default-features = false }
pallet-balances = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
10 changes: 5 additions & 5 deletions keystore/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ parking_lot = "0.12.0"
serde_json = "1.0.79"

# Substrate dependencies
sc-keystore = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
sp-application-crypto = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
sp-keyring = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
sp-keystore = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
sc-keystore = { version = "32.0.0" }
sp-application-crypto = { version = "37.0.0" }
sp-core = { version = "34.0.0" }
sp-keyring = { version = "38.0.0" }
sp-keystore = { version = "0.40.0" }

[dev-dependencies]
tempfile = "3.3.0"
12 changes: 6 additions & 6 deletions node-api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ serde = { version = "1.0.136", features = ["derive"], default-features = false }
serde_json = { version = "1.0.79", default-features = false, features = ["alloc"] }

# substrate
sp-core = { default-features = false, features = ["full_crypto", "serde"], git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
sp-crypto-hashing = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
sp-runtime = { default-features = false, features = ["serde"], git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
sp-storage = { default-features = false, features = ["serde"], git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
sp-core = { default-features = false, features = ["full_crypto", "serde"], version = "34.0.0" }
sp-crypto-hashing = { default-features = false, version = "0.1.0" }
sp-runtime = { default-features = false, features = ["serde"], version = "38.0.0" }
sp-storage = { default-features = false, features = ["serde"], version = "21.0.0" }

# need to add this for `no_std`
sp-application-crypto = { default-features = false, features = ["full_crypto"], git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
sp-runtime-interface = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
sp-application-crypto = { default-features = false, features = ["full_crypto"], version = "37.0.0" }
sp-runtime-interface = { default-features = false, version = "28.0.0" }

# local
ac-primitives = { path = "../primitives", version = "0.18", default-features = false }
Expand Down
32 changes: 16 additions & 16 deletions primitives/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,27 +19,27 @@ serde = { version = "1.0", default-features = false, features = ["derive", "allo
serde_json = { version = "1.0", default-features = false, features = ["alloc"] }

# substrate no_std
sp-core = { default-features = false, features = ["full_crypto", "serde"], git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
sp-crypto-hashing = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
sp-runtime = { default-features = false, features = ["serde"], git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
sp-runtime-interface = { default-features = false, git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
sp-staking = { default-features = false, features = ["serde"], git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
sp-version = { default-features = false, features = ["serde"], git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
sp-weights = { default-features = false, features = ["serde"], git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
sp-core = { default-features = false, features = ["full_crypto", "serde"], version = "34.0.0" }
sp-crypto-hashing = { default-features = false, version = "0.1.0" }
sp-runtime = { default-features = false, features = ["serde"], version = "38.0.0" }
sp-runtime-interface = { default-features = false, version = "28.0.0" }
sp-staking = { default-features = false, features = ["serde"], version = "33.0.0" }
sp-version = { default-features = false, features = ["serde"], version = "36.0.0" }
sp-weights = { default-features = false, features = ["serde"], version = "31.0.0" }
# need to add this for the app_crypto macro
sp-application-crypto = { default-features = false, features = ["full_crypto"], git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
sp-application-crypto = { default-features = false, features = ["full_crypto"], version = "37.0.0" }

# substrate std / wasm only
frame-system = { optional = true, git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
pallet-assets = { optional = true, git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
pallet-balances = { optional = true, git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
pallet-contracts = { optional = true, git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
pallet-staking = { optional = true, git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
frame-system = { optional = true, version = "35.0.0" }
pallet-assets = { optional = true, version = "36.0.0" }
pallet-balances = { optional = true, version = "36.0.0" }
pallet-contracts = { optional = true, version = "34.0.0" }
pallet-staking = { optional = true, version = "35.0.0" }

[dev-dependencies]
solochain-template-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
sp-keyring = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
pallet-transaction-payment = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
solochain-template-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.13.0" }
sp-keyring = { version = "38.0.0" }
pallet-transaction-payment = { version = "35.0.0" }

[features]
default = ["std"]
Expand Down
2 changes: 1 addition & 1 deletion test-no-std/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ ac-primitives = { path = "../primitives", version = "0.18", default-features = f
substrate-api-client = { path = "..", version = "0.18", default-features = false, optional = true, features = ["disable_target_static_assertions", "sync-api"] }

# substrate dependencies
sp-io = { default-features = false, features = ["disable_oom", "disable_panic_handler"], git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
sp-io = { default-features = false, features = ["disable_oom", "disable_panic_handler"], version = "37.0.0" }

[features]
# It is better to test the no-std crates standalone (don't enable both features at the same time) because dependency
Expand Down
18 changes: 9 additions & 9 deletions testing/async/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ jsonrpsee = { version = "0.22", features = ["async-client", "client-ws-transport


# Substrate dependencies
frame-support = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
kitchensink-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
sp-crypto-hashing = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
sp-keyring = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
sp-staking = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
pallet-staking = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
frame-support = { version = "35.0.0" }
kitchensink-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "release-polkadot-v1.13.0" }
sp-core = { version = "34.0.0" }
sp-crypto-hashing = { version = "0.1.0" }
sp-keyring = { version = "38.0.0" }
sp-runtime = { version = "38.0.0" }
sp-staking = { version = "33.0.0" }
pallet-balances = { version = "36.0.0" }
pallet-staking = { version = "35.0.0" }

# local deps
substrate-api-client = { path = "../..", version = "0.18", features = ["staking-xt", "contracts-xt", "disable-metadata-hash-check"] }
6 changes: 3 additions & 3 deletions testing/sync/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ edition = "2021"

[dev-dependencies]
# Substrate dependencies
sp-application-crypto = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
sp-core = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
sp-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" }
sp-application-crypto = { version = "37.0.0" }
sp-core = { version = "34.0.0" }
sp-runtime = { version = "38.0.0" }

# local deps
substrate-api-client = { path = "../..", version = "0.18", default-features = false, features = ["tungstenite-client", "ws-client", "disable-metadata-hash-check"] }
Expand Down
Loading