Expand description
Per-provider typed configuration.
ReleaseSourceConfig is a tagged enum — each built-in backend
has its own typed Params struct, and downstream custom backends
use the ReleaseSourceConfig::Custom escape hatch with a
freeform BTreeMap<String, String>. This means:
- Typos surface at
serde-deserialize time, not at update time. - Every built-in backend is self-documenting via rustdoc on the relevant struct.
- Third-party plugins remain pluggable without inheriting the built-in param grammar.
Structs§
- Bitbucket
Params - Parameters for a Bitbucket release source.
- Codeberg
Params - Parameters for a Codeberg release source.
hostis hard-coded tocodeberg.org— tool authors who need to point at a different Gitea instance useGiteaParamsdirectly. - Direct
Params - Parameters for a “direct” release source.
- Gitea
Params - Parameters for a Gitea release source. The URL shape mirrors
GitHub’s closely enough that one factory powers both
giteaandcodeberg. - Github
Params - Parameters for a GitHub release source.
- Gitlab
Params - Parameters for a GitLab release source.
Enums§
- Release
Source Config - The unified release-source configuration value. Tool authors
normally write this as YAML or TOML in their config file —
serdeuses thesource_typekey to pick the variant.