Finite state machines in rust; bendns fork to add types.
-rw-r--r--.github/workflows/tests.yml2
-rw-r--r--CHANGELOG.md11
-rw-r--r--Cargo.toml4
-rw-r--r--rust_fsm_dsl/Cargo.toml2
4 files changed, 13 insertions, 6 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 48f6fb0..869007c 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -27,7 +27,7 @@ jobs:
- name: Run cargo clippy
uses: actions-rs/cargo@v1
with:
- command: clippy
+ command: clippy
- name: Ensure the library compiles in a no_std env
uses: actions-rs/cargo@v1
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 226fcbd..67f292a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,9 +5,15 @@ The format is based on [Keep a Changelog][keepachangelog], and this project
adheres to [Semantic Versioning][semver].
## [Unreleased]
+
+## [0.4.0] - 2020-08-25
### Added
+* Allow deriving different traits for generated traits.
* Add the `from_state` method to start the machine from any given state.
-* `no_std` support.
+* `no_std` support (thanks @luctius).
+### Removed
+* All default derives on generated enums.
+* `Copy` constraint on `StateMachineImpl::State`.
## [0.3.0] - 2019-05-22
### Changed
@@ -42,7 +48,8 @@ adheres to [Semantic Versioning][semver].
[keepachangelog]: https://keepachangelog.com/en/1.0.0/
[semver]: https://semver.org/spec/v2.0.0.html
-[Unreleased]: https://github.com/eugene-babichenko/rust-fsm/compare/v0.3.0...HEAD
+[Unreleased]: https://github.com/eugene-babichenko/rust-fsm/compare/v0.4.0...HEAD
+[0.4.0]: https://github.com/eugene-babichenko/rust-fsm/compare/v0.3.0...v0.4.0
[0.3.0]: https://github.com/eugene-babichenko/rust-fsm/compare/v0.2.0...0.3.0
[0.2.0]: https://github.com/eugene-babichenko/rust-fsm/compare/v0.1.0...0.2.0
[0.1.0]: https://github.com/eugene-babichenko/rust-fsm/releases/tag/v0.1.0
diff --git a/Cargo.toml b/Cargo.toml
index 87c4dcc..9831a38 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -8,12 +8,12 @@ readme = "README.md"
license = "MIT"
categories = ["data-structures", "rust-patterns"]
keywords = ["fsm"]
-version = "0.3.0"
+version = "0.4.0"
authors = ["Yevhenii Babichenko"]
edition = "2018"
[dependencies]
-rust-fsm-dsl = { path = "./rust_fsm_dsl", version = "0.3.0" }
+rust-fsm-dsl = { path = "./rust_fsm_dsl", version = "0.4.0" }
[profile.dev]
panic = "abort"
diff --git a/rust_fsm_dsl/Cargo.toml b/rust_fsm_dsl/Cargo.toml
index c51e4c2..5e4c1b4 100644
--- a/rust_fsm_dsl/Cargo.toml
+++ b/rust_fsm_dsl/Cargo.toml
@@ -8,7 +8,7 @@ readme = "../README.md"
license = "MIT"
categories = ["data-structures", "rust-patterns"]
keywords = ["fsm"]
-version = "0.3.0"
+version = "0.4.0"
authors = ["Yevhenii Babichenko"]
edition = "2018"