Finite state machines in rust; bendns fork to add types.
Move the base package to a workspace subfolder.
| -rw-r--r-- | Cargo.toml | 15 | ||||
| -rw-r--r-- | rust_fsm/Cargo.toml | 14 | ||||
| -rw-r--r-- | rust_fsm/examples/circuit_breaker.rs (renamed from examples/circuit_breaker.rs) | 0 | ||||
| -rw-r--r-- | rust_fsm/src/lib.rs (renamed from src/lib.rs) | 0 | ||||
| -rw-r--r-- | rust_fsm/src/machine.rs (renamed from src/machine.rs) | 0 | ||||
| -rw-r--r-- | rust_fsm/src/machine_wrapper.rs (renamed from src/machine_wrapper.rs) | 0 |
6 files changed, 16 insertions, 13 deletions
@@ -1,13 +1,2 @@ -[package] -name = "rust-fsm" -description = "A framework for building finite state machines in Rust" -repository = "https://github.com/eugene-babichenko/rust-fsm" -homepage = "https://github.com/eugene-babichenko/rust-fsm" -readme = "README.md" -categories = ["data-structures", "rust-patterns"] -keywords = ["fsm"] -version = "0.1.0" -authors = ["Yevhenii Babichenko"] -edition = "2018" - -[dependencies] +[workspace] +members = ["rust_fsm"] diff --git a/rust_fsm/Cargo.toml b/rust_fsm/Cargo.toml new file mode 100644 index 0000000..09d6a83 --- /dev/null +++ b/rust_fsm/Cargo.toml @@ -0,0 +1,14 @@ +[package] +name = "rust-fsm" +description = "A framework for building finite state machines in Rust" +repository = "https://github.com/eugene-babichenko/rust-fsm" +homepage = "https://github.com/eugene-babichenko/rust-fsm" +readme = "../README.md" +license = "MIT" +categories = ["data-structures", "rust-patterns"] +keywords = ["fsm"] +version = "0.1.0" +authors = ["Yevhenii Babichenko"] +edition = "2018" + +[dependencies] diff --git a/examples/circuit_breaker.rs b/rust_fsm/examples/circuit_breaker.rs index f68e1ee..f68e1ee 100644 --- a/examples/circuit_breaker.rs +++ b/rust_fsm/examples/circuit_breaker.rs diff --git a/src/lib.rs b/rust_fsm/src/lib.rs index 259e038..259e038 100644 --- a/src/lib.rs +++ b/rust_fsm/src/lib.rs diff --git a/src/machine.rs b/rust_fsm/src/machine.rs index a38f7eb..a38f7eb 100644 --- a/src/machine.rs +++ b/rust_fsm/src/machine.rs diff --git a/src/machine_wrapper.rs b/rust_fsm/src/machine_wrapper.rs index a48cb1a..a48cb1a 100644 --- a/src/machine_wrapper.rs +++ b/rust_fsm/src/machine_wrapper.rs |