2024-05-11 11:11:13 +01:00
|
|
|
[package]
|
|
|
|
name = "git-next"
|
2024-07-14 16:37:50 +01:00
|
|
|
version = { workspace = true }
|
2024-05-11 18:57:18 +01:00
|
|
|
edition = { workspace = true }
|
2024-07-14 10:40:34 +01:00
|
|
|
license = { workspace = true }
|
2024-07-14 13:32:07 +01:00
|
|
|
repository = { workspace = true }
|
2024-07-24 09:04:21 +01:00
|
|
|
description = "git-next, the trunk-based development manager"
|
2024-07-14 20:47:19 +01:00
|
|
|
authors = { workspace = true }
|
|
|
|
rust-version = { workspace = true }
|
|
|
|
documentation = { workspace = true }
|
|
|
|
keywords = { workspace = true }
|
|
|
|
categories = { workspace = true }
|
2024-05-11 11:11:13 +01:00
|
|
|
|
2024-07-28 13:35:26 +01:00
|
|
|
[features]
|
2024-08-12 21:25:24 +01:00
|
|
|
# default = ["forgejo", "github"]
|
|
|
|
default = ["forgejo", "github", "tui"]
|
2024-07-28 13:35:26 +01:00
|
|
|
forgejo = ["git-next-forge-forgejo"]
|
|
|
|
github = ["git-next-forge-github"]
|
2024-08-12 21:25:24 +01:00
|
|
|
tui = ["ratatui", "directories", "lazy_static"]
|
2024-07-28 13:35:26 +01:00
|
|
|
|
2024-05-11 11:11:13 +01:00
|
|
|
[dependencies]
|
2024-07-24 09:04:21 +01:00
|
|
|
git-next-core = { workspace = true }
|
2024-07-28 13:35:26 +01:00
|
|
|
git-next-forge-forgejo = { workspace = true, optional = true }
|
|
|
|
git-next-forge-github = { workspace = true, optional = true }
|
2024-05-11 18:57:18 +01:00
|
|
|
|
2024-08-10 08:20:49 +01:00
|
|
|
# TUI
|
|
|
|
ratatui = { workspace = true, optional = true }
|
2024-08-12 21:25:24 +01:00
|
|
|
directories = { workspace = true, optional = true }
|
|
|
|
lazy_static = { workspace = true, optional = true }
|
|
|
|
color-eyre = { workspace = true }
|
2024-08-10 08:20:49 +01:00
|
|
|
|
2024-05-11 11:11:13 +01:00
|
|
|
# CLI parsing
|
|
|
|
clap = { workspace = true }
|
|
|
|
|
|
|
|
# fs/network
|
|
|
|
kxio = { workspace = true }
|
|
|
|
|
2024-07-27 08:11:52 +01:00
|
|
|
# logging
|
|
|
|
tracing = { workspace = true }
|
|
|
|
tracing-subscriber = { workspace = true }
|
2024-08-12 21:25:24 +01:00
|
|
|
tracing-error.workspace = true
|
2024-07-27 08:11:52 +01:00
|
|
|
|
2024-07-28 08:58:32 +01:00
|
|
|
# Conventional Commit check
|
|
|
|
git-conventional = { workspace = true }
|
|
|
|
|
|
|
|
# TOML parsing
|
|
|
|
toml = { workspace = true }
|
|
|
|
|
2024-07-27 08:11:52 +01:00
|
|
|
# Actors
|
|
|
|
actix = { workspace = true }
|
|
|
|
actix-rt = { workspace = true }
|
|
|
|
|
2024-07-27 08:27:04 +01:00
|
|
|
# boilerplate
|
|
|
|
derive_more = { workspace = true }
|
|
|
|
derive-with = { workspace = true }
|
2024-07-30 10:52:05 +01:00
|
|
|
anyhow = { workspace = true }
|
2024-07-27 18:51:05 +01:00
|
|
|
thiserror = { workspace = true }
|
2024-07-27 08:27:04 +01:00
|
|
|
|
|
|
|
# Webhooks
|
|
|
|
serde_json = { workspace = true }
|
|
|
|
ulid = { workspace = true }
|
|
|
|
time = { workspace = true }
|
|
|
|
secrecy = { workspace = true }
|
|
|
|
standardwebhooks = { workspace = true }
|
2024-07-27 19:05:18 +01:00
|
|
|
bytes = { workspace = true }
|
|
|
|
warp = { workspace = true }
|
2024-07-27 08:27:04 +01:00
|
|
|
|
2024-07-27 18:51:05 +01:00
|
|
|
# file watcher (linux)
|
2024-07-28 15:37:58 +01:00
|
|
|
notify = { workspace = true }
|
2024-07-27 18:51:05 +01:00
|
|
|
|
2024-08-01 19:48:59 +01:00
|
|
|
# email
|
|
|
|
lettre = { workspace = true }
|
|
|
|
sendmail = { workspace = true }
|
|
|
|
|
2024-08-02 22:56:03 +01:00
|
|
|
# desktop notifications
|
|
|
|
notifica = { workspace = true }
|
|
|
|
|
2024-07-27 08:11:52 +01:00
|
|
|
[dev-dependencies]
|
|
|
|
# Testing
|
|
|
|
assert2 = { workspace = true }
|
|
|
|
test-log = { workspace = true }
|
2024-07-28 08:58:32 +01:00
|
|
|
rand = { workspace = true }
|
|
|
|
pretty_assertions = { workspace = true }
|
|
|
|
mockall = { workspace = true }
|
2024-08-10 20:08:07 +01:00
|
|
|
rstest = { workspace = true }
|
2024-07-27 08:11:52 +01:00
|
|
|
|
2024-05-11 11:11:13 +01:00
|
|
|
[lints.clippy]
|
|
|
|
nursery = { level = "warn", priority = -1 }
|
2024-08-05 07:39:38 +01:00
|
|
|
pedantic = { level = "warn", priority = -1 }
|
2024-05-11 11:11:13 +01:00
|
|
|
unwrap_used = "warn"
|
|
|
|
expect_used = "warn"
|
2024-07-31 07:20:42 +01:00
|
|
|
|
|
|
|
[lints.rust]
|
|
|
|
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] }
|