Skip to content
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

feat: blueprint-serde crate #429

Merged
merged 10 commits into from
Nov 5, 2024
24 changes: 22 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ members = [
"gadget-io",
"blueprint-test-utils",
"blueprint-manager",
"blueprint-serde",
"sdk",
"macros/blueprint-proc-macro",
"macros/blueprint-proc-macro-core",
Expand All @@ -36,13 +37,16 @@ unused_import_braces = "deny"
pedantic = { level = "deny", priority = -1 }
all = { level = "deny", priority = -1 }
single_match_else = "allow"
uninlined_format_args = "allow"
needless_late_init = "allow"

[workspace.lints.rustdoc]
broken_intra_doc_links = "deny"

[workspace.dependencies]
gadget-io = { version = "0.0.4", path = "./gadget-io", default-features = false }
blueprint-manager = { version = "0.1.1", path = "./blueprint-manager" }
blueprint-serde = { version = "0.1.0", path = "./blueprint-serde", package = "gadget-blueprint-serde" }
blueprint-test-utils = { path = "./blueprint-test-utils" }
gadget-sdk = { path = "./sdk", default-features = false, version = "0.2.3" }

Expand All @@ -59,7 +63,7 @@ cargo-tangle = { path = "./cli", version = "0.2.1" }
cargo_metadata = { version = "0.18.1" }

# Tangle-related dependencies
tangle-subxt = { version = "0.4.0", default-features = false }
tangle-subxt = { version = "0.5.0", default-features = false }
subxt-signer = { version = "0.37.0", default-features = false }
subxt = { version = "0.37.0", default-features = false }
subxt-core = { version = "0.37.0", default-features = false }
Expand Down Expand Up @@ -115,6 +119,7 @@ multiaddr = { version = "0.18.1", default-features = false }
nix = { version = "0.29.0", features = ["process", "signal"] }
num-bigint = "0.4.6"
parking_lot = "0.12.3"
paste = "1.0.15"
proc-macro2 = "1.0"
prometheus = { version = "0.13.4", default-features = false }
quote = "1.0"
Expand All @@ -124,6 +129,7 @@ rustdoc-types = "0.31.0"
schnorrkel = { version = "0.11.4", default-features = false, features = ["preaudit_deprecated", "getrandom"] }
serde = { version = "1.0.208", default-features = false }
serde_json = "1.0"
serde_test = "1.0.177"
sha2 = "0.10.8"
sqlx = "=0.7.3"
syn = "2.0.75"
Expand Down
23 changes: 23 additions & 0 deletions blueprint-serde/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
[package]
name = "gadget-blueprint-serde"
version = "0.1.0"
authors.workspace = true
edition.workspace = true
license.workspace = true
homepage.workspace = true
repository.workspace = true

[dependencies]
paste.workspace = true
serde.workspace = true
tangle-subxt.workspace = true

[dev-dependencies]
serde_test.workspace = true

[lints]
workspace = true

[features]
default = ["std"]
std = []
Loading
Loading