summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCyborus <cyborus@noreply.codeberg.org>2024-08-08 03:49:46 +0200
committerCyborus <cyborus@noreply.codeberg.org>2024-08-08 03:49:46 +0200
commitdce6e092c84486032a5f511cf9aa1c908f15b06a (patch)
tree8436dbb2a78910e0d0c8ac62282f1e271939e905
parentMerge pull request 'add package fields to Cargo.toml' (#110) from crates-io i... (diff)
parentfix: split binary and package names (diff)
downloadforgejo-cli-dce6e092c84486032a5f511cf9aa1c908f15b06a.tar.xz
forgejo-cli-dce6e092c84486032a5f511cf9aa1c908f15b06a.zip
Merge pull request 'split binary and package names' (#111) from fix-package-name into main
Reviewed-on: https://codeberg.org/Cyborus/forgejo-cli/pulls/111
-rw-r--r--Cargo.lock58
-rw-r--r--Cargo.toml6
2 files changed, 34 insertions, 30 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 7cb95b8..4e82a9a 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -542,35 +542,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9fc0510504f03c51ada170672ac806f1f105a88aa97a5281117e1ddc3368e51a"
[[package]]
-name = "fj"
-version = "0.1.0"
-dependencies = [
- "auth-git2",
- "base64ct",
- "clap",
- "comrak",
- "crossterm",
- "directories",
- "eyre",
- "forgejo-api",
- "futures",
- "git2",
- "hyper 1.4.1",
- "hyper-util",
- "open",
- "rand",
- "semver",
- "serde",
- "serde_json",
- "sha256",
- "soft_assert",
- "time",
- "tokio",
- "url",
- "uuid",
-]
-
-[[package]]
name = "flate2"
version = "1.0.30"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -621,6 +592,35 @@ dependencies = [
]
[[package]]
+name = "forgejo-cli"
+version = "0.1.0"
+dependencies = [
+ "auth-git2",
+ "base64ct",
+ "clap",
+ "comrak",
+ "crossterm",
+ "directories",
+ "eyre",
+ "forgejo-api",
+ "futures",
+ "git2",
+ "hyper 1.4.1",
+ "hyper-util",
+ "open",
+ "rand",
+ "semver",
+ "serde",
+ "serde_json",
+ "sha256",
+ "soft_assert",
+ "time",
+ "tokio",
+ "url",
+ "uuid",
+]
+
+[[package]]
name = "form_urlencoded"
version = "1.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
diff --git a/Cargo.toml b/Cargo.toml
index f1d2b59..b8077d8 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,5 +1,5 @@
[package]
-name = "fj"
+name = "forgejo-cli"
version = "0.1.0"
edition = "2021"
license = "Apache-2.0 OR MIT"
@@ -10,6 +10,10 @@ categories = ["command-line-utilities", "development-tools"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
+[[bin]]
+name = "fj"
+path = "src/main.rs"
+
[features]
update-check = ["dep:semver"]