Cargo.toml 1.46 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 = "GPL-3.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

Hero Bird's avatar
Hero Bird committed
25
scale = { package = "parity-scale-codec", version = "1.0", 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 }
27
28
29
derive_more = { version = "0.15", default-features = false, features = ["no_std"] }
smallvec = { version = "0.6.10", default-features = false, features = ["union"] }
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
    "smallvec/std",
43
]
Hero Bird's avatar
Hero Bird committed
44
45
46
47
48
ink-generate-abi = [
    "ink_abi",
    "type-metadata",
    "std",
]