-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
2 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +0,0 @@ | ||
use arbiter_engine::machine::{CreateStateMachine, Engine, StateMachine}; | ||
use arbiter_macros::Behaviors; | ||
use serde::{Deserialize, Serialize}; | ||
|
||
pub mod incrementer; | ||
|
||
use incrementer::Incrementer; | ||
|
||
#[derive(Debug, Serialize, Deserialize, Behaviors)] | ||
pub enum Behaviors { | ||
Incrementer(Incrementer), | ||
} | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1 @@ | ||
pub mod behaviors; | ||
pub mod bindings; | ||
|
||
use behaviors::Behaviors; | ||
|
||
/// To run this example, you can do the following from the `arbiter/` directory: | ||
/// ```sh | ||
/// cargo run --example project simulate examples/project/configs/example.toml | ||
/// ``` | ||
/// If you would like to see more detailed logs, you can run the following: | ||
/// ```sh | ||
/// cargo run --example project simulate examples/project/configs/example.toml -vvv | ||
/// ``` | ||
/// to get `debug` level logs. | ||
/// | ||
/// By running | ||
/// ```sh | ||
/// cargo run --example project | ||
/// ``` | ||
/// you will get the `--help` message for the project. | ||
#[arbiter_macros::main( | ||
name = "ExampleArbiterProject", | ||
about = "Our example to get you started.", | ||
behaviors = Behaviors | ||
)] | ||
pub async fn main() {} | ||
fn main() {} |