Skip to content
Snippets Groups Projects
Cargo.toml 2 KiB
Newer Older
Bryan Chen's avatar
Bryan Chen committed
[package]
name = "orml-tokens"
description = "Fungible tokens module that implements `MultiCurrency` trait."
repository = "https://github.com/open-web3-stack/open-runtime-module-library/tree/master/tokens"
Xiliang Chen's avatar
Xiliang Chen committed
license = "Apache-2.0"
Bryan Chen's avatar
Bryan Chen committed
version = "0.4.1-dev"
Bryan Chen's avatar
Bryan Chen committed
authors = ["Laminar Developers <hello@laminar.one>"]
edition = "2018"

[dependencies]
serde = { version = "1.0.124", optional = true }
wangjj9219's avatar
wangjj9219 committed
codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false }
Xiliang Chen's avatar
Xiliang Chen committed
max-encoded-len = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.5", default-features = false }
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.5", default-features = false }
sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.5", default-features = false }
frame-support = {  git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.5", default-features = false }
frame-system = {  git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.5", default-features = false }
Bryan Chen's avatar
Bryan Chen committed
orml-traits = { path = "../traits", version = "0.4.1-dev", default-features = false }
Bryan Chen's avatar
Bryan Chen committed

[dev-dependencies]
Xiliang Chen's avatar
Xiliang Chen committed
sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.5" }
sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.5" }
pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.5" }
Shaun Wang's avatar
Shaun Wang committed
# Patch doesn't work as `pallet-elections-phragmen` is now 4.0.0 version. Revert `rev` to `statemint` branch after
# other `statemint` dependencies upgraded.
pallet-elections-phragmen = { git = "https://github.com/paritytech/substrate", rev = "1d04678e20555e623c974ee1127bc8a45abcf3d6" }
Bryan Chen's avatar
Bryan Chen committed
[features]
default = ["std"]
std = [
	"serde",
	"codec/std",
Xiliang Chen's avatar
Xiliang Chen committed
	"sp-runtime/std",
Shaopeng Wang's avatar
Shaopeng Wang committed
	"sp-std/std",
Xiliang Chen's avatar
Xiliang Chen committed
	"frame-support/std",
	"frame-system/std",
	"orml-traits/std",
Bryan Chen's avatar
Bryan Chen committed
]
runtime-benchmarks = [
	"frame-support/runtime-benchmarks",
	"frame-system/runtime-benchmarks",
]
wangjj9219's avatar
wangjj9219 committed
try-runtime = ["frame-support/try-runtime"]