forked from use-ink/cargo-contract
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor out transcode as a separate library (use-ink#597)
* refactoring transcode as library * refactored as lib * remove unused deps * fix imports * cleanup * modified README * run fmt * make clippy happy * clippy cd * use std * PR comments * fixit
- Loading branch information
Showing
16 changed files
with
356 additions
and
34 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
[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] | ||
anyhow = "1.0.57" | ||
contract-metadata = { version = "0.6.0", path = "../metadata" } | ||
env_logger = "0.9.0" | ||
escape8259 = "0.5.1" | ||
hex = "0.4.3" | ||
indexmap = "1.8.1" | ||
ink_env = "3.0" | ||
ink_metadata = { version = "3.0", features = ["derive"] } | ||
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" | ||
ink_lang = "3" | ||
ink_primitives = "3" | ||
ink_storage = "3" | ||
|
||
[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 = [] |
Oops, something went wrong.