carbonpdf 0.2.0

Production-ready HTML to PDF conversion using Headless Chrome
Documentation
1
2
3
4
5
6
7
8
9
use tracing::Level;

pub fn init(verbose: bool) {
    if verbose {
        tracing_subscriber::fmt()
            .with_max_level(Level::DEBUG)
            .init();
    }
}