Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,28 @@
members = ["backpack/cli", "backpack/lib", "backpack/e2e", "xtask"]
resolver = "2"
default-members = ["backpack/cli"]

[workspace.package]
edition = "2024"
license = "MIT"
repository = "https://github.com/yonasBSD/github-rs"

[workspace.dependencies]
tokio = { version = "1.48.0", features = ["full", "macros"] }
clap = { version = "4", features = ["derive"] }
tracing = { version = "0.1.44", features = ["log"] }
tracing-subscriber = { version = "0.3.22", features = ["env-filter", "json"] }
terminal-banner = { version = "0.4.1", features = ["color"] }
test-log = { version = "0.2.19", features = ["trace", "color"] }

# crates used only by lib but still common enough to centralize
colored = "3.0.0"
which = "8.0.0"
config = "0.15.19"
xdg = "3.0.0"
reqwest = { version = "0.12.27", default-features = false, features = ["blocking", "hickory-dns", "json", "rustls-tls"] }
env_logger = "0.11.8"
serde_json5 = "0.2.1"

# external git dependency
octocrab = { version = "*", git = "https://github.com/yonasBSD/octocrab", branch = "yonasBSD" }
21 changes: 10 additions & 11 deletions backpack/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,28 @@
[package]
name = "github-rs"
version = "0.1.0"
edition = "2024"
license = "MIT"
repository = "https://github.com/yonasBSD/github-rs"
edition = "2024"

[dependencies]
github-rs-lib = { package = "github-rs-lib", path = "../lib" }
tokio = { version = "1.48.0", features = ["full", "macros"] }
clap = { version = "*", features = ["derive"] }
tracing = { version = "0.1.44", features = ["log"] }
tracing-subscriber = { version = "0.3.22", features = ["env-filter", "json"] }
terminal-banner = { version = "0.4.1", features = ["color"] }
github-rs-lib = { path = "../lib" }
tokio.workspace = true
clap.workspace = true
tracing.workspace = true
tracing-subscriber.workspace = true
terminal-banner.workspace = true
console-subscriber = "0.5.0"

[dev-dependencies]
test-log.workspace = true

[[bin]]
name = "github-rs"
path = "src/main.rs"

[features]
coverage = []

[dev-dependencies]
test-log = { version = "0.2.19", features = ["trace", "color"] }

[package.metadata.binstall.signing]
algorithm = "minisign"
pubkey = "RWS6/A1iiYtBjU101ofgB5ZBUq+erhj0pAF06delVbHPUiDee7PQvIML"
9 changes: 4 additions & 5 deletions backpack/e2e/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,15 @@
[package]
name = "github-rs-e2e"
version = "0.1.0"
edition = "2024"
license = "MIT"
repository = "https://github.com/yonasBSD/github-rs"
edition = "2024"

[dev-dependencies]
github-rs-lib = { package = "github-rs-lib", path = "../lib" }
github-rs-lib = { path = "../lib" }
cucumber = { version = "0.22.0", features = ["libtest", "output-json", "output-junit", "timestamps", "tracing"] }
tokio = { version = "1.48.0", features = ["full", "macros"] }
tokio.workspace = true

[[test]]
name = "token"
harness = false # allows Cucumber to print output instead of libtest
harness = false
path = "tests/token/main.rs"
31 changes: 15 additions & 16 deletions backpack/lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,26 @@
[package]
name = "github-rs-lib"
version = "0.1.0"
edition = "2024"
license = "MIT"
repository = "https://github.com/yonasBSD/github-rs"
edition = "2024"

[features]
coverage = []

[dependencies]
octocrab = { version = "*", git = "https://github.com/yonasBSD/octocrab", branch = "yonasBSD" }
tokio = { version = "1.48.0", features = ["full", "macros"] }
clap = { version = "*", features = ["derive"] }
colored = "3.0.0"
which = "8.0.0"
config = "0.15.19"
xdg = "3.0.0"
reqwest = { version = "0.12.27", default-features = false, features = ["blocking", "hickory-dns", "json", "rustls-tls"] }
env_logger = "0.11.8"
tracing = { version = "0.1.44", features = ["log"] }
tracing-subscriber = { version = "0.3.22", features = ["env-filter", "json"] }
terminal-banner = { version = "0.4.1", features = ["color"] }
serde_json5 = "0.2.1"
octocrab.workspace = true
tokio.workspace = true
clap.workspace = true
colored.workspace = true
which.workspace = true
config.workspace = true
xdg.workspace = true
reqwest.workspace = true
env_logger.workspace = true
tracing.workspace = true
tracing-subscriber.workspace = true
terminal-banner.workspace = true
serde_json5.workspace = true

[dev-dependencies]
test-log = { version = "0.2.19", features = ["trace", "color"] }
test-log.workspace = true
Loading