git-next/Cargo.toml
Paul Campbell d42c8fb890 build(cargo): specify clippy flags in Cargo.toml
Avoids needing to pass them as parameters whenever we run cargo clippy.
2024-05-02 18:52:10 +01:00

81 lines
1.4 KiB
TOML

[package]
name = "git-next"
version = "0.3.0"
edition = "2021"
[features]
default = ["forgejo"]
forgejo = []
github = []
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
# CLI parsing
clap = { version = "4.5", features = ["cargo", "derive"] }
# logging
console-subscriber = "0.2"
tracing = "0.1"
tracing-subscriber = "0.3"
# base64 decoding
base64 = "0.22"
# git
# gix = "0.62"
gix = { version = "0.62", features = [
"basic",
"extras",
"comfort",
"blocking-http-transport-reqwest-rust-tls",
] }
async-trait = "0.1"
# fs/network
kxio = { version = "1.1" }
# fs
tempfile = "3.10"
# 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"
# error handling
derive_more = { version = "1.0.0-beta.6", features = ["from", "display"] }
terrors = "0.3"
# Actors
actix = "0.13"
actix-rt = "2.9"
tokio = { version = "1.37", features = ["full"] }
[dev-dependencies]
# Testing
assert2 = "0.3"
pretty_assertions = "1.4"
test-log = { version = "0.2", features = ["env_logger", "trace"] }
anyhow = "1.0"
[package.metadata.bin]
# Conventional commits githook
cc-cli = { version = "0.1" }
[lints.clippy]
nursery = "warn"
# pedantic = "warn"
unwrap_used = "warn"
expect_used = "warn"