Skip to main content

torii_lib/platforms/
mod.rs

1//! Platform-side surfaces: pull requests, issues, CI pipelines, releases
2//! and package registries across GitHub / GitLab / Gitea (Codeberg /
3//! Forgejo) / Sourcehut / Radicle.
4//!
5//! Each module owns one trait (e.g. [`pr::PrClient`]) and one factory
6//! (e.g. [`pr::get_pr_client`]). The factory dispatches on the platform
7//! name string returned by [`pr::detect_platform_from_remote_named`],
8//! which is the canonical URL → (`platform`, `owner`, `repo`) parser
9//! shared by every CLI command that accepts `--remote`.
10
11pub mod pr;
12pub mod issue;
13pub mod pipeline;
14pub mod release;
15pub mod package;
16pub mod runner;
17pub mod registry;
18
19// Per-platform client implementations.
20pub mod azure;
21pub mod bitbucket;
22pub mod gitea;
23pub mod github;
24pub mod gitlab;
25pub mod radicle;
26pub mod sourcehut;