Skip to content

Commit

Permalink
Move wire encoding logic to its own crate (#495)
Browse files Browse the repository at this point in the history
Also change the format to be self-delimited. This doesn't cost much and
simplifies quite a lot. This is not a breaking change because the
protocol is not yet released.
  • Loading branch information
ia0 authored May 29, 2024
1 parent bde28b9 commit a754d0d
Show file tree
Hide file tree
Showing 56 changed files with 3,543 additions and 509 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# All files are assumed to be reviewed in a printed form by default.
* textreview
# Binary files are not reviewed in printed form.
*.bin -textreview
*.pdf -textreview
*.png -textreview
*.wasm -textreview
Expand Down
2 changes: 1 addition & 1 deletion crates/protocol/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

## 0.1.0-git

<!-- Increment to skip CHANGELOG.md test: 3 -->
<!-- Increment to skip CHANGELOG.md test: 5 -->
37 changes: 18 additions & 19 deletions crates/protocol/Cargo.lock

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

8 changes: 6 additions & 2 deletions crates/protocol/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,16 @@ include = ["/src"]
keywords = ["embedded", "framework", "no-std"]
categories = ["embedded", "no-std"]

[package.metadata.docs.rs]
all-features = true

[dependencies]
sealed = { version = "0.5.0", default-features = false }
wasefire-error = { version = "0.1.1-git", path = "../error" }
wasefire-wire = { version = "0.1.0-git", path = "../wire" }

[features]
std = ["wasefire-error/std"]
full = []
std = ["wasefire-error/std", "wasefire-wire/std"]

[lints]
clippy.unit-arg = "allow"
Expand Down
Loading

0 comments on commit a754d0d

Please sign in to comment.