Move all deps to workspace toml (#932)

* Move all deps to workspace toml

* cargo fmt and codec 3.4, removing now unneeded 'full' feature

* add wasm-tests to workspace and fix subxt inheritng

* cargo fmt

* wasm-test thing can't be in workspace so revert that

* remove unwanted target dir from wasm-tests
This commit is contained in:
James Wilson
2023-04-26 10:31:59 +01:00
committed by GitHub
parent e583aa987e
commit 464b4432cf
18 changed files with 2276 additions and 190 deletions
+17 -17
View File
@@ -1,6 +1,6 @@
[package]
name = "subxt-codegen"
version = "0.28.0"
version.workspace = true
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
@@ -13,21 +13,21 @@ homepage.workspace = true
description = "Generate an API for interacting with a substrate node from FRAME metadata"
[dependencies]
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive", "full"] }
darling = "0.14.4"
frame-metadata = { version = "15.1.0", features = ["v14", "v15-unstable", "std"] }
heck = "0.4.1"
proc-macro2 = "1.0.55"
quote = "1.0.8"
syn = "1.0.109"
scale-info = "2.5.0"
subxt-metadata = { version = "0.28.0", path = "../metadata" }
jsonrpsee = { version = "0.16.0", features = ["async-client", "client-ws-transport", "http-client"] }
hex = "0.4.3"
tokio = { version = "1.27", features = ["macros", "rt-multi-thread"] }
thiserror = "1.0.40"
codec = { package = "parity-scale-codec", workspace = true, features = ["derive"] }
darling = { workspace = true }
frame-metadata = { workspace = true }
heck = { workspace = true }
proc-macro2 = { workspace = true }
quote = { workspace = true }
syn = { workspace = true }
scale-info = { workspace = true }
subxt-metadata = { workspace = true }
jsonrpsee = { workspace = true, features = ["async-client", "client-ws-transport", "http-client"] }
hex = { workspace = true }
tokio = { workspace = true }
thiserror = { workspace = true }
[dev-dependencies]
bitvec = { version = "1.0.0", default-features = false, features = ["alloc"] }
scale-info = { version = "2.5.0", features = ["bit-vec"] }
pretty_assertions = "1.0.0"
bitvec = { workspace = true }
scale-info = { workspace = true, features = ["bit-vec"] }
pretty_assertions = { workspace = true }