Skip to content
Snippets Groups Projects
Cargo.toml 1.42 KiB
Newer Older
Bryan Chen's avatar
Bryan Chen committed
[package]
name = "orml-traits"
description = "Shared traits including `BasicCurrency`, `MultiCurrency`, `Auction` and more."
repository = "https://github.com/open-web3-stack/open-runtime-module-library/tree/master/traits"
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 }
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.1", default-features = false }
sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.1", default-features = false }
sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.1", default-features = false }
Shaun Wang's avatar
Shaun Wang committed
num-traits = { version = "0.2.14", default-features = false }
impl-trait-for-tuples = "0.2.1"
frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.1", default-features = false }
Bryan Chen's avatar
Bryan Chen committed
orml-utilities = { path = "../utilities", version = "0.4.1-dev", default-features = false }
# xcm = { git = "https://github.com/paritytech/polkadot", branch = "polkadot-v0.9.1", default-features = false }
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-io/std",
	"sp-std/std",
	"frame-support/std",
zjb0807's avatar
zjb0807 committed
	"orml-utilities/std",
	# "xcm/std",
Bryan Chen's avatar
Bryan Chen committed
]