1 unstable release

0.1.0 Sep 20, 2019

#44 in #io-stream

Download history 304/week @ 2024-01-06 273/week @ 2024-01-13 215/week @ 2024-01-20 157/week @ 2024-01-27 773/week @ 2024-02-03 888/week @ 2024-02-10 673/week @ 2024-02-17 580/week @ 2024-02-24 555/week @ 2024-03-02 555/week @ 2024-03-09 940/week @ 2024-03-16 780/week @ 2024-03-23 850/week @ 2024-03-30 792/week @ 2024-04-06 474/week @ 2024-04-13 616/week @ 2024-04-20

2,850 downloads per month
Used in 17 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
~33K SLoC