Cargo.toml 1.34 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
[package]
name = "subber"
version = "0.1.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"

[dependencies]
ink_abi = { path = "../../../../abi", default-features = false, features = ["derive"], optional = true }
ink_core = { path = "../../../../core", default-features = false }
ink_model = { path = "../../../../model", default-features = false }
ink_lang = { path = "../../../../lang", default-features = false }

scale = { package = "parity-scale-codec", version = "1.0", default-features = false, features = ["derive"] }
type-metadata = { git = "https://github.com/type-metadata/type-metadata.git", default-features = false, features = ["derive"], optional = true }

accumulator = { path = "../accumulator", default-features = false, features = ["ink-as-dependency"] }

[lib]
name = "subber"
crate-type = [
	# Used for normal contract Wasm blobs.
	"cdylib",
	# Used for ABI generation.
	"rlib",
]

[features]
default = ["test-env"]
std = [
    "ink_abi/std",
    "ink_core/std",
    "ink_model/std",
    "ink_lang/std",
    "scale/std",
    "type-metadata/std",
]
test-env = [
	"std",
    "ink_core/test-env",
    "ink_model/test-env",
    "ink_lang/test-env",
    "type-metadata/std",
]
ink-generate-abi = [
    "std",
    "ink_abi",
    "type-metadata",
    "ink_core/ink-generate-abi",
    "ink_lang/ink-generate-abi",
]
ink-as-dependency = []