Cargo.toml 1.25 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 }
24
scale = { package = "parity-scale-codec", version = "1.0", default-features = false, features = ["derive", "full"] }
Hero Bird's avatar
Hero Bird committed
25

Hero Bird's avatar
Hero Bird committed
26
27
type-metadata = { git = "https://github.com/type-metadata/type-metadata.git", default-features = false, features = ["derive"], optional = true }

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