Finite state machines in rust; bendns fork to add types.
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -30,13 +30,16 @@ of state machines: * A Moore machine by providing an output function that do not depend on the provided inputs. -## Usage in `no_std` environments +## Features This library has the feature named `std` which is enabled by default. You may want to import this library as -`rust-fsm = { version = "0.5", default-features = false }` to use it in a -`no_std` environment. This only affects error types (the `Error` trait is -only available in `std`). +`rust-fsm = { version = "0.5", default-features = false, features = ["dsl"] }` +to use it in a `no_std` environment. This only affects error types (the `Error` +trait is only available in `std`). + +The DSL implementation re-export is gated by the feature named `dsl` which is +also enabled by default. ## Use |