-
Notifications
You must be signed in to change notification settings - Fork 443
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Workspace dependencies and properties #1835
Changes from 9 commits
c5fffc5
226d634
557b6fa
370d82b
71c17df
ae37585
2d79a2f
af38b3a
6df6d00
fe27c05
4a26141
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,100 @@ | ||
[workspace] | ||
resolver = "2" | ||
members = [ | ||
"crates/ink", | ||
"crates/metadata", | ||
"crates/allocator", | ||
"crates/e2e", | ||
"crates/e2e/macro", | ||
"crates/engine", | ||
"crates/env", | ||
"crates/ink", | ||
"crates/ink/macro", | ||
"crates/ink/ir", | ||
"crates/ink/codegen", | ||
"crates/ink/ir", | ||
"crates/ink/macro", | ||
"crates/metadata", | ||
"crates/prelude", | ||
"crates/primitives", | ||
"crates/e2e", | ||
"crates/e2e/macro", | ||
"crates/engine", | ||
"crates/env", | ||
"crates/storage", | ||
"crates/storage/traits", | ||
] | ||
exclude = [ | ||
"integration-tests/", | ||
"integration-tests", | ||
] | ||
|
||
[workspace.package] | ||
authors = ["Parity Technologies <admin@parity.io>"] | ||
categories = ["no-std", "embedded"] | ||
edition = "2021" | ||
homepage = "https://www.parity.io/" | ||
keywords = ["wasm", "parity", "webassembly", "blockchain", "edsl"] | ||
license = "Apache-2.0" | ||
repository = "/~https://github.com/paritytech/ink" | ||
version = "4.2.0" | ||
|
||
[workspace.dependencies] | ||
arrayref = { version = "0.3" } | ||
array-init = { version = "2.0", default-features = false } | ||
blake2 = { version = "0.10" } | ||
cargo_metadata = { version = "0.15.3" } | ||
cfg-if = { version = "1.0" } | ||
contract-build = { version = "3.0.0" } | ||
derive_more = { version = "0.99.17", default-features = false } | ||
either = { version = "1.5", default-features = false } | ||
funty = { version = "2.0.0" } | ||
heck = { version = "0.4.0" } | ||
impl-serde = { version = "0.4.0", default-features = false } | ||
itertools = { version = "0.11", default-features = false } | ||
jsonrpsee = { version = "0.18.0" } | ||
num-traits = { version = "0.2", default-features = false } | ||
paste = { version = "1.0" } | ||
pretty_assertions = { version = "1" } | ||
proc-macro2 = { version = "1" } | ||
quickcheck = { version = "1" } | ||
quickcheck_macros = { version = "1" } | ||
quote = { version = "1" } | ||
rlibc = { version = "1" } | ||
scale = { package = "parity-scale-codec", version = "3.4", default-features = false, features = ["derive"] } | ||
scale-decode = { version = "0.7.0", default-features = false } | ||
scale-encode = { version = "0.3.0", default-features = false } | ||
scale-info = { version = "2.6", default-features = false } | ||
schemars = { version = "0.8" } | ||
secp256k1 = { version = "0.27.0" } | ||
serde = { version = "1.0.137", default-features = false } | ||
serde_json = { version = "1.0.81" } | ||
sha2 = { version = "0.10" } | ||
sha3 = { version = "0.10" } | ||
static_assertions = { version = "1.1" } | ||
subxt = { version = "0.29.0" } | ||
syn = { version = "2" } | ||
synstructure = { version = "0.13.0" } | ||
tokio = { version = "1.18.2" } | ||
tracing = { version = "0.1.37" } | ||
tracing-subscriber = { version = "0.3.17" } | ||
trybuild = { version = "1.0.60" } | ||
which = { version = "4.4.0" } | ||
xxhash-rust = { version = "0.8" } | ||
|
||
# Substrate dependencies | ||
pallet-contracts-primitives = { version = "24.0.0", default-features = false } | ||
sp-core = { version = "21.0.0", default-features = false } | ||
sp-keyring = { version = "24.0.0", default-features = false } | ||
sp-runtime = { version = "24.0.0", default-features = false } | ||
sp-weights = { version = "20.0.0", default-features = false } | ||
|
||
# Local dependencies | ||
ink = { version = "=4.2.0", path = "crates/ink", default-features = false } | ||
ink_allocator = { version = "=4.2.0", path = "crates/allocator", default-features = false } | ||
ink_codegen = { version = "=4.2.0", path = "crates/ink/codegen", default-features = false } | ||
ink_e2e_macro = { version = "=4.2.0", path = "crates/e2e/macro", default-features = false } | ||
ink_engine = { version = "=4.2.0", path = "crates/engine", default-features = false } | ||
ink_env = { version = "4.2.0", path = "crates/env", default-features = false } | ||
ink_ir = { version = "4.2.0", path = "crates/ink/ir", default-features = false } | ||
ink_macro = { version = "=4.2.0", path = "crates/ink/macro", default-features = false } | ||
ink_metadata = { version = "=4.2.0", path = "crates/metadata", default-features = false } | ||
ink_prelude = { version = "=4.2.0", path = "crates/prelude", default-features = false } | ||
ink_primitives = { version = "=4.2.0", path = "crates/primitives", default-features = false } | ||
ink_storage = { version = "=4.2.0", path = "crates/storage", default-features = false } | ||
ink_storage_traits = { version = "=4.2.0", path = "crates/storage/traits", default-features = false } | ||
|
||
[profile.release] | ||
panic = "abort" | ||
lto = true |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
[package] | ||
name = "ink_allocator" | ||
version = "4.2.0" | ||
version.workspace = true | ||
authors = ["Parity Technologies <admin@parity.io>", "Robin Freyler <robin@parity.io>"] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. See discussion above. @Robbepop is the original author of some of the crates so those ones will remain not inhherited, and the rest inherit the default. |
||
edition = "2021" | ||
edition.workspace = true | ||
|
||
license = "Apache-2.0" | ||
license.workspace = true | ||
readme = "README.md" | ||
repository = "/~https://github.com/paritytech/ink" | ||
repository.workspace = true | ||
documentation = "https://docs.rs/ink_allocator/" | ||
homepage = "https://www.parity.io/" | ||
homepage.workspace = true | ||
description = "[ink!] Bindings to the Wasm heap memory allocator." | ||
keywords = ["wasm", "parity", "webassembly", "blockchain", "edsl"] | ||
categories = ["no-std", "embedded"] | ||
keywords.workspace = true | ||
categories.workspace = true | ||
include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE"] | ||
|
||
[dependencies] | ||
cfg-if = "1.0" | ||
cfg-if = { workspace = true } | ||
|
||
[dev-dependencies] | ||
quickcheck = "1" | ||
quickcheck_macros = "1" | ||
quickcheck = { workspace = true } | ||
quickcheck_macros = { workspace = true } | ||
|
||
[features] | ||
default = ["std"] | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,31 @@ | ||
[package] | ||
name = "ink_e2e_macro" | ||
version = "4.2.0" | ||
authors = ["Parity Technologies <admin@parity.io>"] | ||
edition = "2021" | ||
version.workspace = true | ||
authors.workspace = true | ||
edition.workspace = true | ||
|
||
license = "Apache-2.0" | ||
license.workspace = true | ||
readme = "../README.md" | ||
repository = "/~https://github.com/paritytech/ink" | ||
repository.workspace = true | ||
documentation = "https://docs.rs/ink_macro/" | ||
homepage = "https://www.parity.io/" | ||
homepage.workspace = true | ||
description = "[ink!] Macro for generating end-to-end tests" | ||
keywords = ["wasm", "parity", "webassembly", "blockchain", "edsl"] | ||
categories = ["no-std", "embedded"] | ||
keywords.workspace = true | ||
categories.workspace = true | ||
include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE"] | ||
|
||
[lib] | ||
name = "ink_e2e_macro" | ||
proc-macro = true | ||
|
||
[dependencies] | ||
ink_ir = { version = "=4.2.0", path = "../../ink/ir" } | ||
cargo_metadata = "0.15.3" | ||
contract-build = "3.0.0" | ||
derive_more = "0.99.17" | ||
tracing-subscriber = { version = "0.3.17", features = ["env-filter"] } | ||
serde_json = "1.0.89" | ||
syn = "2" | ||
proc-macro2 = "1" | ||
quote = "1" | ||
which = "4.4.0" | ||
ink_ir = { workspace = true, default-features = true } | ||
cargo_metadata = { workspace = true } | ||
contract-build = { workspace = true } | ||
derive_more = { workspace = true, default-features = true } | ||
tracing-subscriber = { workspace = true, features = ["env-filter"] } | ||
serde_json = { workspace = true } | ||
syn = { workspace = true } | ||
proc-macro2 = { workspace = true } | ||
quote = { workspace = true } | ||
which = { workspace = true } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are these two not fixed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for spotting: #1856