Cargo.toml 2.36 KiB
Newer Older
[workspace]
members = [".", "metadata"]

authors = ["Parity Technologies <[email protected]>"]
build = "build.rs"
Dan Shields's avatar
Dan Shields committed
edition = "2021"
rust-version = "1.56.1"

license = "GPL-3.0"
readme = "README.md"
repository = "https://github.com/paritytech/cargo-contract"
documentation = "https://docs.substrate.io/tutorials/v3/ink-workshop/pt1/"
Hero Bird's avatar
Hero Bird committed
homepage = "https://www.parity.io/"
description = "Setup and deployment tool for developing Wasm based smart contracts via ink!"
keywords = ["wasm", "parity", "webassembly", "blockchain", "edsl"]
Andrew Jones's avatar
Andrew Jones committed
categories = ["command-line-utilities", "development-tools::build-utils", "development-tools::cargo-plugins"]
Andrew Jones's avatar
Andrew Jones committed
include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE", "build.rs", "templates"]
zip = { version = "0.5.13", default-features = false }
codec = { package = "parity-scale-codec", version = "2.3.1", features = ["derive"] }
contract-metadata = { version = "0.5.0", path = "./metadata" }
semver = { version = "1.0.4", features = ["serde"] }
serde = { version = "1.0.135", default-features = false, features = ["derive"] }
url = { version = "2.2.2", features = ["serde"] }
# dependencies for optional extrinsics feature
async-std = { version = "1.10.0", optional = true }
sp-core = { version = "2.0.1", optional = true }
subxt = { version = "0.14.0", package = "substrate-subxt", optional = true }
futures = { version = "0.3.19", optional = true }
hex = { version = "0.4.3", optional = true }
[build-dependencies]
zip = { version = "0.5.13", default-features = false }

[dev-dependencies]

[features]
default = []

# Enable this for (experimental) commands to deploy, instantiate and call contracts.
#
# Disabled by default
extrinsics = ["sp-core", "subxt", "async-std", "futures", "hex"]

# Enable this to execute long running tests, which usually are only run on the CI server
#
# Disabled by default
test-ci-only = []