1 unstable release

0.1.0 Sep 20, 2019

#45 in #io-stream

Download history 877/week @ 2024-03-14 848/week @ 2024-03-21 865/week @ 2024-03-28 748/week @ 2024-04-04 590/week @ 2024-04-11 616/week @ 2024-04-18 879/week @ 2024-04-25 913/week @ 2024-05-02 1717/week @ 2024-05-09 1243/week @ 2024-05-16 1008/week @ 2024-05-23 851/week @ 2024-05-30 539/week @ 2024-06-06 724/week @ 2024-06-13 583/week @ 2024-06-20 429/week @ 2024-06-27

2,348 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
~36K SLoC