Cargo.toml 1.96 KB
Newer Older
Hero Bird's avatar
Hero Bird committed
[package]
Hero Bird's avatar
Hero Bird committed
version = "0.1.0"
authors = ["Parity Technologies <admin@parity.io>"]
Hero Bird's avatar
Hero Bird committed
edition = "2018"

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

[dependencies]
Hero Bird's avatar
Hero Bird committed
ink_abi = { path = "../abi/", default-features = false, features = ["derive"], optional = true }
ink_alloc = { path = "../alloc/", default-features = false }
ink_primitives = { path = "../primitives/", default-features = false }
ink_core_derive = { path = "derive", default-features = false }
ink_prelude = { path = "../prelude/", default-features = false }
Hero Bird's avatar
Hero Bird committed

scale = { package = "parity-scale-codec", version = "1.1", default-features = false, features = ["derive", "full"] }
Hero Bird's avatar
Hero Bird committed
type-metadata = { git = "https://github.com/type-metadata/type-metadata.git", default-features = false, features = ["derive"], optional = true }
derive_more = { version = "0.99.2", default-features = false, features = ["from", "display"] }
Hero Bird's avatar
Hero Bird committed
smallvec = { version = "1.0", default-features = false, features = ["union"] }
cfg-if = "0.1"
num-traits = { version = "0.2.1", default-features = false, features = ["i128"] }

# Only used in the off-chain environment.
#
# Sadly couldn't be marked as dev-dependency.
# Never use this crate outside of the off-chain environment!
rand = { version = "0.7", default-features = false, features = ["alloc"], optional = true }
Hero Bird's avatar
Hero Bird committed

[features]
default = ["std"]
Hero Bird's avatar
Hero Bird committed
    "ink_abi/std",
    "ink_prelude/std",
    "ink_primitives/std",
Hero Bird's avatar
Hero Bird committed
    "type-metadata/std",
    "rand",
    "rand/std",
    "num-traits/std",
Hero Bird's avatar
Hero Bird committed
ink-generate-abi = [
    "ink_abi",
    "type-metadata",
    "std",
Hero Bird's avatar
Hero Bird committed
]