From a9fbd766d2c2c7279a067c583780a6714628aa5f Mon Sep 17 00:00:00 2001 From: Oliver Tale-Yazdi Date: Mon, 31 Oct 2022 13:04:51 +0100 Subject: [PATCH] Use git instead of crates.io for Substrate Signed-off-by: Oliver Tale-Yazdi --- examples/Cargo.toml | 2 +- metadata/Cargo.toml | 2 +- subxt/Cargo.toml | 4 ++-- testing/integration-tests/Cargo.toml | 6 +++--- testing/test-runtime/Cargo.toml | 4 ++-- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/examples/Cargo.toml b/examples/Cargo.toml index c83b4ac568..2735ce85c9 100644 --- a/examples/Cargo.toml +++ b/examples/Cargo.toml @@ -14,7 +14,7 @@ description = "Subxt example usage" [dev-dependencies] subxt = { path = "../subxt" } tokio = { version = "1.8", features = ["rt-multi-thread", "macros", "time"] } -sp-keyring = "6.0.0" +sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } futures = "0.3.13" codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive", "full", "bit-vec"] } hex = "0.4.3" diff --git a/metadata/Cargo.toml b/metadata/Cargo.toml index 122ec379d5..d0de57e81a 100644 --- a/metadata/Cargo.toml +++ b/metadata/Cargo.toml @@ -15,7 +15,7 @@ description = "Command line utilities for checking metadata compatibility betwee codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive", "full"] } frame-metadata = "15.0.0" scale-info = "2.0.0" -sp-core = { version = "6.0.0" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } [dev-dependencies] bitvec = { version = "1.0.0", default-features = false, features = ["alloc"] } diff --git a/subxt/Cargo.toml b/subxt/Cargo.toml index 67dc9eaae1..892ed36c58 100644 --- a/subxt/Cargo.toml +++ b/subxt/Cargo.toml @@ -42,8 +42,8 @@ parking_lot = "0.12.0" subxt-macro = { version = "0.24.0", path = "../macro" } subxt-metadata = { version = "0.24.0", path = "../metadata" } -sp-core = { version = "6.0.0", default-features = false } -sp-runtime = "6.0.0" +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } frame-metadata = "15.0.0" derivative = "2.2.0" diff --git a/testing/integration-tests/Cargo.toml b/testing/integration-tests/Cargo.toml index 2c398845a5..58e9ccf94e 100644 --- a/testing/integration-tests/Cargo.toml +++ b/testing/integration-tests/Cargo.toml @@ -22,9 +22,9 @@ futures = "0.3.13" hex = "0.4.3" regex = "1.5.0" scale-info = { version = "2.0.0", features = ["bit-vec"] } -sp-core = { version = "6.0.0", default-features = false } -sp-keyring = "6.0.0" -sp-runtime = "6.0.0" +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } syn = "1.0.0" subxt = { version = "0.24.0", path = "../../subxt" } subxt-codegen = { version = "0.24.0", path = "../../codegen" } diff --git a/testing/test-runtime/Cargo.toml b/testing/test-runtime/Cargo.toml index ba7314e55c..1b08b6d18b 100644 --- a/testing/test-runtime/Cargo.toml +++ b/testing/test-runtime/Cargo.toml @@ -5,12 +5,12 @@ edition = "2021" [dependencies] subxt = { path = "../../subxt" } -sp-runtime = "6.0.0" +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive", "full", "bit-vec"] } [build-dependencies] subxt = { path = "../../subxt" } -sp-core = "6.0.0" +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } tokio = { version = "1.8", features = ["macros", "rt-multi-thread"] } which = "4.2.2" jsonrpsee = { version = "0.15.1", features = ["async-client", "client-ws-transport"] }