Skip to content

Commit

Permalink
v0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
eugene-babichenko committed Aug 24, 2021
1 parent 35562df commit c48b19f
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 10 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ adheres to [Semantic Versioning][semver].

## [Unreleased]

## [0.6.0] - 2021-08-24
### Changed
* Updated to `1.x` versions of `syn` and `quote`.

## [0.5.0] - 2021-02-23
### Added
* The re-export of the DSL implementation is gated by the `dsl` feature which is
Expand Down Expand Up @@ -59,7 +63,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.5.0...HEAD
[Unreleased]: https://github.com/eugene-babichenko/rust-fsm/compare/v0.6.0...HEAD
[0.6.0]: https://github.com/eugene-babichenko/rust-fsm/compare/v0.5.0...v0.6.0
[0.5.0]: https://github.com/eugene-babichenko/rust-fsm/compare/v0.4.0...v0.5.0
[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
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ readme = "README.md"
license = "MIT"
categories = ["data-structures", "rust-patterns"]
keywords = ["fsm"]
version = "0.5.0"
version = "0.6.0"
authors = ["Yevhenii Babichenko"]
edition = "2018"

Expand All @@ -18,7 +18,7 @@ std = []
dsl = ["rust-fsm-dsl"]

[dependencies]
rust-fsm-dsl = { path = "./rust_fsm_dsl", version = "0.5.0", optional = true }
rust-fsm-dsl = { path = "./rust_fsm_dsl", version = "0.6.0", optional = true }

[profile.dev]
panic = "abort"
Expand Down
6 changes: 3 additions & 3 deletions rust_fsm_dsl/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ readme = "../README.md"
license = "MIT"
categories = ["data-structures", "rust-patterns"]
keywords = ["fsm"]
version = "0.5.0"
version = "0.6.0"
authors = ["Yevhenii Babichenko"]
edition = "2018"

[lib]
proc-macro = true

[dependencies]
syn = "0.15"
quote = "0.6"
syn = "1"
quote = "1"
8 changes: 4 additions & 4 deletions rust_fsm_dsl/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ extern crate proc_macro;

use proc_macro::TokenStream;
use quote::quote;
use std::collections::HashSet;
use std::collections::BTreeSet;
use syn::{parse_macro_input, Ident};

mod parser;
Expand Down Expand Up @@ -55,9 +55,9 @@ pub fn state_machine(tokens: TokenStream) -> TokenStream {
})
.collect();

let mut states = HashSet::new();
let mut inputs = HashSet::new();
let mut outputs = HashSet::new();
let mut states = BTreeSet::new();
let mut inputs = BTreeSet::new();
let mut outputs = BTreeSet::new();

states.insert(&input.initial_state);

Expand Down

0 comments on commit c48b19f

Please sign in to comment.