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

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

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"]
include = [
    "Cargo.toml", "src/**/*.rs", "README.md", "LICENSE", "build.rs", "templates", "src/**/*.scale",
    # We need to include `ink_linting` in the releases, so that the dylint driver which
    # is contained in that crate is build locally as part of the installation.
    "ink_linting", "!ink_linting/target/", "!ink_linting/ui/"
]
clap = { version = "3.1.6", features = ["derive", "env"] }
zip = { version = "0.5.13", default-features = false }
scale = { package = "parity-scale-codec", version = "3.0.0", features = ["derive"] }
contract-metadata = { version = "0.6.0", path = "./metadata" }
semver = { version = "1.0.6", features = ["serde"] }
serde = { version = "1.0.136", default-features = false, features = ["derive"] }
url = { version = "2.2.2", features = ["serde"] }
# dependencies for extrinsics (deploying and calling a contract)
async-std = { version = "1.10.0", features = ["attributes", "tokio1"] }
ink_metadata = { version = "3.0.0-rc9", features = ["derive"] }
ink_env = "3.0.0-rc9"
scale-info = { version = "2.0.1", default-features = false, features = ["derive"] }
sp-core = "6.0.0"
sp-runtime = "6.0.0"
pallet-contracts-primitives = "6.0.0"
jsonrpsee = { version = "0.9.0", features = ["ws-client"] }
nom-supreme = { version = "0.7.0", features = ["error"] }
[build-dependencies]
zip = { version = "0.5.13", default-features = false }

[dev-dependencies]
[features]
# This `std` feature is required for testing using an inline contract's metadata, because `ink!` annotates the metadata
# generation code with `#[cfg(feature = "std")]`.
default = ["std"]
std = []

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

# Enable this to execute tests which depend on a locally running contracts enabed chain
# e.g.https://github.com/paritytech/canvas-node
integration-tests = []