hayro-write 0.7.0

A crate for rewriting pages of a PDF file.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Logging macros that optionally forward to the `log` crate.

macro_rules! warn {
    ($fmt:literal $(, $($arg:expr),* $(,)?)?) => {{
        #[cfg(feature = "logging")]
        {
            ::log::warn!($fmt $(, $($arg),*)?);
        }
        #[cfg(not(feature = "logging"))]
        {
            $($(let _ = &$arg;)*)?
        }
    }};
}