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
This commit is contained in:
Cyborus 2024-08-08 01:49:46 +00:00
commit dce6e092c8
2 changed files with 34 additions and 30 deletions

58
Cargo.lock generated
View file

@ -541,35 +541,6 @@ version = "2.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9fc0510504f03c51ada170672ac806f1f105a88aa97a5281117e1ddc3368e51a" 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]] [[package]]
name = "flate2" name = "flate2"
version = "1.0.30" version = "1.0.30"
@ -620,6 +591,35 @@ dependencies = [
"zeroize", "zeroize",
] ]
[[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]] [[package]]
name = "form_urlencoded" name = "form_urlencoded"
version = "1.2.1" version = "1.2.1"

View file

@ -1,5 +1,5 @@
[package] [package]
name = "fj" name = "forgejo-cli"
version = "0.1.0" version = "0.1.0"
edition = "2021" edition = "2021"
license = "Apache-2.0 OR MIT" 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 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[[bin]]
name = "fj"
path = "src/main.rs"
[features] [features]
update-check = ["dep:semver"] update-check = ["dep:semver"]