diff options
| author | seth <[email protected]> | 2024-06-16 07:15:13 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-06-16 07:15:13 -0400 |
| commit | d25129d829e0ebd70b4e60e399fe91c0d80aa1ad (patch) | |
| tree | 2a62992f2980f9fed2204ef5ef708a0228998cf1 /Cargo.toml | |
| parent | a0bfcc1587e3cef1b8f6fa0508a280fc48c82231 (diff) | |
use libgit2 to track PRs (#10)v0.2.0
* nix: don't depend on registry for nixpkgs input
* use libgit2 to track PRs
* nix: don't use ci devShell as defaul
* crates: bump serenity from `9ad74d4` to `0.12.2
* nix: fix cross compiled builds
* crates: split more from client
* bot-jobs: update remote refs more efficiently
* git-tracker: account for HEAD commits
* bot-config: use nixpkgs branches from environment
* bot-commands: don't display branches prs haven't landed in
* git-tracker: return false when commits aren't found
this is annoying as a hard error since it turns out github will report
garbage merge commit SHAs for PRs that *haven't* been merged yet. yay
* bot: improve docs in some places
* bot-client: display invite link on start
* bot-http: add TeawieClientExt
* bot-commands: add /about
* docs: update readme todos
* nix: enable StateDirectory in module
* crates: bump to 0.2.0
Diffstat (limited to 'Cargo.toml')
| -rw-r--r-- | Cargo.toml | 39 |
1 files changed, 25 insertions, 14 deletions
@@ -1,21 +1,32 @@ -[package] -name = "nixpkgs-tracker-bot" -version = "0.1.0" -edition = "2021" +[workspace] +members = [ + "crates/bot", + "crates/bot-client", + "crates/bot-config", + "crates/bot-consts", + "crates/bot-error", + "crates/bot-http", + "crates/bot-jobs", + "crates/git-tracker" +] +resolver = "2" -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +[workspace.dependencies] +bot = { path = "./crates/bot" } +bot-client = { path = "./crates/bot-client" } +bot-commands = { path = "./crates/bot-commands" } +bot-config = { path = "./crates/bot-config" } +bot-consts = { path = "./crates/bot-consts" } +bot-error = { path = "./crates/bot-error" } +bot-http = { path = "./crates/bot-http" } +bot-jobs = { path = "./crates/bot-jobs" } +git-tracker = { path = "./crates/git-tracker" } -[dependencies] -dotenvy = "0.15.7" -eyre = "0.6.12" -futures = "0.3.30" -reqwest = { version = "0.12.4", default-features = false, features = ["charset", "http2", "rustls-tls", "json"] } -serde = { version = "1.0.203", features = ["derive"] } -serenity = { git = "https://github.com/serenity-rs/serenity", branch = "current", version = "0.12.1", features = ["unstable_discord_api"] } +git2 = { version = "0.18.3", default-features = false } +log = "0.4.21" +serenity = { version = "0.12.2", features = ["unstable_discord_api"] } tokio = { version = "1.38.0", features = [ "macros", "rt-multi-thread", "signal" ] } -tracing = "0.1.40" -tracing-subscriber = { version = "0.3.18", features = ["env-filter"] } |
