generated from PlexSheep/rs-base
Compare commits
No commits in common. "0c2f2703365052d6a350b3b8fb576e27ab425de3" and "23c51ac1daa9197f985835ad0ed698aa6b1781f3" have entirely different histories.
0c2f270336
...
23c51ac1da
2 changed files with 0 additions and 7 deletions
|
@ -62,11 +62,9 @@ pub enum Commands {
|
|||
message: Option<Vec<String>>,
|
||||
|
||||
/// generate and add a changelog
|
||||
#[arg(short, long)]
|
||||
changelog: bool,
|
||||
|
||||
/// publish after releasing
|
||||
#[arg(short, long)]
|
||||
publish: bool,
|
||||
},
|
||||
/// Publish to a package registry
|
||||
|
|
|
@ -50,16 +50,12 @@ impl YamlConfigSection for Uses {
|
|||
}
|
||||
|
||||
#[derive(Debug, Clone, Deserialize)]
|
||||
#[serde(rename_all = "snake_case")]
|
||||
pub enum Pass {
|
||||
/// pass specified as plainext
|
||||
#[serde(alias = "pass_text")]
|
||||
Text(String),
|
||||
/// pass to be loaded from an env var
|
||||
#[serde(alias = "pass_env")]
|
||||
Env(String),
|
||||
/// pass to be loaded from a file
|
||||
#[serde(alias = "pass_file")]
|
||||
File(PathBuf),
|
||||
}
|
||||
impl Pass {
|
||||
|
@ -106,7 +102,6 @@ impl YamlConfigSection for ApiAuth {
|
|||
|
||||
#[derive(Debug, Clone, Deserialize)]
|
||||
pub struct Api {
|
||||
#[serde(alias = "type")]
|
||||
pub server_type: ApiType,
|
||||
pub endpoint: Url,
|
||||
/// May be left empty if the Api does not need auth or the auth is part of the
|
||||
|
|
Loading…
Add table
Reference in a new issue