bug 0.3.0

A simple Rust library for printing an error in the event of a bug and allowing users to easily file a bug report via GitHub issues using bug templates.
Documentation
use bug::{bug, init, IssueTemplate, HyperlinkMode};

fn main() -> Result<(), &'static str> {
    // Initialize with auto-detection (default)
    init("tristanpoland", "GLUE")
        .add_template("demo", IssueTemplate::new(
            "Demo Issue: {title}",
            "This is a demo issue with title: {title}"
        ))
        .hyperlinks(HyperlinkMode::Auto) // This is the default
        .build()?;

    println!("Auto-detect hyperlinks mode:");
    let _url1 = bug!("demo", {
        title = "Hyperlink Demo"
    });

    Ok(())
}