2024-05-11 11:11:13 +01:00
|
|
|
[workspace]
|
|
|
|
resolver = "2"
|
2024-07-14 10:31:23 +01:00
|
|
|
members = ["crates/*"]
|
2024-05-11 18:57:18 +01:00
|
|
|
|
|
|
|
[workspace.package]
|
2024-07-12 19:04:39 +01:00
|
|
|
version = "0.9.0"
|
2024-05-11 18:57:18 +01:00
|
|
|
edition = "2021"
|
2024-07-14 10:40:34 +01:00
|
|
|
license = "MIT"
|
2024-04-06 17:39:56 +01:00
|
|
|
|
2024-05-11 11:11:13 +01:00
|
|
|
[workspace.lints.clippy]
|
|
|
|
nursery = { level = "warn", priority = -1 }
|
|
|
|
# pedantic = "warn"
|
|
|
|
unwrap_used = "warn"
|
|
|
|
expect_used = "warn"
|
2024-04-06 17:39:56 +01:00
|
|
|
|
2024-05-11 11:11:13 +01:00
|
|
|
[workspace.dependencies]
|
2024-05-11 19:29:38 +01:00
|
|
|
git-next-server = { path = "crates/server" }
|
2024-06-29 11:14:09 +01:00
|
|
|
git-next-server-actor = { path = "crates/server-actor" }
|
2024-05-11 19:46:20 +01:00
|
|
|
git-next-config = { path = "crates/config" }
|
|
|
|
git-next-git = { path = "crates/git" }
|
2024-05-23 16:04:38 +01:00
|
|
|
git-next-forge = { path = "crates/forge" }
|
2024-05-23 19:36:05 +01:00
|
|
|
git-next-forge-forgejo = { path = "crates/forge-forgejo" }
|
2024-05-25 11:25:13 +01:00
|
|
|
git-next-forge-github = { path = "crates/forge-github" }
|
2024-05-22 08:41:30 +01:00
|
|
|
git-next-repo-actor = { path = "crates/repo-actor" }
|
2024-06-29 08:20:56 +01:00
|
|
|
git-next-webhook-actor = { path = "crates/webhook-actor" }
|
2024-06-29 10:57:18 +01:00
|
|
|
git-next-file-watcher-actor = { path = "crates/file-watcher-actor" }
|
2024-06-29 10:49:12 +01:00
|
|
|
git-next-actor-macros = { path = "crates/actor-macros" }
|
2024-05-11 19:29:38 +01:00
|
|
|
|
2024-04-06 18:52:17 +01:00
|
|
|
# CLI parsing
|
2024-04-06 18:26:08 +01:00
|
|
|
clap = { version = "4.5", features = ["cargo", "derive"] }
|
2024-04-06 17:47:30 +01:00
|
|
|
|
2024-04-06 18:52:17 +01:00
|
|
|
# logging
|
2024-06-10 14:15:30 +01:00
|
|
|
console-subscriber = "0.3"
|
2024-04-06 18:52:17 +01:00
|
|
|
tracing = "0.1"
|
|
|
|
tracing-subscriber = "0.3"
|
|
|
|
|
2024-04-09 10:05:34 +01:00
|
|
|
# base64 decoding
|
|
|
|
base64 = "0.22"
|
|
|
|
|
2024-05-25 11:25:13 +01:00
|
|
|
# sha256 encoding (e.g. verify github webhooks)
|
|
|
|
hmac = "0.12"
|
|
|
|
sha2 = "0.10"
|
|
|
|
hex = "0.4"
|
|
|
|
|
2024-04-10 15:18:48 +01:00
|
|
|
# git
|
2024-04-27 15:23:42 +01:00
|
|
|
# gix = "0.62"
|
2024-05-22 13:15:30 +01:00
|
|
|
gix = { version = "0.63", features = [
|
2024-05-26 16:51:51 +01:00
|
|
|
"dirwalk",
|
2024-04-27 15:23:42 +01:00
|
|
|
"blocking-http-transport-reqwest-rust-tls",
|
|
|
|
] }
|
2024-04-16 22:21:55 +01:00
|
|
|
async-trait = "0.1"
|
2024-07-06 19:55:39 +01:00
|
|
|
git-url-parse = "0.4"
|
2024-04-10 15:18:48 +01:00
|
|
|
|
2024-04-08 20:33:52 +01:00
|
|
|
# fs/network
|
2024-05-17 18:50:18 +01:00
|
|
|
kxio = { version = "1.2" }
|
2024-04-08 20:33:52 +01:00
|
|
|
|
2024-04-07 12:28:53 +01:00
|
|
|
# TOML parsing
|
2024-04-07 13:20:48 +01:00
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
2024-04-14 15:46:21 +01:00
|
|
|
serde_json = "1.0"
|
2024-04-07 12:28:53 +01:00
|
|
|
toml = "0.8"
|
|
|
|
|
2024-04-12 15:27:03 +01:00
|
|
|
# Secrets and Password
|
|
|
|
secrecy = "0.8"
|
|
|
|
|
2024-04-12 16:21:45 +01:00
|
|
|
# Conventional Commit check
|
|
|
|
git-conventional = "0.12"
|
|
|
|
|
2024-04-13 16:16:09 +01:00
|
|
|
# Webhooks
|
|
|
|
bytes = "1.6"
|
|
|
|
ulid = "1.1"
|
|
|
|
warp = "0.3"
|
|
|
|
|
2024-05-16 14:45:25 +01:00
|
|
|
# boilerplate
|
2024-05-14 16:28:17 +01:00
|
|
|
derive_more = { version = "1.0.0-beta.6", features = [
|
2024-05-15 21:01:19 +01:00
|
|
|
"as_ref",
|
2024-05-15 07:55:05 +01:00
|
|
|
"constructor",
|
2024-05-14 16:28:17 +01:00
|
|
|
"display",
|
|
|
|
"deref",
|
2024-05-15 07:55:05 +01:00
|
|
|
"from",
|
2024-05-14 16:28:17 +01:00
|
|
|
] }
|
2024-05-19 20:02:06 +01:00
|
|
|
derive-with = "0.5"
|
2024-06-03 07:38:59 +01:00
|
|
|
thiserror = "1.0"
|
2024-07-06 19:55:39 +01:00
|
|
|
pike = "0.1"
|
2024-05-16 14:45:25 +01:00
|
|
|
|
2024-05-07 19:32:15 +01:00
|
|
|
# file watcher
|
|
|
|
inotify = "0.10"
|
|
|
|
|
2024-04-07 19:27:07 +01:00
|
|
|
# Actors
|
|
|
|
actix = "0.13"
|
2024-04-07 20:14:33 +01:00
|
|
|
actix-rt = "2.9"
|
2024-06-04 18:30:11 +01:00
|
|
|
tokio = { version = "1.37", features = ["rt", "macros"] }
|
2024-04-07 19:27:07 +01:00
|
|
|
|
2024-04-07 11:52:47 +01:00
|
|
|
# Testing
|
2024-04-16 22:21:55 +01:00
|
|
|
assert2 = "0.3"
|
2024-06-01 11:15:04 +01:00
|
|
|
pretty_assertions = "1.4"
|
2024-06-01 14:49:28 +01:00
|
|
|
rand = "0.8"
|
2024-06-19 16:40:10 +01:00
|
|
|
mockall = "0.12"
|
2024-06-19 07:03:08 +01:00
|
|
|
test-log = "0.2"
|