summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"]