summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCyborus <cyborus@cyborus.xyz>2024-08-08 03:48:09 +0200
committerCyborus <cyborus@cyborus.xyz>2024-08-08 03:48:09 +0200
commitdaf086fbfd3c5cae73dbce62b8d1c8f2bfcc904d (patch)
tree8436dbb2a78910e0d0c8ac62282f1e271939e905
parentMerge pull request 'add package fields to Cargo.toml' (#110) from crates-io i... (diff)
downloadforgejo-cli-daf086fbfd3c5cae73dbce62b8d1c8f2bfcc904d.tar.xz
forgejo-cli-daf086fbfd3c5cae73dbce62b8d1c8f2bfcc904d.zip
fix: split binary and package names
-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"]