-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update versions for 0.5 Also fixes issue when embassy-executor/nightly features are active * Remove embassy-executor-nightly feature (#21) * Fixup docs links * Remove dead feature --------- Co-authored-by: Alexander van Saase <[email protected]>
- Loading branch information
1 parent
c5c5fb4
commit a0f90f5
Showing
12 changed files
with
28 additions
and
20 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "postcard-rpc" | ||
version = "0.4.2" | ||
version = "0.5.0" | ||
authors = ["James Munns <[email protected]>"] | ||
edition = "2021" | ||
repository = "https://github.com/jamesmunns/postcard-rpc" | ||
|
@@ -19,8 +19,15 @@ documentation = "https://docs.rs/postcard-rpc/" | |
readme = "../../README.md" | ||
|
||
[package.metadata.docs.rs] | ||
all-features = true | ||
rustdoc-args = ["--cfg", "doc_cfg"] | ||
features = [ | ||
"test-utils", | ||
"use-std", | ||
"cobs-serial", | ||
"raw-nusb", | ||
"embassy-usb-0_2-server", | ||
"_docs-fix", | ||
] | ||
|
||
[dependencies] | ||
cobs = { version = "0.2.3", optional = true, default-features = false } | ||
|
@@ -78,6 +85,9 @@ optional = true | |
version = "0.5" | ||
optional = true | ||
|
||
[dev-dependencies] | ||
postcard-rpc = { path = "../postcard-rpc", features = ["test-utils"] } | ||
|
||
# | ||
# Hack features (see below) | ||
# | ||
|
@@ -87,9 +97,7 @@ optional = true | |
features = ["std"] | ||
|
||
[features] | ||
default = [ | ||
# "embassy-usb-0_2-server", | ||
] | ||
default = [] | ||
test-utils = [ | ||
"use-std", | ||
] | ||
|
@@ -117,13 +125,9 @@ embassy-usb-0_2-server = [ | |
|
||
# NOTE: This exists because `embassy-usb` indirectly relies on ssmarshal | ||
# which doesn't work on `std` builds without the `std` feature. This causes | ||
# `cargo doc --all-features` (and docs.rs builds) to fail. Sneakily re-active | ||
# `cargo doc --all-features` (and docs.rs builds) to fail. Sneakily re-activate | ||
# that feature when `--all-features` is set. This feature is considered unstable | ||
# and should not be relied upon. | ||
_docs-fix = [ | ||
"dep:ssmarshal", | ||
] | ||
|
||
[patch.crates-io] | ||
embassy-usb = { git = "https://github.com/jamesmunns/embassy", rev = "0d0d8e14e2b0e81307ff70c5a31e300785da19f9" } | ||
embassy-usb-driver = { git = "https://github.com/jamesmunns/embassy", rev = "0d0d8e14e2b0e81307ff70c5a31e300785da19f9" } |
This file contains 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 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 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 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