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

7
license = "APACHE-2.0"
8
readme = "README.md"
9

10
repository = "https://github.com/paritytech/ink"
Hero Bird's avatar
Hero Bird committed
11
documentation = "https://substrate.dev/substrate-contracts-workshop/#/"
Robin Freyler's avatar
Robin Freyler committed
12
homepage = "https://www.parity.io/"
13

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

include = ["/Cargo.toml", "src/**/*.rs", "/README.md", "/LICENSE"]
19 20

[dependencies]
Hero Bird's avatar
Hero Bird committed
21
ink_prelude = { version = "2.1.0", path = "../prelude/", default-features = false }
22
tiny-keccak = { version = "2.0", features = ["keccak"] }
23
scale = { package = "parity-scale-codec", version = "1.2", default-features = false, features = ["derive", "full"] }
24 25 26 27 28 29 30

[dependencies.type-metadata]
git = "https://github.com/type-metadata/type-metadata.git"
rev = "02eae9f35c40c943b56af5b60616219f2b72b47d"
default-features = false
features = ["derive"]
optional = true
31 32

[features]
33
default = ["std"]
34
std = [
35 36
    "ink_prelude/std",
    "scale/std",
37 38
    "type-metadata",
    "type-metadata/std",
39
]