bugbite 0.0.15

library for bug, issue, and ticket mangling
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use std::sync::LazyLock;

use crate::service::bugzilla::Bugzilla;

pub const BASE: &str = "http://127.0.0.1:8080/";
pub const USER: &str = "bugbite@bugbite.test";
pub const PASSWORD: &str = "bugbite";

pub static SERVICE: LazyLock<Bugzilla> = LazyLock::new(|| {
    Bugzilla::builder(BASE)
        .unwrap()
        .user(USER)
        .password(PASSWORD)
        .build()
        .unwrap()
});