Unverified Commit 598200f8 authored by Hero Bird's avatar Hero Bird Committed by GitHub

Tag ink! crates with 2.0.0 release (#353)

* [*] initial swipe over codebase to tag 2.0.0 release

* [*] fix a number of issues with the previous version setup
parent 648283ee
Pipeline #83423 passed with stage
in 1 minute and 22 seconds
[workspace]
members = [
"abi",
"core",
......
[package]
name = "ink_abi"
version = "0.1.0"
version = "2.0.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
......@@ -15,12 +15,18 @@ categories = ["no-std", "embedded"]
include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE"]
[dependencies]
ink_abi_derive = { version = "2.0.0", path = "derive", default-features = false, optional = true }
ink_prelude = { version = "2.0.0", path = "../prelude/", default-features = false }
ink_primitives = { version = "2.0.0", path = "../primitives/", default-features = false }
serde = { version = "1.0", default-features = false, features = ["derive", "alloc"] }
derive_more = { version = "0.99", default-features = false, features = ["from"] }
ink_abi_derive = { path = "derive", default-features = false, optional = true }
ink_prelude = { path = "../prelude/", default-features = false }
ink_primitives = { path = "../primitives/", default-features = false }
type-metadata = { git = "https://github.com/type-metadata/type-metadata.git", default-features = false, features = ["derive"] }
[dependencies.type-metadata]
git = "https://github.com/type-metadata/type-metadata.git"
rev = "02eae9f35c40c943b56af5b60616219f2b72b47d"
default-features = false
features = ["derive"]
[dev-dependencies]
serde_json = "1.0"
......
[package]
name = "ink_abi_derive"
version = "0.1.0"
version = "2.0.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
license = "APACHE-2.0"
......
[package]
name = "ink_alloc"
version = "0.1.0"
version = "2.0.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
......
[package]
name = "ink_core"
version = "0.1.0"
version = "2.0.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
......@@ -15,14 +15,13 @@ categories = ["no-std", "embedded"]
include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE"]
[dependencies]
ink_abi = { path = "../abi/", default-features = false, features = ["derive"], optional = true }
ink_alloc = { path = "../alloc/", default-features = false }
ink_primitives = { path = "../primitives/", default-features = false }
ink_core_derive = { path = "derive", default-features = false }
ink_prelude = { path = "../prelude/", default-features = false }
ink_abi = { version = "2.0.0", path = "../abi/", default-features = false, features = ["derive"], optional = true }
ink_alloc = { version = "2.0.0", path = "../alloc/", default-features = false }
ink_primitives = { version = "2.0.0", path = "../primitives/", default-features = false }
ink_core_derive = { version = "2.0.0", path = "derive", default-features = false }
ink_prelude = { version = "2.0.0", path = "../prelude/", default-features = false }
scale = { package = "parity-scale-codec", version = "1.2", default-features = false, features = ["derive", "full"] }
type-metadata = { git = "https://github.com/type-metadata/type-metadata.git", default-features = false, features = ["derive"], optional = true }
derive_more = { version = "0.99", default-features = false, features = ["from", "display"] }
smallvec = { version = "1.2", default-features = false, features = ["union"] }
cfg-if = "0.1"
......@@ -34,6 +33,13 @@ num-traits = { version = "0.2", default-features = false, features = ["i128"] }
# Never use this crate outside of the off-chain environment!
rand = { version = "0.7", default-features = false, features = ["alloc"], optional = true }
[dependencies.type-metadata]
git = "https://github.com/type-metadata/type-metadata.git"
rev = "02eae9f35c40c943b56af5b60616219f2b72b47d"
default-features = false
features = ["derive"]
optional = true
[dev-dependencies]
itertools = "0.9"
......
[package]
name = "ink_core_derive"
version = "0.1.0"
version = "2.0.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
......@@ -11,14 +11,14 @@ readme = "../README.md"
proc-macro = true
[dependencies]
ink_primitives = { path = "../../primitives", default-features = false }
ink_primitives = { version = "2.0.0", path = "../../primitives", default-features = false }
quote = "1.0"
syn = { version = "1.0", features = ["full"] }
proc-macro2 = "1.0"
synstructure = "0.12"
[dev-dependencies]
ink_core = { path = ".." }
ink_core = { version = "2.0.0", path = ".." }
trybuild = "1.0.24"
[features]
......
[package]
name = "delegator"
version = "0.1.0"
version = "2.0.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
[dependencies]
ink_primitives = { path = "../../primitives", default-features = false }
ink_abi = { path = "../../abi", default-features = false, features = ["derive"], optional = true }
ink_core = { path = "../../core", default-features = false }
ink_lang = { path = "../../lang", default-features = false }
ink_primitives = { version = "2.0.0", path = "../../primitives", default-features = false }
ink_abi = { version = "2.0.0", path = "../../abi", default-features = false, features = ["derive"], optional = true }
ink_core = { version = "2.0.0", path = "../../core", default-features = false }
ink_lang = { version = "2.0.0", path = "../../lang", default-features = false }
scale = { package = "parity-scale-codec", version = "1.2", default-features = false, features = ["derive"] }
type-metadata = { git = "https://github.com/type-metadata/type-metadata.git", default-features = false, features = ["derive"], optional = true }
adder = { path = "adder", default-features = false, features = ["ink-as-dependency"] }
subber = { path = "subber", default-features = false, features = ["ink-as-dependency"] }
accumulator = { path = "accumulator", default-features = false, features = ["ink-as-dependency"] }
adder = { version = "2.0.0", path = "adder", default-features = false, features = ["ink-as-dependency"] }
subber = { version = "2.0.0", path = "subber", default-features = false, features = ["ink-as-dependency"] }
accumulator = { version = "2.0.0", path = "accumulator", default-features = false, features = ["ink-as-dependency"] }
[dependencies.type-metadata]
git = "https://github.com/type-metadata/type-metadata.git"
rev = "02eae9f35c40c943b56af5b60616219f2b72b47d"
default-features = false
features = ["derive"]
optional = true
[lib]
name = "delegator"
......
[package]
name = "accumulator"
version = "0.1.0"
version = "2.0.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
[dependencies]
ink_primitives = { path = "../../../primitives", default-features = false }
ink_abi = { path = "../../../abi", default-features = false, features = ["derive"], optional = true }
ink_core = { path = "../../../core", default-features = false }
ink_lang = { path = "../../../lang", default-features = false }
ink_primitives = { version = "2.0.0", path = "../../../primitives", default-features = false }
ink_abi = { version = "2.0.0", path = "../../../abi", default-features = false, features = ["derive"], optional = true }
ink_core = { version = "2.0.0", path = "../../../core", default-features = false }
ink_lang = { version = "2.0.0", path = "../../../lang", default-features = false }
scale = { package = "parity-scale-codec", version = "1.2", default-features = false, features = ["derive"] }
type-metadata = { git = "https://github.com/type-metadata/type-metadata.git", default-features = false, features = ["derive"], optional = true }
[dependencies.type-metadata]
git = "https://github.com/type-metadata/type-metadata.git"
rev = "02eae9f35c40c943b56af5b60616219f2b72b47d"
default-features = false
features = ["derive"]
optional = true
[lib]
name = "accumulator"
......
[package]
name = "adder"
version = "0.1.0"
version = "2.0.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
[dependencies]
ink_primitives = { path = "../../../primitives", default-features = false }
ink_abi = { path = "../../../abi", default-features = false, features = ["derive"], optional = true }
ink_core = { path = "../../../core", default-features = false }
ink_lang = { path = "../../../lang", default-features = false }
ink_primitives = { version = "2.0.0", path = "../../../primitives", default-features = false }
ink_abi = { version = "2.0.0", path = "../../../abi", default-features = false, features = ["derive"], optional = true }
ink_core = { version = "2.0.0", path = "../../../core", default-features = false }
ink_lang = { version = "2.0.0", path = "../../../lang", default-features = false }
accumulator = { version = "2.0.0", path = "../accumulator", default-features = false, features = ["ink-as-dependency"] }
scale = { package = "parity-scale-codec", version = "1.2", default-features = false, features = ["derive"] }
type-metadata = { git = "https://github.com/type-metadata/type-metadata.git", default-features = false, features = ["derive"], optional = true }
accumulator = { path = "../accumulator", default-features = false, features = ["ink-as-dependency"] }
[dependencies.type-metadata]
git = "https://github.com/type-metadata/type-metadata.git"
rev = "02eae9f35c40c943b56af5b60616219f2b72b47d"
default-features = false
features = ["derive"]
optional = true
[lib]
name = "adder"
......
[package]
name = "subber"
version = "0.1.0"
version = "2.0.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
[dependencies]
ink_primitives = { path = "../../../primitives", default-features = false }
ink_abi = { path = "../../../abi", default-features = false, features = ["derive"], optional = true }
ink_core = { path = "../../../core", default-features = false }
ink_lang = { path = "../../../lang", default-features = false }
ink_primitives = { version = "2.0.0", path = "../../../primitives", default-features = false }
ink_abi = { version = "2.0.0", path = "../../../abi", default-features = false, features = ["derive"], optional = true }
ink_core = { version = "2.0.0", path = "../../../core", default-features = false }
ink_lang = { version = "2.0.0", path = "../../../lang", default-features = false }
accumulator = { version = "2.0.0", path = "../accumulator", default-features = false, features = ["ink-as-dependency"] }
scale = { package = "parity-scale-codec", version = "1.2", default-features = false, features = ["derive"] }
type-metadata = { git = "https://github.com/type-metadata/type-metadata.git", default-features = false, features = ["derive"], optional = true }
accumulator = { path = "../accumulator", default-features = false, features = ["ink-as-dependency"] }
[dependencies.type-metadata]
git = "https://github.com/type-metadata/type-metadata.git"
rev = "02eae9f35c40c943b56af5b60616219f2b72b47d"
default-features = false
features = ["derive"]
optional = true
[lib]
name = "subber"
......
[package]
name = "dns"
version = "0.1.0"
version = "2.0.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
[dependencies]
ink_primitives = { path = "../../primitives", default-features = false }
ink_abi = { path = "../../abi", default-features = false, features = ["derive"], optional = true }
ink_core = { path = "../../core", default-features = false }
ink_lang = { path = "../../lang", default-features = false }
ink_primitives = { version = "2.0.0", path = "../../primitives", default-features = false }
ink_abi = { version = "2.0.0", path = "../../abi", default-features = false, features = ["derive"], optional = true }
ink_core = { version = "2.0.0", path = "../../core", default-features = false }
ink_lang = { version = "2.0.0", path = "../../lang", default-features = false }
scale = { package = "parity-scale-codec", version = "1.2", default-features = false, features = ["derive"] }
type-metadata = { git = "https://github.com/type-metadata/type-metadata.git", default-features = false, features = ["derive"], optional = true }
[dependencies.type-metadata]
git = "https://github.com/type-metadata/type-metadata.git"
rev = "02eae9f35c40c943b56af5b60616219f2b72b47d"
default-features = false
features = ["derive"]
optional = true
[lib]
name = "dns"
......
[package]
name = "erc20"
version = "0.1.0"
version = "2.0.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
[dependencies]
ink_primitives = { path = "../../primitives", default-features = false }
ink_abi = { path = "../../abi", default-features = false, features = ["derive"], optional = true }
ink_core = { path = "../../core", default-features = false }
ink_lang = { path = "../../lang", default-features = false }
ink_primitives = { version = "2.0.0", path = "../../primitives", default-features = false }
ink_abi = { version = "2.0.0", path = "../../abi", default-features = false, features = ["derive"], optional = true }
ink_core = { version = "2.0.0", path = "../../core", default-features = false }
ink_lang = { version = "2.0.0", path = "../../lang", default-features = false }
scale = { package = "parity-scale-codec", version = "1.2", default-features = false, features = ["derive"] }
type-metadata = { git = "https://github.com/type-metadata/type-metadata.git", default-features = false, features = ["derive"], optional = true }
[dependencies.type-metadata]
git = "https://github.com/type-metadata/type-metadata.git"
rev = "02eae9f35c40c943b56af5b60616219f2b72b47d"
default-features = false
features = ["derive"]
optional = true
[lib]
name = "erc20"
......
[package]
name = "erc721"
version = "0.1.0"
version = "2.0.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
[dependencies]
ink_primitives = { path = "../../primitives", default-features = false }
ink_abi = { path = "../../abi", default-features = false, features = ["derive"], optional = true }
ink_core = { path = "../../core", default-features = false }
ink_lang = { path = "../../lang", default-features = false }
ink_primitives = { version = "2.0.0", path = "../../primitives", default-features = false }
ink_abi = { version = "2.0.0", path = "../../abi", default-features = false, features = ["derive"], optional = true }
ink_core = { version = "2.0.0", path = "../../core", default-features = false }
ink_lang = { version = "2.0.0", path = "../../lang", default-features = false }
scale = { package = "parity-scale-codec", version = "1.2", default-features = false, features = ["derive"] }
type-metadata = { git = "https://github.com/type-metadata/type-metadata.git", default-features = false, features = ["derive"], optional = true }
[dependencies.type-metadata]
git = "https://github.com/type-metadata/type-metadata.git"
rev = "02eae9f35c40c943b56af5b60616219f2b72b47d"
default-features = false
features = ["derive"]
optional = true
[lib]
name = "erc721"
......
[package]
name = "flipper"
version = "0.1.0"
version = "2.0.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
[dependencies]
ink_primitives = { path = "../../primitives", default-features = false }
ink_abi = { path = "../../abi", default-features = false, features = ["derive"], optional = true }
ink_core = { path = "../../core", default-features = false }
ink_lang = { path = "../../lang", default-features = false }
ink_primitives = { version = "2.0.0", path = "../../primitives", default-features = false }
ink_abi = { version = "2.0.0", path = "../../abi", default-features = false, features = ["derive"], optional = true }
ink_core = { version = "2.0.0", path = "../../core", default-features = false }
ink_lang = { version = "2.0.0", path = "../../lang", default-features = false }
scale = { package = "parity-scale-codec", version = "1.2", default-features = false, features = ["derive"] }
type-metadata = { git = "https://github.com/type-metadata/type-metadata.git", default-features = false, features = ["derive"], optional = true }
[dependencies.type-metadata]
git = "https://github.com/type-metadata/type-metadata.git"
rev = "02eae9f35c40c943b56af5b60616219f2b72b47d"
default-features = false
features = ["derive"]
optional = true
[lib]
name = "flipper"
......
[package]
name = "incrementer"
version = "0.1.0"
version = "2.0.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
[dependencies]
ink_primitives = { path = "../../primitives", default-features = false }
ink_abi = { path = "../../abi", default-features = false, features = ["derive"], optional = true }
ink_core = { path = "../../core", default-features = false }
ink_lang = { path = "../../lang", default-features = false }
ink_primitives = { version = "2.0.0", path = "../../primitives", default-features = false }
ink_abi = { version = "2.0.0", path = "../../abi", default-features = false, features = ["derive"], optional = true }
ink_core = { version = "2.0.0", path = "../../core", default-features = false }
ink_lang = { version = "2.0.0", path = "../../lang", default-features = false }
scale = { package = "parity-scale-codec", version = "1.2", default-features = false, features = ["derive"] }
type-metadata = { git = "https://github.com/type-metadata/type-metadata.git", default-features = false, features = ["derive"], optional = true }
[dependencies.type-metadata]
git = "https://github.com/type-metadata/type-metadata.git"
rev = "02eae9f35c40c943b56af5b60616219f2b72b47d"
default-features = false
features = ["derive"]
optional = true
[lib]
name = "incrementer"
......
[package]
name = "multisig_plain"
version = "0.1.0"
version = "2.0.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
[dependencies]
ink_abi = { path = "../../abi", default-features = false, features = ["derive"], optional = true }
ink_primitives = { path = "../../primitives", default-features = false }
ink_core = { path = "../../core", default-features = false }
ink_lang = { path = "../../lang", default-features = false }
ink_prelude = { path = "../../prelude", default-features = false }
ink_primitives = { version = "2.0.0", path = "../../primitives", default-features = false }
ink_abi = { version = "2.0.0", path = "../../abi", default-features = false, features = ["derive"], optional = true }
ink_core = { version = "2.0.0", path = "../../core", default-features = false }
ink_lang = { version = "2.0.0", path = "../../lang", default-features = false }
ink_prelude = { version = "2.0.0", path = "../../prelude", default-features = false }
scale = { package = "parity-scale-codec", version = "1.2", default-features = false, features = ["derive"] }
type-metadata = { git = "https://github.com/type-metadata/type-metadata.git", default-features = false, features = ["derive"], optional = true }
[dependencies.type-metadata]
git = "https://github.com/type-metadata/type-metadata.git"
rev = "02eae9f35c40c943b56af5b60616219f2b72b47d"
default-features = false
features = ["derive"]
optional = true
[lib]
name = "multisig_plain"
......
[package]
name = "runtime_storage"
version = "0.1.0"
version = "2.0.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
[dependencies]
ink_primitives = { path = "../../primitives", default-features = false }
ink_abi = { path = "../../abi", default-features = false, features = ["derive"], optional = true }
ink_core = { path = "../../core", default-features = false }
ink_lang = { path = "../../lang", default-features = false }
ink_primitives = { version = "2.0.0", path = "../../primitives", default-features = false }
ink_abi = { version = "2.0.0", path = "../../abi", default-features = false, features = ["derive"], optional = true }
ink_core = { version = "2.0.0", path = "../../core", default-features = false }
ink_lang = { version = "2.0.0", path = "../../lang", default-features = false }
blake2-rfc = { version = "0.2.18", default-features = false }
scale = { package = "parity-scale-codec", version = "1.2", default-features = false, features = ["derive"] }
type-metadata = { git = "https://github.com/type-metadata/type-metadata.git", default-features = false, features = ["derive"], optional = true }
blake2-rfc = { version = "0.2.18", default-features = false }
[dependencies.type-metadata]
git = "https://github.com/type-metadata/type-metadata.git"
rev = "02eae9f35c40c943b56af5b60616219f2b72b47d"
default-features = false
features = ["derive"]
optional = true
[lib]
name = "runtime_storage"
......
[package]
name = "ink_lang"
version = "0.1.0"
version = "2.0.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
......@@ -15,11 +15,11 @@ categories = ["no-std", "embedded"]
include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE"]
[dependencies]
ink_core = { path = "../core", default-features = false }
ink_primitives = { path = "../primitives", default-features = false }
ink_abi = { path = "../abi", default-features = false, optional = true }
ink_prelude = { path = "../prelude/", default-features = false }
ink_lang_macro = { path = "macro", default-features = false }
ink_core = { version = "2.0.0", path = "../core", default-features = false }
ink_primitives = { version = "2.0.0", path = "../primitives", default-features = false }
ink_abi = { version = "2.0.0", path = "../abi", default-features = false, optional = true }
ink_prelude = { version = "2.0.0", path = "../prelude/", default-features = false }
ink_lang_macro = { version = "2.0.0", path = "macro", default-features = false }
scale = { package = "parity-scale-codec", version = "1.2", default-features = false, features = ["derive", "full"] }
derive_more = { version = "0.99", default-features = false, features = ["from"] }
......
[package]
name = "ink_lang_macro"
version = "0.1.0"
version = "2.0.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
......@@ -15,7 +15,7 @@ categories = ["no-std", "embedded"]
include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE"]
[dependencies]
ink_primitives = { path = "../../primitives/", default-features = false }
ink_primitives = { version = "2.0.0", path = "../../primitives/", default-features = false }
scale = { package = "parity-scale-codec", version = "1.2", default-features = false, features = ["derive"] }
quote = "1"
......@@ -30,14 +30,19 @@ derive_more = { version = "0.99", default-features = false, features = ["from"]
regex = "1.3"
[dev-dependencies]
ink_abi = { path = "../../abi/" }
ink_core = { path = "../../core/" }
ink_lang = { path = "..", default-features = false, features = ["ink-generate-abi"] }
type-metadata = { git = "https://github.com/type-metadata/type-metadata.git", default-features = false, features = ["derive"] }
ink_abi = { version = "2.0.0", path = "../../abi/" }
ink_core = { version = "2.0.0", path = "../../core/" }
ink_lang = { version = "2.0.0", path = "..", default-features = false, features = ["ink-generate-abi"] }
trybuild = "1.0.24"
pretty_assertions = "0.6.1"
[dependencies.type-metadata]
git = "https://github.com/type-metadata/type-metadata.git"
rev = "02eae9f35c40c943b56af5b60616219f2b72b47d"
default-features = false
features = ["derive"]
[lib]
name = "ink_lang_macro"
proc-macro = true
......
[package]
name = "ink_prelude"
version = "0.1.0"
version = "2.0.0"
authors = ["Robin Freyler <robin@parity.io>", "Parity Technologies <admin@parity.io>"]
edition = "2018"
......
[package]
name = "ink_primitives"
version = "0.1.0"
version = "2.0.0"
authors = ["Robin Freyler <robin@parity.io>", "Parity Technologies <admin@parity.io>"]
edition = "2018"
......@@ -18,10 +18,16 @@ categories = ["no-std", "embedded"]
include = ["/Cargo.toml", "src/**/*.rs", "/README.md", "/LICENSE"]
[dependencies]
ink_prelude = { path = "../prelude/", default-features = false }
ink_prelude = { version = "2.0.0", path = "../prelude/", default-features = false }
tiny-keccak = { version = "2.0", features = ["keccak"] }
scale = { package = "parity-scale-codec", version = "1.2", default-features = false, features = ["derive", "full"] }
type-metadata = { git = "https://github.com/type-metadata/type-metadata.git", default-features = false, features = ["derive"], optional = true }
[dependencies.type-metadata]
git = "https://github.com/type-metadata/type-metadata.git"
rev = "02eae9f35c40c943b56af5b60616219f2b72b47d"
default-features = false
features = ["derive"]
optional = true
[features]
default = ["std"]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment