Thomasdezeeuw / gaea

Low-level library to build event driven applications, supporting lightweight non-blocking I/O.
https://docs.rs/gaea/
MIT License
16 stars 0 forks source link

Rewrite of API #61

Closed Thomasdezeeuw closed 5 years ago

Thomasdezeeuw commented 5 years ago

This rewrite split the single Poller instance into multiple event sources, which now a trait event::Source. This allows users of the library to pick there required readiness queues and even implement there own event sources.

Thomasdezeeuw commented 5 years ago

The latest commits adds no_std support, sort of. It adds a default "std" feature that enables Timers, Queue and the os, net and unix modules. That leaves the event module and poll function in no_std environments. Still need to fix tests with no_std (cargo test --no-default-features), currently doesn't work at all.

Thomasdezeeuw commented 5 years ago

Merging this as soon as the CI is happy.