zila

Crates.iozila
lib.rszila
version0.1.8
sourcesrc
created_at2023-05-08 10:10:57.767027
updated_at2023-05-09 12:36:15.340873
descriptionA library for calling functions on certain events
homepage
repositoryhttps://github.com/a-rustacean/zila
max_upload_size
id859651
size63,556
Dilshad (a-rustacean)

documentation

https://docs.rs/zila/0.1.8

README

Zila

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.

Crates.io MIT licensed Build Status

Overview

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:

Example

A basic logger with zila.

Make sure you activated the second features of the zila crate on Cargo.toml:

[dependencies]
zila = { version = "0.1.8", features = ["second"] }

Then, on your main.rs:

use zila::call_every_second;

fn main() {
    call_every_second(|| {
        println!("Hi");
    })
}

More examples can be found here.

Getting Help

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

Contributing

: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.

Release schedule

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.

License

This project is licensed under the MIT license.

Contribution

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.

Commit count: 12

cargo fmt