update to forgejo-api v0.2.0

This commit is contained in:
Cyborus 2024-04-27 19:11:15 -04:00
parent 36d970fb09
commit df25728644
No known key found for this signature in database
4 changed files with 5 additions and 5 deletions

5
Cargo.lock generated
View file

@ -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",

View file

@ -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"

View file

@ -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,
};

View file

@ -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),