diff options
author | Cyborus <cyborus@cyborus.xyz> | 2024-04-28 01:11:15 +0200 |
---|---|---|
committer | Cyborus <cyborus@cyborus.xyz> | 2024-04-28 01:11:15 +0200 |
commit | df25728644910e661cfee87c4a05afc4f1de9316 (patch) | |
tree | 4c11d7aef56197f8f842de3b5d6541a35731d607 | |
parent | Merge pull request 'use crates.io release of `forgejo-api`' (#48) from crates... (diff) | |
download | forgejo-cli-df25728644910e661cfee87c4a05afc4f1de9316.tar.xz forgejo-cli-df25728644910e661cfee87c4a05afc4f1de9316.zip |
update to `forgejo-api` v0.2.0
-rw-r--r-- | Cargo.lock | 5 | ||||
-rw-r--r-- | Cargo.toml | 2 | ||||
-rw-r--r-- | src/release.rs | 2 | ||||
-rw-r--r-- | src/repo.rs | 1 |
4 files changed, 5 insertions, 5 deletions
@@ -336,8 +336,9 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "forgejo-api" -version = "0.1.0" -source = "git+https://codeberg.org/Cyborus/forgejo-api.git?rev=a4c081a770#a4c081a770a2d8093df0bf064f0ae7b7c37bf947" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0452961a1435fdf127da1a1ba13cb840efe26bf6169bfd8d6dafecdd3e0eafa" dependencies = [ "base64ct", "bytes", @@ -10,7 +10,7 @@ auth-git2 = "0.5.3" clap = { version = "4.3.11", features = ["derive"] } directories = "5.0.1" eyre = "0.6.8" -forgejo-api = "0.1.0" +forgejo-api = "0.2.0" futures = "0.3.28" git2 = "0.17.2" open = "5.0.0" diff --git a/src/release.rs b/src/release.rs index c5883e9..e88ea2f 100644 --- a/src/release.rs +++ b/src/release.rs @@ -309,7 +309,6 @@ async fn list_releases( let query = forgejo_api::structs::RepoListReleasesQuery { pre_release: Some(prerelease), draft: Some(draft), - per_page: None, page: None, limit: None, }; @@ -558,7 +557,6 @@ async fn find_release( let query = RepoListReleasesQuery { draft: None, pre_release: None, - per_page: None, page: None, limit: None, }; diff --git a/src/repo.rs b/src/repo.rs index 5f2fcb7..273069c 100644 --- a/src/repo.rs +++ b/src/repo.rs @@ -296,6 +296,7 @@ impl RepoCommand { issue_labels: None, license: None, name: repo.clone(), + object_format_name: None, private: Some(private), readme: Some(String::new()), template: Some(false), |