riker-rs / riker

Easily build efficient, highly concurrent and resilient applications. An Actor Framework for Rust.
https://riker.rs
MIT License
1.02k stars 69 forks source link

many examples #92

Closed olexiyb closed 4 years ago

olexiyb commented 4 years ago

I think these examples can be useful to learn the riker and it's much better to keep them together with the code, then in a separate repo https://github.com/riker-rs/examples

To run you can just use cargo

cargo run --example basic_panic
leenozara commented 4 years ago

Great idea. We can then make sure that changes in versions don’t break the examples. How do you think is best to run these examples as part of publishing? Part of cargo tests or part of Travis build?

olexiyb commented 4 years ago

Here is Travis improvement that should verify examples https://github.com/riker-rs/riker/pull/94