forked from use-ink/cargo-contract
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
81 lines (71 loc) · 2.5 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
[workspace]
members = [".", "metadata"]
[package]
name = "cargo-contract"
version = "0.11.1"
authors = ["Parity Technologies <admin@parity.io>"]
build = "build.rs"
edition = "2018"
license = "GPL-3.0"
readme = "README.md"
repository = "https://github.com/paritytech/cargo-contract"
documentation = "https://substrate.dev/substrate-contracts-workshop/#/"
homepage = "https://www.parity.io/"
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"]
include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE", "build.rs", "templates"]
[dependencies]
env_logger = "0.8.3"
anyhow = "1.0.40"
structopt = "0.3.21"
log = "0.4.14"
heck = "0.3.2"
zip = { version = "0.5.11", default-features = false }
pwasm-utils = "0.17.0"
parity-wasm = "0.42.2"
cargo_metadata = "0.13.1"
codec = { package = "parity-scale-codec", version = "2.0.1", features = ["derive"] }
which = "4.1.0"
colored = "2.0.0"
toml = "0.5.8"
rustc_version = "0.3.3"
blake2 = "0.9.1"
contract-metadata = { version = "0.2.0", path = "./metadata" }
semver = { version = "0.11.0", features = ["serde"] }
serde = { version = "1.0.125", default-features = false, features = ["derive"] }
serde_json = "1.0.64"
tempfile = "3.2.0"
url = { version = "2.2.1", features = ["serde"] }
binaryen = { version = "0.12.0", optional = true }
impl-serde = "0.3.1"
regex = "1.4"
# dependencies for optional extrinsics feature
async-std = { version = "1.9.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.13", optional = true }
hex = { version = "0.4.3", optional = true }
# Should be removed once bitvecto-rs/bitvec#105 is resolved
funty = "=1.1.0"
[build-dependencies]
anyhow = "1.0.40"
zip = { version = "0.5.11", default-features = false }
walkdir = "2.3.2"
substrate-build-script-utils = "3.0.0"
platforms = "1.1"
[dev-dependencies]
assert_matches = "1.5.0"
pretty_assertions = "0.7.1"
wabt = "0.10.0"
[features]
default = []
binaryen-as-dependency = ["binaryen"]
# 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 = []