-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Cargo.toml
101 lines (95 loc) · 3.4 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
[package]
name = "janitor"
version = { workspace = true }
authors = ["Jelmer Vernooij <jelmer@jelmer.uk>"]
edition = "2021"
description = "Automated VCS change management platform"
license = "GPL-3.0+"
repository = "https://github.com/jelmer/janitor.git"
homepage = "https://github.com/jelmer/janitor"
build = "build.rs"
[dependencies]
breezyshim = { workspace = true }
chrono = { workspace = true, features = ["serde"] }
env_logger = { workspace = true }
log = { workspace = true }
protobuf = "3"
serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true }
stackdriver_logger = { version = "0.8", optional = true }
url = { workspace = true, features = ["serde"] }
clap = { workspace = true, features = ["derive", "env"] }
pyo3 = { workspace = true }
silver-platter = { workspace = true }
tokio = { workspace = true, features = ["process", "rt-multi-thread"] }
regex = "1.11.0"
lazy-regex = "3.2.0"
fancy-regex = "0.14.0"
askama = "0.12"
futures = "0.3.30"
sqlx = { workspace = true, features = ["chrono"] }
sqlx-core = { workspace = true, features = ["chrono"] }
sqlx-postgres = { workspace = true, features = ["chrono"] }
async-trait = "0.1.83"
percent-encoding = "2.3.1"
tempfile.workspace = true
google-cloud-storage = { workspace = true, optional = true }
google-cloud-auth = { workspace = true, optional = true }
flate2 = "1.0.34"
filetime = "0.2.25"
debversion = { workspace = true, optional = true, features = ["sqlx"] }
reqwest = { workspace = true, features = ["json"] }
debian-control = "0.1.28"
shlex.workspace = true
prometheus = { version = "0.13.4", features = ["reqwest"] }
buildlog-consultant = { workspace = true }
tracing = "0.1.41"
[workspace.dependencies]
rslock = { default-features = false, version = "0.5.1" }
static_assertions = "1.1.0"
debian-changelog = "0.2.0"
debian-analyzer = "0.158.25"
debversion = { version = "0.4" }
google-cloud-storage = "0.22.1"
google-cloud-auth = "0.17.2"
tempfile = "3.13.0"
redis = "0.27.5"
sqlx = { version = "^0.8", features = ["chrono", "postgres", "runtime-async-std-native-tls"] }
sqlx-postgres = { version = "^0.8", features = ["chrono", "time"] }
sqlx-core = { version = "^0.8", features = ["chrono"] }
pyo3 = { version = "0.22" }
reqwest = { version = "0.12" }
pyo3-log = ">=0.11"
breezyshim = ">=0.1.173"
#breezyshim = { path = "../breezyshim/trunk" }
log = "0.4"
env_logger = ">=0.10"
serde = "1.0"
serde_json = "1.0"
url = "2"
chrono = "0.4"
clap = { version = "4" }
tokio = "1"
axum = "0.7"
maplit = "1"
#silver-platter = { git = "https://github.com/jelmer/silver-platter" }
silver-platter = { version = ">=0.5.36" }
ognibuild = { git = "https://github.com/jelmer/ognibuild.git" }
pyo3-asyncio = { git = "https://github.com/jelmer/pyo3-asyncio", branch = "pyo3-0.22" }
shlex = "1"
buildlog-consultant = { git = "https://github.com/jelmer/buildlog-consultant" }
deb822-lossless = { git = "https://github.com/jelmer/deb822-rs" }
debian-control = { git = "https://github.com/jelmer/deb822-rs" }
[build-dependencies]
protobuf-codegen = "3"
protoc-rust = "^2.0"
[workspace]
members = [ "common-py", "differ", "mail-filter", "publish-py", "publish", "runner-py", "runner", "worker" , "bzr-store", "git-store", "site", "site-py" , "archive", "auto-upload" ]
[workspace.package]
edition = "2021"
version = "0.1.0"
[features]
default = ["gcp", "gcs", "debian"]
debian = ["dep:debversion"]
gcp = ["stackdriver_logger", "gcs"]
gcs = ["dep:google-cloud-storage", "dep:google-cloud-auth"]