reactive_graph_tooling/tooling/instances/plugins/install/repositories/
tooling.rs

1use crate::tooling::repository::DEFAULT_REPOSITORY_OWNER;
2use crate::tooling::repository::Repository;
3use std::sync::LazyLock;
4
5#[derive(Debug)]
6pub struct ToolingRepository {}
7
8impl Repository for ToolingRepository {
9    fn repository_owner(&self) -> String {
10        DEFAULT_REPOSITORY_OWNER.to_string()
11    }
12
13    fn repository_name(&self) -> String {
14        "tooling".to_string()
15    }
16}
17
18pub static PLUGINS_REPOSITORY_TOOLING: LazyLock<Box<dyn Repository>> = LazyLock::new(|| Box::new(ToolingRepository {}));