1 unstable release

0.1.0 Sep 20, 2019

#50 in #io-stream

Download history 26081/week @ 2024-11-17 27079/week @ 2024-11-24 20077/week @ 2024-12-01 29412/week @ 2024-12-08 22064/week @ 2024-12-15 6441/week @ 2024-12-22 11799/week @ 2024-12-29 20289/week @ 2025-01-05 30059/week @ 2025-01-12 27578/week @ 2025-01-19 23678/week @ 2025-01-26 26004/week @ 2025-02-02 29369/week @ 2025-02-09 30230/week @ 2025-02-16 24524/week @ 2025-02-23 25741/week @ 2025-03-02

111,170 downloads per month
Used in 21 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
~38K SLoC