Cargo.toml 1.47 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[package]
name = "contract-transcode"
version = "0.1.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"

license = "Apache-2.0"
readme = "README.md"
repository = "https://github.com/paritytech/cargo-contract"
documentation = "https://docs.rs/contract-transcode"
homepage = "https://www.substrate.io/"
description = "Library encoding calls for smart contracts on substrate"
keywords = ["wasm", "parity", "webassembly", "blockchain", "edsl"]
include = ["Cargo.toml", "*.rs", "LICENSE"]

[lib]
path = "src/lib.rs"

[dependencies]
20
anyhow = "1.0.58"
21
contract-metadata = { version = "1", path = "../metadata" }
22
23
24
env_logger = "0.9.0"
escape8259 = "0.5.1"
hex = "0.4.3"
25
indexmap = "1.9.1"
26
27
ink_env = "3.3"
ink_metadata = { version = "3.3", features = ["derive"] }
28
29
30
31
32
33
34
35
36
37
38
39
40
itertools = "0.10.3"
log = "0.4.17"
nom = "7.1.1"
nom-supreme = { version = "0.7.0", features = ["error"] }
scale = { package = "parity-scale-codec", version = "3.0.0", features = ["derive"] }
scale-info = { version = "2.1.1", default-features = false, features = ["derive"] }
serde = { version = "1.0.137", default-features = false, features = ["derive"] }
serde_json = "1.0.81"
sp-core = "6.0.0"
sp-runtime = "6.0.0"

[dev-dependencies]
assert_matches = "1.5.0"
41
42
43
ink_lang = "3.3"
ink_primitives = "3.3"
ink_storage = "3.3"
44
45
46
47
48
49

[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 = []