Skip to content
Snippets Groups Projects
Unverified Commit 7daf41b3 authored by Xiliang Chen's avatar Xiliang Chen Committed by GitHub
Browse files

fix build (#44)

parent 4fe90086
No related branches found
No related tags found
No related merge requests found
...@@ -8,7 +8,7 @@ edition = "2018" ...@@ -8,7 +8,7 @@ edition = "2018"
serde = { version = "1.0", optional = true } serde = { version = "1.0", optional = true }
codec = { package = "parity-scale-codec", version = "1.0.0", default-features = false } codec = { package = "parity-scale-codec", version = "1.0.0", default-features = false }
sr-primitives = { git = "https://github.com/paritytech/substrate.git", default-features = false } sr-primitives = { git = "https://github.com/paritytech/substrate.git", default-features = false }
runtime_io = { package = "sr-io", git = "https://github.com/paritytech/substrate.git", default-features = false } runtime-io = { package = "sr-io", git = "https://github.com/paritytech/substrate.git", default-features = false }
rstd = { package = "sr-std", git = "https://github.com/paritytech/substrate.git", default-features = false } rstd = { package = "sr-std", git = "https://github.com/paritytech/substrate.git", default-features = false }
frame-support = { git = "https://github.com/paritytech/substrate.git", default-features = false } frame-support = { git = "https://github.com/paritytech/substrate.git", default-features = false }
...@@ -18,7 +18,7 @@ orml-traits = { path = "../traits", default-features = false } ...@@ -18,7 +18,7 @@ orml-traits = { path = "../traits", default-features = false }
orml-utilities = { path = "../utilities", default-features = false } orml-utilities = { path = "../utilities", default-features = false }
[dev-dependencies] [dev-dependencies]
primitives = { package = "substrate-primitives", git = "https://github.com/paritytech/substrate.git" } primitives = { package = "substrate-primitives", git = "https://github.com/paritytech/substrate.git", default-features = false }
clear_on_drop = { version = "0.2.3", features = ["no_cc"] } # https://github.com/paritytech/substrate/issues/4179 clear_on_drop = { version = "0.2.3", features = ["no_cc"] } # https://github.com/paritytech/substrate/issues/4179
...@@ -28,7 +28,7 @@ std = [ ...@@ -28,7 +28,7 @@ std = [
"serde", "serde",
"codec/std", "codec/std",
"sr-primitives/std", "sr-primitives/std",
"runtime_io/std", "runtime-io/std",
"rstd/std", "rstd/std",
"frame-support/std", "frame-support/std",
"frame-system/std", "frame-system/std",
......
...@@ -17,7 +17,7 @@ frame-system = { git = "https://github.com/paritytech/substrate.git", default-fe ...@@ -17,7 +17,7 @@ frame-system = { git = "https://github.com/paritytech/substrate.git", default-fe
orml-traits = { path = "../traits", default-features = false } orml-traits = { path = "../traits", default-features = false }
[dev-dependencies] [dev-dependencies]
primitives = { package = "substrate-primitives", git = "https://github.com/paritytech/substrate.git" } primitives = { package = "substrate-primitives", git = "https://github.com/paritytech/substrate.git", default-features = false }
pallet-balances = { package = "pallet-balances", git = "https://github.com/paritytech/substrate.git" } pallet-balances = { package = "pallet-balances", git = "https://github.com/paritytech/substrate.git" }
tokens = { package = "orml-tokens", path = "../tokens" } tokens = { package = "orml-tokens", path = "../tokens" }
......
...@@ -8,9 +8,8 @@ edition = "2018" ...@@ -8,9 +8,8 @@ edition = "2018"
serde = { version = "1.0", optional = true } serde = { version = "1.0", optional = true }
codec = { package = "parity-scale-codec", version = "1.0.0", default-features = false } codec = { package = "parity-scale-codec", version = "1.0.0", default-features = false }
sr-primitives = { git = "https://github.com/paritytech/substrate.git", default-features = false } sr-primitives = { git = "https://github.com/paritytech/substrate.git", default-features = false }
runtime_io = { package = "sr-io", git = "https://github.com/paritytech/substrate.git", default-features = false } runtime-io = { package = "sr-io", git = "https://github.com/paritytech/substrate.git", default-features = false }
rstd = { package = "sr-std", git = "https://github.com/paritytech/substrate.git", default-features = false } rstd = { package = "sr-std", git = "https://github.com/paritytech/substrate.git", default-features = false }
primitives = { git = "https://github.com/paritytech/substrate.git", package = "substrate-primitives", default-features = false }
frame-support = { git = "https://github.com/paritytech/substrate.git", default-features = false } frame-support = { git = "https://github.com/paritytech/substrate.git", default-features = false }
frame-system = { git = "https://github.com/paritytech/substrate.git", default-features = false } frame-system = { git = "https://github.com/paritytech/substrate.git", default-features = false }
...@@ -19,6 +18,7 @@ orml-traits = { path = "../traits", default-features = false } ...@@ -19,6 +18,7 @@ orml-traits = { path = "../traits", default-features = false }
orml-utilities = { path = "../utilities", default-features = false } orml-utilities = { path = "../utilities", default-features = false }
[dev-dependencies] [dev-dependencies]
primitives = { git = "https://github.com/paritytech/substrate.git", package = "substrate-primitives", default-features = false }
pallet-timestamp = { git = "https://github.com/paritytech/substrate.git" } pallet-timestamp = { git = "https://github.com/paritytech/substrate.git" }
clear_on_drop = { version = "0.2.3", features = ["no_cc"] } # https://github.com/paritytech/substrate/issues/4179 clear_on_drop = { version = "0.2.3", features = ["no_cc"] } # https://github.com/paritytech/substrate/issues/4179
...@@ -29,11 +29,10 @@ std = [ ...@@ -29,11 +29,10 @@ std = [
"serde", "serde",
"codec/std", "codec/std",
"sr-primitives/std", "sr-primitives/std",
"runtime_io/std", "runtime-io/std",
"rstd/std", "rstd/std",
"primitives/std",
"frame-support/std", "frame-support/std",
"frame-system/std", "frame-system/std",
"orml-utilities/std",
"orml-traits/std", "orml-traits/std",
"orml-utilities/std",
] ]
...@@ -8,7 +8,7 @@ edition = "2018" ...@@ -8,7 +8,7 @@ edition = "2018"
serde = { version = "1.0", optional = true } serde = { version = "1.0", optional = true }
codec = { package = "parity-scale-codec", version = "1.0.0", default-features = false } codec = { package = "parity-scale-codec", version = "1.0.0", default-features = false }
sr-primitives = { git = "https://github.com/paritytech/substrate.git", default-features = false } sr-primitives = { git = "https://github.com/paritytech/substrate.git", default-features = false }
runtime_io = { package = "sr-io", git = "https://github.com/paritytech/substrate.git", default-features = false } runtime-io = { package = "sr-io", git = "https://github.com/paritytech/substrate.git", default-features = false }
frame-support = { git = "https://github.com/paritytech/substrate.git", default-features = false } frame-support = { git = "https://github.com/paritytech/substrate.git", default-features = false }
frame-system = { git = "https://github.com/paritytech/substrate.git", default-features = false } frame-system = { git = "https://github.com/paritytech/substrate.git", default-features = false }
...@@ -17,7 +17,7 @@ orml-traits = { path = "../traits", default-features = false } ...@@ -17,7 +17,7 @@ orml-traits = { path = "../traits", default-features = false }
orml-utilities = { path = "../utilities", default-features = false } orml-utilities = { path = "../utilities", default-features = false }
[dev-dependencies] [dev-dependencies]
primitives = { package = "substrate-primitives", git = "https://github.com/paritytech/substrate.git" } primitives = { package = "substrate-primitives", git = "https://github.com/paritytech/substrate.git", default-features = false }
clear_on_drop = { version = "0.2.3", features = ["no_cc"] } # https://github.com/paritytech/substrate/issues/4179 clear_on_drop = { version = "0.2.3", features = ["no_cc"] } # https://github.com/paritytech/substrate/issues/4179
...@@ -26,7 +26,7 @@ default = ["std"] ...@@ -26,7 +26,7 @@ default = ["std"]
std = [ std = [
"serde", "serde",
"codec/std", "codec/std",
"runtime_io/std", "runtime-io/std",
"sr-primitives/std", "sr-primitives/std",
"frame-support/std", "frame-support/std",
"frame-system/std", "frame-system/std",
......
...@@ -18,7 +18,7 @@ orml-traits = { path = "../traits", default-features = false } ...@@ -18,7 +18,7 @@ orml-traits = { path = "../traits", default-features = false }
orml-utilities = { path = "../utilities", default-features = false } orml-utilities = { path = "../utilities", default-features = false }
[dev-dependencies] [dev-dependencies]
primitives = { package = "substrate-primitives", git = "https://github.com/paritytech/substrate.git" } primitives = { package = "substrate-primitives", git = "https://github.com/paritytech/substrate.git", default-features = false }
clear_on_drop = { version = "0.2.3", features = ["no_cc"] } # https://github.com/paritytech/substrate/issues/4179 clear_on_drop = { version = "0.2.3", features = ["no_cc"] } # https://github.com/paritytech/substrate/issues/4179
......
...@@ -8,14 +8,12 @@ edition = "2018" ...@@ -8,14 +8,12 @@ edition = "2018"
serde = { version = "1.0", optional = true } serde = { version = "1.0", optional = true }
codec = { package = "parity-scale-codec", version = "1.0.0", default-features = false } codec = { package = "parity-scale-codec", version = "1.0.0", default-features = false }
sr-primitives = { git = "https://github.com/paritytech/substrate.git", default-features = false } sr-primitives = { git = "https://github.com/paritytech/substrate.git", default-features = false }
runtime_io = { package = "sr-io", git = "https://github.com/paritytech/substrate.git", default-features = false } runtime-io = { package = "sr-io", git = "https://github.com/paritytech/substrate.git", default-features = false }
rstd = { package = "sr-std", git = "https://github.com/paritytech/substrate.git", default-features = false } rstd = { package = "sr-std", git = "https://github.com/paritytech/substrate.git", default-features = false }
num-traits = { version = "0.2.8", default-features = false } num-traits = { version = "0.2.8", default-features = false }
impl-trait-for-tuples = "0.1.3" impl-trait-for-tuples = "0.1.3"
frame_support = { package = "frame-support", git = "https://github.com/paritytech/substrate.git" } [dev-dependencies]
frame_system = { package = "frame-system", git = "https://github.com/paritytech/substrate.git" }
clear_on_drop = { version = "0.2.3", features = ["no_cc"] } # https://github.com/paritytech/substrate/issues/4179 clear_on_drop = { version = "0.2.3", features = ["no_cc"] } # https://github.com/paritytech/substrate/issues/4179
[features] [features]
...@@ -24,9 +22,7 @@ std = [ ...@@ -24,9 +22,7 @@ std = [
"serde", "serde",
"codec/std", "codec/std",
"sr-primitives/std", "sr-primitives/std",
"runtime_io/std", "runtime-io/std",
"rstd/std", "rstd/std",
"num-traits/std", "num-traits/std",
"frame_support/std",
"frame_system/std",
] ]
...@@ -8,7 +8,7 @@ edition = "2018" ...@@ -8,7 +8,7 @@ edition = "2018"
serde = { version = "1.0", optional = true } serde = { version = "1.0", optional = true }
codec = { package = "parity-scale-codec", version = "1.0.0", default-features = false } codec = { package = "parity-scale-codec", version = "1.0.0", default-features = false }
sr-primitives = { git = "https://github.com/paritytech/substrate.git", default-features = false } sr-primitives = { git = "https://github.com/paritytech/substrate.git", default-features = false }
runtime_io = { package = "sr-io", git = "https://github.com/paritytech/substrate.git", default-features = false } runtime-io = { package = "sr-io", git = "https://github.com/paritytech/substrate.git", default-features = false }
rstd = { package = "sr-std", git = "https://github.com/paritytech/substrate.git", default-features = false } rstd = { package = "sr-std", git = "https://github.com/paritytech/substrate.git", default-features = false }
frame-system = { git = "https://github.com/paritytech/substrate.git", default-features = false } frame-system = { git = "https://github.com/paritytech/substrate.git", default-features = false }
...@@ -25,7 +25,7 @@ std = [ ...@@ -25,7 +25,7 @@ std = [
"serde", "serde",
"codec/std", "codec/std",
"sr-primitives/std", "sr-primitives/std",
"runtime_io/std", "runtime-io/std",
"rstd/std", "rstd/std",
"frame-support/std", "frame-support/std",
"frame-system/std", "frame-system/std",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment