108 lines
2.2 KiB
TOML
108 lines
2.2 KiB
TOML
[workspace]
|
|
resolver = "2"
|
|
members = [
|
|
"crates/cli",
|
|
"crates/server",
|
|
"crates/server-actor",
|
|
"crates/config",
|
|
"crates/git",
|
|
"crates/forge",
|
|
"crates/forge-forgejo",
|
|
"crates/forge-github",
|
|
"crates/repo-actor",
|
|
"crates/webhook-actor",
|
|
"crates/actor-macros",
|
|
"crates/file-watcher-actor",
|
|
]
|
|
|
|
[workspace.package]
|
|
version = "0.7.1"
|
|
edition = "2021"
|
|
|
|
[workspace.lints.clippy]
|
|
nursery = { level = "warn", priority = -1 }
|
|
# pedantic = "warn"
|
|
unwrap_used = "warn"
|
|
expect_used = "warn"
|
|
|
|
[workspace.dependencies]
|
|
git-next-server = { path = "crates/server" }
|
|
git-next-server-actor = { path = "crates/server-actor" }
|
|
git-next-config = { path = "crates/config" }
|
|
git-next-git = { path = "crates/git" }
|
|
git-next-forge = { path = "crates/forge" }
|
|
git-next-forge-forgejo = { path = "crates/forge-forgejo" }
|
|
git-next-forge-github = { path = "crates/forge-github" }
|
|
git-next-repo-actor = { path = "crates/repo-actor" }
|
|
git-next-webhook-actor = { path = "crates/webhook-actor" }
|
|
git-next-file-watcher-actor = { path = "crates/file-watcher-actor" }
|
|
git-next-actor-macros = { path = "crates/actor-macros" }
|
|
|
|
# CLI parsing
|
|
clap = { version = "4.5", features = ["cargo", "derive"] }
|
|
|
|
# logging
|
|
console-subscriber = "0.3"
|
|
tracing = "0.1"
|
|
tracing-subscriber = "0.3"
|
|
|
|
# base64 decoding
|
|
base64 = "0.22"
|
|
|
|
# sha256 encoding (e.g. verify github webhooks)
|
|
hmac = "0.12"
|
|
sha2 = "0.10"
|
|
hex = "0.4"
|
|
|
|
# git
|
|
# gix = "0.62"
|
|
gix = { version = "0.63", features = [
|
|
"dirwalk",
|
|
"blocking-http-transport-reqwest-rust-tls",
|
|
] }
|
|
async-trait = "0.1"
|
|
|
|
# fs/network
|
|
kxio = { version = "1.2" }
|
|
|
|
# TOML parsing
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
toml = "0.8"
|
|
|
|
# Secrets and Password
|
|
secrecy = "0.8"
|
|
|
|
# Conventional Commit check
|
|
git-conventional = "0.12"
|
|
|
|
# Webhooks
|
|
bytes = "1.6"
|
|
ulid = "1.1"
|
|
warp = "0.3"
|
|
|
|
# boilerplate
|
|
derive_more = { version = "1.0.0-beta.6", features = [
|
|
"as_ref",
|
|
"constructor",
|
|
"display",
|
|
"deref",
|
|
"from",
|
|
] }
|
|
derive-with = "0.5"
|
|
thiserror = "1.0"
|
|
|
|
# file watcher
|
|
inotify = "0.10"
|
|
|
|
# Actors
|
|
actix = "0.13"
|
|
actix-rt = "2.9"
|
|
tokio = { version = "1.37", features = ["rt", "macros"] }
|
|
|
|
# Testing
|
|
assert2 = "0.3"
|
|
pretty_assertions = "1.4"
|
|
rand = "0.8"
|
|
mockall = "0.12"
|
|
test-log = "0.2"
|