Skip to content
Open
Show file tree
Hide file tree
Changes from 18 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/lints.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ jobs:
if: (!github.event.pull_request.draft || contains(github.event.pull_request.body, '[run-ci]'))
run: make doc

- name: BCS schema
if: (!github.event.pull_request.draft || contains(github.event.pull_request.body, '[run-ci]'))
run: BCS_SCHEMA=1 cargo check -p iota-sdk-types --features bcs-schema

- run: make is-dirty

cargo-deny:
Expand Down
2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[workspace]
resolver = "2"
members = [
"crates/iota-bcs-schema",
"crates/iota-sdk",
"crates/iota-sdk-crypto",
"crates/iota-sdk-ffi",
Expand Down Expand Up @@ -42,6 +43,7 @@ thiserror = "2.0"
tokio = "1.40.0"
variadics_please = "1.1"

iota-bcs-schema = { version = "0.0.0", path = "crates/iota-bcs-schema" }
iota-crypto = { version = "0.0.1-alpha.1", package = "iota-sdk-crypto", path = "crates/iota-sdk-crypto", default-features = false }
iota-graphql-client = { version = "0.0.1-alpha.1", package = "iota-sdk-graphql-client", path = "crates/iota-sdk-graphql-client", default-features = false }
iota-graphql-client-build = { version = "0.0.1-alpha.1", package = "iota-sdk-graphql-client-build", path = "crates/iota-sdk-graphql-client-build", default-features = false }
Expand Down
17 changes: 17 additions & 0 deletions crates/iota-bcs-schema/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[package]
name = "iota-bcs-schema"
version = "0.0.0"
Comment thread
Alex6323 marked this conversation as resolved.
authors = ["IOTA Foundation <info@iota.org>"]
edition = "2024"
license = "Apache-2.0"
publish = false
repository = "https://github.com/iotaledger/iota-rust-sdk/"
description = "A procedural macro to generate BCS schema definitions for Rust types in ABNF format"

[lib]
proc-macro = true

[dependencies]
proc-macro2 = "1"
quote = "1"
syn = { version = "2", features = ["full"] }
Loading
Loading