git-next/Cargo.toml

136 lines
2.7 KiB
TOML
Raw Normal View History

2025-01-26 08:04:39 +00:00
[package]
name = "git-next"
version = "0.14.1"
2024-05-11 18:57:18 +01:00
edition = "2021"
license = "MIT"
repository = "https://git.kemitix.net/kemitix/git-next"
2025-01-26 08:04:39 +00:00
description = "trunk-based development manager"
2024-07-14 20:47:19 +01:00
authors = ["Paul Campbell <pcampbell@kemitix.net>"]
rust-version = "1.76"
documentation = "https://git.kemitix.net/kemitix/git-next/src/branch/main/README.md"
keywords = ["git", "cli", "server", "tool"]
categories = ["development-tools"]
2025-01-26 08:04:39 +00:00
[features]
# default = ["forgejo", "github"]
default = ["forgejo", "github", "tui"]
forgejo = []
github = []
tui = [
"ratatui",
"directories",
"lazy_static",
"tui-scrollview",
"regex",
"chrono",
]
[dependencies]
2024-04-06 17:39:56 +01:00
2025-01-26 08:04:39 +00:00
color-eyre = "0.6"
2024-07-28 20:36:04 +01:00
# TUI
2025-01-26 08:04:39 +00:00
ratatui = { version = "0.29", optional = true }
directories = { version = "6.0", optional = true }
lazy_static = { version = "1.5", optional = true }
tui-scrollview = { version = "0.5", optional = true }
regex = { version = "1.10", optional = true }
chrono = { version = "0.4", optional = true }
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 18:52:17 +01:00
# logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
tracing-error = "0.2.0"
2024-04-06 18:52:17 +01:00
2024-04-09 10:05:34 +01:00
# base64 decoding
2025-01-26 08:04:39 +00:00
# base64 = { version = "0.22", optional = true }
2024-04-09 10:05:34 +01:00
# sha256 encoding (e.g. verify github webhooks)
hmac = "0.12"
sha2 = "0.10"
hex = "0.4"
# git
gix = { version = "0.70", features = [
"dirwalk",
"blocking-http-transport-reqwest-rust-tls",
] }
async-trait = "0.1"
git-url-parse = "0.4"
2024-04-08 20:33:52 +01:00
# fs/network
kxio = "5.1"
# kxio = { path = "../kxio/" }
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"] }
serde_json = "1.0"
2024-04-07 12:28:53 +01:00
toml = "0.8"
# Secrets and Password
secrecy = "0.10"
# Conventional Commit check
git-conventional = "0.12"
# Webhooks
bytes = "1.6"
ulid = "1.1"
warp = "0.3"
time = "0.3"
standardwebhooks = "1.0"
2024-05-16 14:45:25 +01:00
# boilerplate
bon = "3.0"
derive_more = { version = "1.0.0", features = [
"as_ref",
"constructor",
2024-05-14 16:28:17 +01:00
"display",
"deref",
"deref_mut",
"from",
2024-05-14 16:28:17 +01:00
] }
derive-with = "0.5"
anyhow = "1.0"
thiserror = "2.0"
pike = "0.1"
2024-05-16 14:45:25 +01:00
# iters
take-until = "0.2"
# file watcher
notify = "8.0"
2024-04-07 19:27:07 +01:00
# Actors
kameo = "0.14"
tokio = { version = "1.37", features = ["full"] }
2024-04-07 19:27:07 +01:00
# email
lettre = { version = "0.11", default-features = false, features = ["builder", "rustls-tls", "smtp-transport"] }
sendmail = "2.0"
# desktop notifications
notifica = "3.0"
2025-01-26 08:04:39 +00:00
mockall = "0.13"
[dev-dependencies]
assert2 = "0.3"
2025-01-26 08:04:39 +00:00
2024-06-01 11:15:04 +01:00
pretty_assertions = "1.4"
rand = "0.8"
rstest = { version = "0.24", features = ["async-timeout"] }
2025-01-26 08:04:39 +00:00
test-log = "0.2"
[lints.clippy]
nursery = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }
unwrap_used = "warn"
expect_used = "warn"
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] }