Cargo.toml 1.49 KB
Newer Older
version = "0.1.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"

license = "APACHE-2.0"
readme = "README.md"
Hero Bird's avatar
Hero Bird committed
repository = "https://github.com/paritytech/ink"
documentation = "https://substrate.dev/substrate-contracts-workshop/#/"
homepage = "https://www.parity.io/"
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
ink_utils = { path = "../utils/" }
ink_model = { path = "../model/", default-features = false }
ink_prelude = { path = "../prelude/", default-features = false }
scale = { package = "parity-scale-codec", version = "1.1", default-features = false, features = ["derive"] }
quote = "1.0"
syn = { version = "1.0", features = ["parsing", "full", "extra-traits"] }
proc-macro2 = "1.0"
itertools = { version = "0.8", default-features = false }
either = { version = "1.5", default-features = false }
serde = { version = "1.0", default-features = false, features = ["derive"] }
serde_json = "1.0"
[dev-dependencies]
pretty_assertions = "0.6.1"

proc-macro = true

[features]
Hero Bird's avatar
Hero Bird committed
default = ["test-env"]
Hero Bird's avatar
Hero Bird committed
test-env = [
    "std",
    "ink_model/test-env",
]
    "ink_prelude/std",
    "itertools/use_std",
    "either/use_std",
    "serde/std",
ink-generate-abi = [
    "std",
]