Cargo.toml 1005 Bytes
Newer Older
1 2
[package]
name = "dns"
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
scale-info = { version = "0.2", default-features = false, features = ["derive"], optional = true }
15 16 17 18

[lib]
name = "dns"
path = "lib.rs"
19
crate-type = ["cdylib"]
20 21

[features]
22
default = ["std"]
23 24
std = [
    "ink_primitives/std",
25 26
    "ink_metadata",
    "ink_metadata/std",
27
    "ink_core/std",
28
    "ink_lang/std",
29
    "scale/std",
Andrew Jones's avatar
Andrew Jones committed
30
    "scale-info",
31
    "scale-info/std",
32 33
]
ink-as-dependency = []