Newer
Older
[workspace]
members = [".", "metadata"]
name = "cargo-contract"
authors = ["Parity Technologies <admin@parity.io>"]
license = "GPL-3.0"
readme = "README.md"
repository = "https://github.com/paritytech/cargo-contract"
documentation = "https://docs.substrate.io/tutorials/v3/ink-workshop/pt1/"
description = "Setup and deployment tool for developing Wasm based smart contracts via ink!"
keywords = ["wasm", "parity", "webassembly", "blockchain", "edsl"]
categories = ["command-line-utilities", "development-tools::build-utils", "development-tools::cargo-plugins"]
Michael Müller
committed
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/"
]
[dependencies]
clap = { version = "3.1.18", features = ["derive", "env"] }
zip = { version = "0.6.2", 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.9", features = ["serde"] }
serde = { version = "1.0.137", default-features = false, features = ["derive"] }
url = { version = "2.2.2", features = ["serde"] }
# dependencies for extrinsics (deploying and calling a contract)
async-std = { version = "1.11.0", features = ["attributes", "tokio1"] }
ink_metadata = { version = "3.0", features = ["derive"] }
ink_env = "3.0"
scale-info = { version = "2.1.1", default-features = false, features = ["derive"] }
sp-core = "6.0.0"
sp-runtime = "6.0.0"
pallet-contracts-primitives = "6.0.0"
subxt = "0.21.0"
jsonrpsee = { version = "0.13.1", features = ["ws-client"] }
nom-supreme = { version = "0.7.0", features = ["error"] }
escape8259 = "0.5.1"
itertools = "0.10.3"
Michael Müller
committed
zip = { version = "0.6.2", default-features = false }
substrate-build-script-utils = "3.0.0"
current_platform = "0.2.0"
assert_cmd = "2.0.4"
assert_matches = "1.5.0"
predicates = "2.1.1"
ink_primitives = "3.0"
ink_storage = "3.0"
ink_lang = "3.0"
ink_lang_codegen = "3.0"
[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
# Enable this to execute tests which depend on a locally running contracts enabed chain
# e.g.https://github.com/paritytech/canvas-node
integration-tests = []