-
Notifications
You must be signed in to change notification settings - Fork 27
feat: BCS ABNF compile-time generation #1040
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
Open
thibault-martinez
wants to merge
25
commits into
develop
Choose a base branch
from
bcs-abnf-poc
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 18 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
1bb2139
feat: BCS ABNF PoC
thibault-martinez d6890ca
fix TypeTag order
thibault-martinez 04a7d2d
add new types
thibault-martinez c1f99c9
execution-status order
thibault-martinez 5af3bb4
feat: Add grammar driven fuzzing
DaughterOfMars 0d80353
dprint and clippy
DaughterOfMars 6c39a1d
fmt
DaughterOfMars c0ea8bb
improve definitions and tests
DaughterOfMars 3ce4103
consistent comments
DaughterOfMars e0b64c5
Remove trait
DaughterOfMars 7a90190
licenses and stuff
DaughterOfMars f3c5be6
add CI job
DaughterOfMars d4d12ad
Merge branch 'develop' into bcs-abnf-poc
DaughterOfMars c6d1387
nits
DaughterOfMars bfa5002
Merge branch 'bcs-abnf-poc' of https://github.com/iotaledger/iota-rus…
DaughterOfMars 51d5d63
const file name
DaughterOfMars 173738d
remove duplicates
DaughterOfMars e9df75a
add env check to proc macro
DaughterOfMars 12b7f9c
replace hex with decimal
DaughterOfMars 87355a5
conform to rfc5234
DaughterOfMars 6361fba
disallow duplicate names
DaughterOfMars a1fd82d
combine
DaughterOfMars 915ea7c
fix duplication detection
DaughterOfMars 7907d6c
fmt
DaughterOfMars a436701
update bindings
DaughterOfMars File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| [package] | ||
| name = "iota-bcs-schema" | ||
| version = "0.0.0" | ||
| 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"] } | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.