Cargo.toml 1.45 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
ink_primitives = { version = "2.1.0", path = "../../primitives", default-features = false }
9
ink_metadata = { version = "2.1.0", path = "../../metadata", default-features = false, features = ["derive"], optional = true }
Hero Bird's avatar
Hero Bird committed
10
11
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"] }
18
scale-info = { version = "0.3", default-features = false, features = ["derive"], optional = true }
19
20
21
22

[lib]
name = "delegator"
path = "lib.rs"
23
crate-type = ["cdylib"]
24
25

[features]
26
default = ["std"]
27
std = [
28
    "ink_primitives/std",
29
30
    "ink_metadata",
    "ink_metadata/std",
31
    "ink_core/std",
32
    "ink_lang/std",
33
    "scale/std",
34
    "scale-info",
Andrew Jones's avatar
Andrew Jones committed
35
    "scale-info/std",
36
37
38
39
40
41
42
43
44
45
46
47
48

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

[workspace]
members = [
    "accumulator",
    "adder",
    "subber",
]