Skip to content

orml-xtokens #271

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

Closed
wants to merge 14 commits into from
13 changes: 9 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,23 @@ jobs:
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly-2020-05-07
components: rustfmt
components: rustfmt, clippy
target: wasm32-unknown-unknown
override: true
default: true
- name: Show rustc version
run: rustc --version
- name: Show clippy version
run: cargo clippy --version
- name: Install Wasm toolchain
run: rustup target add wasm32-unknown-unknown
- name: Check format
run: make dev-format-check
- name: Install clippy
run: rustup component add clippy
- name: TEMP cargo clean
run: cargo clean
- name: TEMP cargo check
run: cargo check --all
- name: Run clippy
run: cargo clippy -- -D warnings
- name: Update
Expand Down
1 change: 1 addition & 0 deletions Cargo.dev.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ members = [
"traits",
"utilities",
"vesting",
"xtokens",
"rewards",
]
49 changes: 49 additions & 0 deletions xtokens/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
[package]
name = "orml-xtokens"
description = "Crosschain token transfer"
repository = "https://github.com/open-web3-stack/open-runtime-module-library/tree/master/tokens"
license = "Apache-2.0"
version = "0.1.3-dev"
authors = ["Laminar Developers <[email protected]>"]
edition = "2018"

[dependencies]
serde = { version = "1.0.111", optional = true }
codec = { package = "parity-scale-codec", version = "1.3.0", default-features = false }
sp-runtime = { version = "2.0.0-rc6", default-features = false }
sp-io = { version = "2.0.0-rc6", default-features = false }
sp-std = { version = "2.0.0-rc6", default-features = false }

frame-support = { version = "2.0.0-rc6", default-features = false }
frame-system = { version = "2.0.0-rc6", default-features = false }

orml-traits = { path = "../traits", version = "0.1.3-dev", default-features = false }
orml-utilities = { path = "../utilities", version = "0.1.3-dev", default-features = false }

cumulus-primitives = { git = "https://github.com/paritytech/cumulus", default-features = false }
cumulus-upward-message = { git = "https://github.com/paritytech/cumulus", default-features = false }

# TODO: switch to polkadot master branch once ready
polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "rococo-branch", default-features = false }

[dev-dependencies]
sp-core = { version = "2.0.0-rc6", default-features = false }
clear_on_drop = { version = "0.2.4", features = ["no_cc"] } # https://github.com/paritytech/substrate/issues/4179
polkadot-core-primitives = { git = "https://github.com/paritytech/polkadot", branch = "rococo-branch", default-features = false }
orml-tokens = { path = "../tokens", version = "0.1.3-dev" }

[features]
default = ["std"]
std = [
"serde",
"codec/std",
"sp-runtime/std",
"sp-std/std",
"sp-io/std",
"frame-support/std",
"frame-system/std",
"orml-traits/std",
"cumulus-primitives/std",
"cumulus-upward-message/std",
"polkadot-parachain/std",
]
Loading