1 unstable release

0.1.0 Sep 20, 2019

#44 in #io-stream

Download history 722/week @ 2024-07-19 937/week @ 2024-07-26 730/week @ 2024-08-02 738/week @ 2024-08-09 939/week @ 2024-08-16 921/week @ 2024-08-23 840/week @ 2024-08-30 361/week @ 2024-09-06 6842/week @ 2024-09-13 26076/week @ 2024-09-20 22345/week @ 2024-09-27 30789/week @ 2024-10-04 28751/week @ 2024-10-11 30989/week @ 2024-10-18 26883/week @ 2024-10-25 34173/week @ 2024-11-01

125,668 downloads per month
Used in 19 crates (via calm_io)

MIT license

4KB

Calm I/O Filters

This crate provides proc-macro function attributes which suppress specific I/O error variants. It is an internal implementation detail of the calm_io crate.


lib.rs:

Filtering attributes for the calm_io project.

Procedural macros are required to be kept in a separate crate, as rustc builds them alone and then executes their code during transformation of crates that use them. This crate defines the #[calm_io::FILTER] attributes used to suppress certain I/O errors from signaling failure. !

Dependencies

~1.5MB
~37K SLoC