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

7
license = "APACHE-2.0"
8
readme = "README.md"
Hero Bird's avatar
Hero Bird committed
9 10 11
repository = "https://github.com/paritytech/ink"
documentation = "https://substrate.dev/substrate-contracts-workshop/#/"
homepage = "https://www.parity.io/"
12 13 14 15 16 17
description = "[ink!] Rust based eDSL for writing smart contracts for Substrate"
keywords = ["wasm", "parity", "webassembly", "blockchain", "edsl"]
categories = ["no-std", "embedded"]
include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE"]

[dependencies]
Hero Bird's avatar
Hero Bird committed
18
ink_primitives = { version = "2.1.0", path = "../../primitives/", default-features = false }
19

20
scale = { package = "parity-scale-codec", version = "1.3", default-features = false, features = ["derive"] }
21 22 23 24 25 26 27 28 29 30
quote = "1"
syn = { version = "1.0", features = ["parsing", "full", "extra-traits"] }
proc-macro2 = "1.0"
heck = "0.3"
itertools = { version = "0.9", default-features = false }
either = { version = "1.5", default-features = false }
serde = { version = "1.0", default-features = false, features = ["derive"] }
serde_json = "1.0"
derive_more = { version = "0.99", default-features = false, features = ["from"] }
regex = "1.3"
31 32

[dev-dependencies]
Hero Bird's avatar
Hero Bird committed
33 34 35
ink_abi = { version = "2.1.0", path = "../../abi/" }
ink_core = { version = "2.1.0", path = "../../core/" }
ink_lang = { version = "2.1.0", path = "..", default-features = false, features = ["ink-generate-abi"] }
36

37
trybuild = "1.0.24"
38 39
pretty_assertions = "0.6.1"

40 41 42 43 44 45
[dependencies.type-metadata]
git = "https://github.com/type-metadata/type-metadata.git"
rev = "02eae9f35c40c943b56af5b60616219f2b72b47d"
default-features = false
features = ["derive"]

46
[lib]
47
name = "ink_lang_macro"
48 49 50 51
proc-macro = true

[features]
default = ["test-env"]
Hero Bird's avatar
Hero Bird committed
52 53 54
test-env = [
    "std",
]
55 56 57 58
std = [
    "scale/std",
    "itertools/use_std",
    "either/use_std",
59
    "ink_primitives/std",
60 61 62 63 64
    "serde/std",
]
ink-generate-abi = [
    "std",
]