# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2018" name = "smlang" version = "0.8.0" authors = [ "Emil Fresk ", "Donny Zimmanck ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A no-std state machine language DSL" readme = "README.md" keywords = [ "dsl", "statemachine", ] categories = [ "embedded", "no-std", ] license = "MIT OR Apache-2.0" repository = "https://github.com/korken89/smlang-rs" [profile.release] lto = true codegen-units = 1 [lib] name = "smlang" path = "src/lib.rs" [[example]] name = "async" path = "examples/async.rs" [[example]] name = "context" path = "examples/context.rs" [[example]] name = "dominos" path = "examples/dominos.rs" [[example]] name = "event_with_data" path = "examples/event_with_data.rs" [[example]] name = "event_with_mutable_data" path = "examples/event_with_mutable_data.rs" [[example]] name = "event_with_reference_data" path = "examples/event_with_reference_data.rs" [[example]] name = "ex1" path = "examples/ex1.rs" [[example]] name = "ex2" path = "examples/ex2.rs" [[example]] name = "ex3" path = "examples/ex3.rs" [[example]] name = "guard_action_syntax" path = "examples/guard_action_syntax.rs" [[example]] name = "guard_action_syntax_with_temporary_context" path = "examples/guard_action_syntax_with_temporary_context.rs" [[example]] name = "guard_custom_error" path = "examples/guard_custom_error.rs" [[example]] name = "input_state_pattern_match" path = "examples/input_state_pattern_match.rs" [[example]] name = "named_async" path = "examples/named_async.rs" [[example]] name = "named_dominos" path = "examples/named_dominos.rs" [[example]] name = "named_ex1" path = "examples/named_ex1.rs" [[example]] name = "named_ex2" path = "examples/named_ex2.rs" [[example]] name = "named_ex3" path = "examples/named_ex3.rs" [[example]] name = "named_input_state_pattern_match" path = "examples/named_input_state_pattern_match.rs" [[example]] name = "named_state_with_data" path = "examples/named_state_with_data.rs" [[example]] name = "named_state_with_reference_data" path = "examples/named_state_with_reference_data.rs" [[example]] name = "on_entry_on_exit_generic" path = "examples/on_entry_on_exit_generic.rs" [[example]] name = "reuse_action" path = "examples/reuse_action.rs" [[example]] name = "starting_state_with_data" path = "examples/starting_state_with_data.rs" [[example]] name = "state_machine_logger" path = "examples/state_machine_logger.rs" [[example]] name = "state_with_data" path = "examples/state_with_data.rs" [[example]] name = "state_with_reference_data" path = "examples/state_with_reference_data.rs" [[test]] name = "test" path = "tests/test.rs" [dependencies.smlang-macros] version = "0.8.0" [dev-dependencies.derive_more] version = "0.99.17" [dev-dependencies.smol] version = "1" [features] default = [] graphviz = ["smlang-macros/graphviz"] [target.'cfg(not(target_os = "none"))'.dev-dependencies.trybuild] version = "1.0"