diff options
Diffstat (limited to 'crates/bot-consts')
| -rw-r--r-- | crates/bot-consts/Cargo.toml | 23 | ||||
| -rw-r--r-- | crates/bot-consts/src/lib.rs | 5 |
2 files changed, 28 insertions, 0 deletions
diff --git a/crates/bot-consts/Cargo.toml b/crates/bot-consts/Cargo.toml new file mode 100644 index 0000000..16d7726 --- /dev/null +++ b/crates/bot-consts/Cargo.toml @@ -0,0 +1,23 @@ +[package] +name = "bot-consts" +version = "0.2.0" +edition = "2021" + +authors = ["seth <getchoo at tuta dot io>"] +description = "Constants for nixpkgs-tracker-bot" +repository = "https://github.com/getchoo/nixpkgs-tracker-bot" + +publish = false + +[dependencies] + +[lints.rust] +unsafe_code = "forbid" + +[lints.clippy] +complexity = "warn" +correctness = "deny" +pedantic = "warn" +perf = "warn" +style = "warn" +suspicious = "deny" diff --git a/crates/bot-consts/src/lib.rs b/crates/bot-consts/src/lib.rs new file mode 100644 index 0000000..9396da0 --- /dev/null +++ b/crates/bot-consts/src/lib.rs @@ -0,0 +1,5 @@ +/// URL to the nixpkgs repository +pub const NIXPKGS_URL: &str = "https://github.com/NixOS/nixpkgs"; + +/// The Git remote for upstream nixpkgs in our local copy +pub const NIXPKGS_REMOTE: &str = "origin"; |
