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

7
license = "APACHE-2.0"
Hero Bird's avatar
Hero Bird committed
8
9
readme = "README.md"

10
11
12
repository = "https://github.com/paritytech/ink"
documentation = "https://github.com/paritytech/ink/wiki"
homepage = "https://www.parity.io/"
Hero Bird's avatar
Hero Bird committed
13

14
description = "[ink!] Rust based eDSL for writing smart contracts for Substrate"
Hero Bird's avatar
Hero Bird committed
15
16
17
keywords = ["wasm", "parity", "webassembly", "blockchain", "edsl"]
categories = ["no-std", "embedded"]

18
include = ["/Cargo.toml", "src/**/*.rs", "/README.md", "/LICENSE"]
Hero Bird's avatar
Hero Bird committed
19
20

[dependencies]
Hero Bird's avatar
Hero Bird committed
21
ink_abi = { path = "../abi/", default-features = false, features = ["derive"], optional = true }
22
23
ink_alloc = { path = "../alloc/", default-features = false }
ink_utils = { path = "../utils/", default-features = false }
Hero Bird's avatar
Hero Bird committed
24

25
scale = { package = "parity-scale-codec", version = "1.1", default-features = false, features = ["derive", "full"] }
Hero Bird's avatar
Hero Bird committed
26
type-metadata = { git = "https://github.com/type-metadata/type-metadata.git", default-features = false, features = ["derive"], optional = true }
Hero Bird's avatar
Hero Bird committed
27
derive_more = { version = "0.99.1", default-features = false, features = ["from"] }
Hero Bird's avatar
Hero Bird committed
28
smallvec = { version = "1.0", default-features = false, features = ["union"] }
29
cfg-if = "0.1"
Hero Bird's avatar
Hero Bird committed
30

31
[features]
Hero Bird's avatar
Hero Bird committed
32
default = ["test-env"]
33
34
35
test-env = [
    "std",
]
36
std = [
Hero Bird's avatar
Hero Bird committed
37
    "ink_abi/std",
38
39
    "ink_alloc/std",
    "ink_utils/std",
40
    "scale/std",
Hero Bird's avatar
Hero Bird committed
41
    "type-metadata/std",
42
]
Hero Bird's avatar
Hero Bird committed
43
44
45
46
47
ink-generate-abi = [
    "ink_abi",
    "type-metadata",
    "std",
]