2024-07-24 09:04:21 +01:00
|
|
|
[package]
|
|
|
|
name = "git-next-core"
|
|
|
|
version = { workspace = true }
|
|
|
|
edition = { workspace = true }
|
|
|
|
license = { workspace = true }
|
|
|
|
repository = { workspace = true }
|
|
|
|
description = "core for git-next, the trunk-based development manager"
|
|
|
|
|
2024-07-25 09:02:43 +01:00
|
|
|
[features]
|
|
|
|
default = ["forgejo", "github"]
|
|
|
|
forgejo = []
|
|
|
|
github = []
|
|
|
|
|
2024-07-24 09:04:21 +01:00
|
|
|
[dependencies]
|
|
|
|
# logging
|
|
|
|
tracing = { workspace = true }
|
|
|
|
tracing-subscriber = { workspace = true }
|
|
|
|
|
|
|
|
# fs/network
|
|
|
|
kxio = { workspace = true }
|
|
|
|
|
|
|
|
# Actors
|
|
|
|
actix = { workspace = true }
|
|
|
|
actix-rt = { workspace = true }
|
|
|
|
|
2024-07-25 09:02:43 +01:00
|
|
|
# TOML parsing
|
|
|
|
serde = { workspace = true }
|
|
|
|
toml = { workspace = true }
|
|
|
|
|
|
|
|
# Secrets and Password
|
|
|
|
secrecy = { workspace = true }
|
|
|
|
|
|
|
|
# Git
|
|
|
|
gix = { workspace = true }
|
|
|
|
git-url-parse = { workspace = true }
|
2024-07-26 06:49:09 +01:00
|
|
|
async-trait = { workspace = true }
|
2024-07-25 09:02:43 +01:00
|
|
|
|
|
|
|
# Webhooks
|
|
|
|
ulid = { workspace = true }
|
|
|
|
|
|
|
|
# boilerplate
|
|
|
|
derive_more = { workspace = true }
|
|
|
|
derive-with = { workspace = true }
|
|
|
|
thiserror = { workspace = true }
|
|
|
|
pike = { workspace = true }
|
|
|
|
|
2024-07-26 06:49:09 +01:00
|
|
|
# TOML parsing
|
|
|
|
serde_json = { workspace = true }
|
|
|
|
|
|
|
|
mockall = { workspace = true }
|
|
|
|
|
2024-07-24 09:04:21 +01:00
|
|
|
[dev-dependencies]
|
|
|
|
# Testing
|
|
|
|
assert2 = { workspace = true }
|
2024-07-25 09:02:43 +01:00
|
|
|
rand = { workspace = true }
|
|
|
|
test-log = { workspace = true }
|
2024-07-26 06:49:09 +01:00
|
|
|
pretty_assertions = { workspace = true }
|
2024-07-24 09:04:21 +01:00
|
|
|
|
|
|
|
[lints.clippy]
|
|
|
|
nursery = { level = "warn", priority = -1 }
|
|
|
|
# pedantic = "warn"
|
|
|
|
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)'] }
|