use converge_pack::ProvenanceSource;
#[derive(Copy, Clone, Debug)]
pub struct Github;
impl ProvenanceSource for Github {
fn as_str(&self) -> &'static str {
"github"
}
}
pub const GITHUB_PROVENANCE: Github = Github;
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn provenance_string_is_canonical() {
assert_eq!(GITHUB_PROVENANCE.as_str(), "github");
}
}