git-next/Cargo.toml
Paul Campbell 7387d7c871
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 9m38s
Test / build (map[name:stable]) (push) Successful in 11m14s
Release Please / Docker image (push) Failing after 4s
Release Please / Release-plz (push) Successful in 14s
refactor: flatten into single crate
2025-01-26 08:24:32 +00:00

135 lines
2.7 KiB
TOML

[package]
name = "git-next"
version = "0.14.1"
edition = "2021"
license = "MIT"
repository = "https://git.kemitix.net/kemitix/git-next"
description = "trunk-based development manager"
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"]
[features]
# default = ["forgejo", "github"]
default = ["forgejo", "github", "tui"]
forgejo = []
github = []
tui = [
"ratatui",
"directories",
"lazy_static",
"tui-scrollview",
"regex",
"chrono",
]
[dependencies]
color-eyre = "0.6"
# TUI
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 }
# CLI parsing
clap = { version = "4.5", features = ["cargo", "derive"] }
# logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
tracing-error = "0.2.0"
# base64 decoding
# base64 = { version = "0.22", optional = true }
# 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"
# fs/network
kxio = "5.1"
# kxio = { path = "../kxio/" }
# TOML parsing
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
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"
# boilerplate
bon = "3.0"
derive_more = { version = "1.0.0", features = [
"as_ref",
"constructor",
"display",
"deref",
"deref_mut",
"from",
] }
derive-with = "0.5"
anyhow = "1.0"
thiserror = "2.0"
pike = "0.1"
# iters
take-until = "0.2"
# file watcher
notify = "8.0"
# Actors
kameo = "0.14"
tokio = { version = "1.37", features = ["full"] }
# email
lettre = { version = "0.11", default-features = false, features = ["builder", "rustls-tls", "smtp-transport"] }
sendmail = "2.0"
# desktop notifications
notifica = "3.0"
mockall = "0.13"
[dev-dependencies]
assert2 = "0.3"
pretty_assertions = "1.4"
rand = "0.8"
rstest = { version = "0.24", features = ["async-timeout"] }
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)'] }