Cargo.toml 1.65 KB
Newer Older
1
2
[package]
name = "delegator"
Hero Bird's avatar
Hero Bird committed
3
version = "2.1.0"
4
5
6
7
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"

[dependencies]
Hero Bird's avatar
Hero Bird committed
8
9
10
11
ink_primitives = { version = "2.1.0", path = "../../primitives", default-features = false }
ink_abi = { version = "2.1.0", path = "../../abi", default-features = false, features = ["derive"], optional = true }
ink_core = { version = "2.1.0", path = "../../core", default-features = false }
ink_lang = { version = "2.1.0", path = "../../lang", default-features = false }
12

13
scale = { package = "parity-scale-codec", version = "1.3", default-features = false, features = ["derive"] }
14

Hero Bird's avatar
Hero Bird committed
15
16
17
adder = { version = "2.1.0", path = "adder", default-features = false, features = ["ink-as-dependency"] }
subber = { version = "2.1.0", path = "subber", default-features = false, features = ["ink-as-dependency"] }
accumulator = { version = "2.1.0", path = "accumulator", default-features = false, features = ["ink-as-dependency"] }
Andrew Jones's avatar
Andrew Jones committed
18
scale-info = { version = "0.1", default-features = false, features = ["derive"], optional = true }
19
20
21
22
23

[lib]
name = "delegator"
path = "lib.rs"
crate-type = [
24
25
26
27
    # Used for normal contract Wasm blobs.
    "cdylib",
    # Used for ABI generation.
    "rlib",
28
29
30
]

[features]
31
default = ["std"]
32
std = [
33
    "ink_primitives/std",
34
    "ink_abi",
35
36
    "ink_abi/std",
    "ink_core/std",
37
    "ink_lang/std",
38
    "scale/std",
39
    "scale-info",
Andrew Jones's avatar
Andrew Jones committed
40
    "scale-info/std",
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55

    "adder/std",
    "subber/std",
    "accumulator/std",
]
ink-as-dependency = []

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

[workspace]
members = [
56
    ".ink/abi_gen",
57
58
59
60
61
    "accumulator",
    "adder",
    "subber",
]
exclude = [
62
    ".ink"
63
]