A library for calling function on certain events with the Rust programming language. It is:
Fast: Zila uses tokio and Chrono under the hood that makes it very fast
Reliable: Zila leverages Rust's ownership, type system, and concurrency model to reduce bugs and ensure thread safety.
Scalable: Zila has a minimal footprint, and handles backpressure and cancellation naturally.
Zila is a fast and reliable library for performing tasks on certian events. It propvides both synchronous and asynchronous functions to make writing Rust code esier. At a high level, it provides a few major functions:
A basic logger with zila.
Make sure you activated the second
features of the zila crate on Cargo.toml:
toml
[dependencies]
zila = { version = "0.1.5", features = ["second"] }
Then, on your main.rs:
```rust,norun use zila::callevery_second;
fn main() { calleverysecond(|| { println!("Hi"); }) } ```
More examples can be found here.
First, see if the answer to your question can be found in the [API documentation]. If the answer is not there, you can raise an [issue] if you think there is a problem with zila
:balloon: Thanks for your help improving the project! We are so happy to have you! We have a contributing guide to help you get involved in the zila project.
zila doesn't follow a fixed release schedule, but we typically make one to two new minor releases each month. We make patch releases for bugfixes as necessary.
This project is licensed under the [MIT license].
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in zila by you, shall be licensed as MIT, without any additional terms or conditions.