Skip to content

Commit 4f5c90c

Browse files
author
iStrike7
committed
Merge branch 'mangata-dev' into feature/governance-upgrade
2 parents e42b021 + 23c75b1 commit 4f5c90c

File tree

9 files changed

+565
-6
lines changed

9 files changed

+565
-6
lines changed

Cargo.lock

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ members = [
148148
"frame/sudo-mangata",
149149
"frame/root-offences",
150150
"frame/root-testing",
151+
"frame/mangata-support",
151152
"frame/support",
152153
"frame/support/procedural",
153154
"frame/support/procedural/tools",

frame/mangata-support/Cargo.toml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
[package]
2+
name = "mangata-support"
3+
version = "0.1.0"
4+
authors = ['Mangata team']
5+
edition = "2018"
6+
7+
[dependencies]
8+
sp-std = { version = "5.0.0", default-features = false, path = "../../primitives/std" }
9+
sp-runtime = { version = "7.0.0", default-features = false, path = "../../primitives/runtime" }
10+
frame-support = { version = "4.0.0-dev", default-features = false, path = "../support" }
11+
mangata-types = { default-features = false, path = "../../primitives/mangata-types" }
12+
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false }
13+
sp-core = { default-features = false, version = '7.0.0' , path = "../../primitives/core" }
14+
15+
[features]
16+
default = ["std"]
17+
std = [
18+
'sp-std/std',
19+
'sp-runtime/std',
20+
'frame-support/std',
21+
'mangata-types/std',
22+
"codec/std",
23+
"sp-core/std"
24+
]

frame/mangata-support/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#![cfg_attr(not(feature = "std"), no_std)]
2+
pub mod traits;

0 commit comments

Comments
 (0)