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

[dependencies]
8
9
10
11
ink_primitives = { version = "2.0.0", path = "../../primitives", default-features = false }
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 }
12

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

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

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

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

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

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