Skip to content

Commit

Permalink
Use minimum amount of dependencies for crates (#524)
Browse files Browse the repository at this point in the history
* macro: Reduce dependencies

Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>

* macro: Remove dev-dependencies

Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>

* codegen: Reduce dependencies

Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>

* subxt: Reduce dependencies

Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
  • Loading branch information
lexnv committed Apr 29, 2022
1 parent 24317b4 commit b32cd32
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 19 deletions.
3 changes: 0 additions & 3 deletions codegen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,15 @@ homepage = "https://www.parity.io/"
description = "Generate an API for interacting with a substrate node from FRAME metadata"

[dependencies]
async-trait = "0.1.49"
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive", "full", "bit-vec"] }
darling = "0.14.0"
frame-metadata = "15.0.0"
heck = "0.4.0"
proc-macro2 = "1.0.24"
proc-macro-crate = "0.1.5"
proc-macro-error = "1.0.4"
quote = "1.0.8"
syn = "1.0.58"
scale-info = { version = "2.0.0", features = ["bit-vec"] }
sp-core = { version = "6.0.0" }
subxt-metadata = { version = "0.20.0", path = "../metadata" }

[dev-dependencies]
Expand Down
14 changes: 0 additions & 14 deletions macro/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,8 @@ description = "Generate types and helpers for interacting with Substrate runtime
proc-macro = true

[dependencies]
async-trait = "0.1.49"
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive", "full"] }
darling = "0.14.0"
frame-metadata = "15.0.0"
heck = "0.4.0"
proc-macro2 = "1.0.24"
proc-macro-crate = "0.1.5"
proc-macro-error = "1.0.4"
quote = "1.0.8"
syn = "1.0.58"
scale-info = "2.0.0"

subxt-codegen = { path = "../codegen", version = "0.20.0" }

[dev-dependencies]
pretty_assertions = "1.0.0"
subxt = { path = "../subxt" }
trybuild = "1.0.38"
sp-keyring = "6.0.0"
2 changes: 0 additions & 2 deletions subxt/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,8 @@ description = "Submit extrinsics (transactions) to a substrate node via RPC"
keywords = ["parity", "substrate", "blockchain"]

[dependencies]
async-trait = "0.1.49"
bitvec = { version = "1.0.0", default-features = false, features = ["alloc"] }
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive", "full", "bit-vec"] }
chameleon = "0.1.0"
scale-info = { version = "2.0.0", features = ["bit-vec"] }
futures = "0.3.13"
hex = "0.4.3"
Expand Down

0 comments on commit b32cd32

Please sign in to comment.