Skip to content

Commit

Permalink
Remove std feature
Browse files Browse the repository at this point in the history
Signed-off-by: Denis Varlakov <[email protected]>
  • Loading branch information
survived committed Dec 3, 2024
1 parent 5d53357 commit 0cb79cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions round-based/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,15 @@
* Use `core::error::Error` trait which is now always implemented for all errors regardless whether `std` feature
is enabled or not [#14]
* Update `thiserror` dependency to v2
* BREAKING: remove `std` feature, as the crate is fully no_std now

Migration guidelines:
* Replace `dev` feature with `sim`
* Instead of using `round_based::simulation::Simulation` from previous version, use
`round_based::simulation::{run, run_with_setup}`
* Take advantage of `SimResult::{expect_ok, expect_eq}` to reduce amount of the code
in your tests
* Remove `std` feature, if it was explicitly enabled

Other than simulation, there are no breaking changes in this release.

Expand Down
1 change: 0 additions & 1 deletion round-based/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ sim = ["state-machine"]
sim-async = ["sim", "tokio/sync", "tokio-stream", "futures-util/alloc"]
derive = ["round-based-derive"]
runtime-tokio = ["tokio"]
std = []

[[test]]
name = "derive"
Expand Down

0 comments on commit 0cb79cf

Please sign in to comment.