License License Travis CI AppVeyor CI

actox

Welcome to my actox-library 🎉

What this crate is:

This crate is small and nearly dependency-less crate that implements a simple aggregating event-loop and a cheap actor implementation with a global actor-pool.

The event-loop support two types of event sources: blocking ones and polling ones. Blocking ones are especially useful if you only have a non-blocking API available (e.g. DNS-resolution) - the downside of them is that each blocking source needs to be queried in it's own thread. On the opposite the polling sources do not block and are queried in a single separate thread (thus requiring much less overhead).

Each event-loop can be started either synchronously or asynchronously as a named, globally available actor.

Why should I use this crate?

You probably shouldn't. There are other solutions like actix out there that are much more complete, much better tested and probably much more efficient.

But if you want to avoid the dependeny hell or if you want to understand the crates your'e using, this crate could suite you 😇

Dependencies

Only my etrace-crate for traceable error handling.

Build Documentation and Library:

To build and open the documentation, go into the project's root-directory and run cargo doc --release --open

To build this library, change into the projects root-directory and run cargo build --release; you can find the build in target/release.