summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Cargo.lock5
-rw-r--r--Cargo.toml2
-rw-r--r--src/release.rs2
-rw-r--r--src/repo.rs1
4 files changed, 5 insertions, 5 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 2ff33b3..7ff7b7c 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -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",
diff --git a/Cargo.toml b/Cargo.toml
index 5eee4f4..217b441 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -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),