smelling_salts

Crates.iosmelling_salts
lib.rssmelling_salts
version0.12.1
sourcesrc
created_at2020-05-03 08:11:55.082827
updated_at2023-02-21 00:57:15.069839
descriptionAbstraction over OS APIs to handle asynchronous device waking
homepagehttps://github.com/ardaku/smelling_salts/blob/stable/CHANGELOG.md
repositoryhttps://github.com/ardaku/smelling_salts
max_upload_size
id236959
size25,123
Async (github:ardaku:async)

documentation

https://docs.rs/smelling_salts

README

Smelling Salts

Changelog | Source | Getting Started

tests docs crates.io

Abstraction over OS APIs to handle asynchronous device waking.

About

If you're writing a Rust library to handle hardware asynchronously, you should use this crate. This library automatically wakes futures by registering a waker with a device that you construct with a file descriptor.

Currently Supported APIs

  • Epoll (Linux)

Planned APIs

  • Run loops (MacOS)
  • Kqueue (BSD/MacOS)
  • IOCP (Windows)
  • Various Bare Metal?
  • Others?

MSRV

The minimum supported Rust version of Smelling Salts is 1.66; bumping the MSRV is considered a breaking change and requires incrementing the leftmost version number.

License

Licensed under any of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be licensed as described above, without any additional terms or conditions.

Help

If you want help using or contributing to this library, feel free to send me an email at aldaronlau@gmail.com.

Commit count: 104

cargo fmt