1 unstable release

0.1.0 Sep 20, 2019

#44 in #io-stream

Download history 255/week @ 2023-12-06 325/week @ 2023-12-13 265/week @ 2023-12-20 157/week @ 2023-12-27 244/week @ 2024-01-03 321/week @ 2024-01-10 238/week @ 2024-01-17 166/week @ 2024-01-24 217/week @ 2024-01-31 1182/week @ 2024-02-07 677/week @ 2024-02-14 637/week @ 2024-02-21 570/week @ 2024-02-28 507/week @ 2024-03-06 858/week @ 2024-03-13 752/week @ 2024-03-20

2,786 downloads per month
Used in 16 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–1.3MB
~32K SLoC