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-08-06 07:43:28 +01:00
|
|
|
[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)'] }
|
|
|
|
|
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 }
|
|
|
|
|
|
|
|
# fs/network
|
|
|
|
kxio = { 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 }
|
2024-08-03 22:49:55 +01:00
|
|
|
time = { workspace = true }
|
2024-07-25 09:02:43 +01:00
|
|
|
|
|
|
|
# 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-08-06 20:48:53 +01:00
|
|
|
#iters
|
|
|
|
take-until = { 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 }
|