Cargo.toml 1.52 KB
Newer Older
1 2
[package]
name = "runtime_storage"
3
version = "2.0.0"
4 5 6 7
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"

[dependencies]
8
ink_primitives = { version = "2.0.0", path = "../../primitives", default-features = false }
9
ink_prelude = { version = "2.0.0", path = "../../prelude", default-features = false }
10 11 12
ink_abi = { version = "2.0.0", path = "../../abi", default-features = false, features = ["derive"], optional = true }
ink_core = { version = "2.0.0", path = "../../core", default-features = false }
ink_lang = { version = "2.0.0", path = "../../lang", default-features = false }
13

14
scale = { package = "parity-scale-codec", version = "1.2", default-features = false, features = ["derive"] }
15 16 17 18 19 20 21

[dependencies.type-metadata]
git = "https://github.com/type-metadata/type-metadata.git"
rev = "02eae9f35c40c943b56af5b60616219f2b72b47d"
default-features = false
features = ["derive"]
optional = true
22 23 24 25 26 27 28 29 30 31 32 33 34

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

[features]
default = ["test-env"]
std = [
35
    "ink_primitives/std",
36 37 38 39 40 41 42
    "ink_abi/std",
    "ink_core/std",
    "scale/std",
    "type-metadata/std",
]
test-env = [
    "std",
43
    "ink_lang/test-env",
44 45 46 47 48 49
]
ink-generate-abi = [
    "std",
    "ink_abi",
    "type-metadata",
    "ink_core/ink-generate-abi",
50
    "ink_lang/ink-generate-abi",
51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66
]
ink-as-dependency = []

[profile.release]
panic = "abort"
lto = true
opt-level = "z"
overflow-checks = true

[workspace]
members = [
	".ink/abi_gen"
]
exclude = [
	".ink"
]