Finite state machines in rust; bendns fork to add types.
Set up a module for procedural macros
Yevhenii Babichenko 2019-04-28
parent bef3a73 · commit 9780937
-rw-r--r--Cargo.toml2
-rw-r--r--rust_fsm_dsl/Cargo.toml21
-rw-r--r--rust_fsm_dsl/src/lib.rs0
3 files changed, 22 insertions, 1 deletions
diff --git a/Cargo.toml b/Cargo.toml
index bb235d9..0107ec4 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,2 +1,2 @@
[workspace]
-members = ["rust_fsm"]
+members = ["rust_fsm", "rust_fsm_dsl"]
diff --git a/rust_fsm_dsl/Cargo.toml b/rust_fsm_dsl/Cargo.toml
new file mode 100644
index 0000000..e85b73d
--- /dev/null
+++ b/rust_fsm_dsl/Cargo.toml
@@ -0,0 +1,21 @@
+[package]
+name = "rust-fsm-dsl"
+description = "Macros for rust-fsm DSL"
+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"
+
+[lib]
+proc-macro = true
+
+[dependencies]
+syn = "*"
+
+[dev-dependencies]
+rust-fsm = { path = "../rust_fsm" }
diff --git a/rust_fsm_dsl/src/lib.rs b/rust_fsm_dsl/src/lib.rs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/rust_fsm_dsl/src/lib.rs