Preview:
let path = std::path::Path::new(".env");
dotenv::from_path(path).ok();

if std::env::var("RUST_LOG").is_err() {
  std::env::set_var("RUST_LOG", "info");
}
env_logger::init();
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter