2023-09-14 14:51:41 +02:00
|
|
|
[workspace]
|
2023-11-27 13:55:08 +01:00
|
|
|
resolver = "2"
|
|
|
|
|
2023-09-14 14:51:41 +02:00
|
|
|
members = [
|
2024-08-27 07:35:04 +02:00
|
|
|
"property-defs-rs",
|
2023-09-14 14:51:41 +02:00
|
|
|
"capture",
|
2024-04-24 17:30:11 +02:00
|
|
|
"common/health",
|
2024-08-21 20:24:56 +02:00
|
|
|
"common/metrics",
|
|
|
|
"common/dns",
|
2024-09-05 08:19:25 +02:00
|
|
|
"common/alloc",
|
2024-09-30 14:16:11 +02:00
|
|
|
"common/types",
|
2024-05-07 22:13:01 +02:00
|
|
|
"feature-flags",
|
2024-02-06 18:07:16 +01:00
|
|
|
"hook-api",
|
2024-04-24 17:30:11 +02:00
|
|
|
"hook-common",
|
2024-02-06 18:07:16 +01:00
|
|
|
"hook-janitor",
|
2024-04-24 17:30:11 +02:00
|
|
|
"hook-worker",
|
2024-08-21 20:24:56 +02:00
|
|
|
"cyclotron-core",
|
|
|
|
"cyclotron-node",
|
|
|
|
"cyclotron-janitor",
|
|
|
|
"cyclotron-fetch",
|
2024-10-03 12:25:21 +02:00
|
|
|
"cymbal",
|
2023-09-14 14:51:41 +02:00
|
|
|
]
|
2023-04-18 12:23:49 +02:00
|
|
|
|
2024-04-24 17:39:18 +02:00
|
|
|
[workspace.lints.rust]
|
|
|
|
# See https://doc.rust-lang.org/stable/rustc/lints/listing/allowed-by-default.html
|
2024-05-03 21:53:46 +02:00
|
|
|
unsafe_code = "forbid" # forbid cannot be ignored with an annotation
|
2024-04-24 17:39:18 +02:00
|
|
|
unstable_features = "forbid"
|
|
|
|
macro_use_extern_crate = "forbid"
|
|
|
|
let_underscore_drop = "deny"
|
|
|
|
non_ascii_idents = "deny"
|
|
|
|
trivial_casts = "deny"
|
|
|
|
trivial_numeric_casts = "deny"
|
|
|
|
unit_bindings = "deny"
|
|
|
|
|
|
|
|
[workspace.lints.clippy]
|
|
|
|
# See https://rust-lang.github.io/rust-clippy/, we might want to add more
|
|
|
|
enum_glob_use = "deny"
|
|
|
|
|
2023-09-14 14:51:41 +02:00
|
|
|
[workspace.dependencies]
|
2024-02-06 18:07:16 +01:00
|
|
|
anyhow = "1.0"
|
2023-11-06 14:21:29 +01:00
|
|
|
assert-json-diff = "2.0.2"
|
2023-12-13 20:03:43 +01:00
|
|
|
async-trait = "0.1.74"
|
2024-04-22 17:32:53 +02:00
|
|
|
axum = { version = "0.7.5", features = ["http2", "macros", "matched-path"] }
|
2024-04-15 16:20:52 +02:00
|
|
|
axum-client-ip = "0.6.0"
|
|
|
|
base64 = "0.22.0"
|
2023-05-22 15:53:17 +02:00
|
|
|
bytes = "1"
|
2024-08-27 07:35:04 +02:00
|
|
|
chrono = { version = "0.4.38", features = ["default", "serde"] }
|
2023-12-13 20:03:43 +01:00
|
|
|
envconfig = "0.10.0"
|
|
|
|
eyre = "0.6.9"
|
2023-05-22 15:53:17 +02:00
|
|
|
flate2 = "1.0"
|
2023-12-13 20:03:43 +01:00
|
|
|
futures = { version = "0.3.29" }
|
2024-02-06 18:07:16 +01:00
|
|
|
governor = { version = "0.5.1", features = ["dashmap"] }
|
2024-04-15 16:20:52 +02:00
|
|
|
http = { version = "1.1.0" }
|
2023-12-13 20:03:43 +01:00
|
|
|
http-body-util = "0.1.0"
|
2024-07-16 19:12:48 +02:00
|
|
|
httpmock = "0.7.0"
|
2024-01-09 17:23:09 +01:00
|
|
|
metrics = "0.22.0"
|
2024-04-15 16:20:52 +02:00
|
|
|
metrics-exporter-prometheus = "0.14.0"
|
2024-05-06 09:25:18 +02:00
|
|
|
once_cell = "1.18.0"
|
2024-07-16 19:12:48 +02:00
|
|
|
opentelemetry = { version = "0.22.0", features = ["trace"] }
|
2024-05-06 09:25:18 +02:00
|
|
|
opentelemetry-otlp = "0.15.0"
|
|
|
|
opentelemetry_sdk = { version = "0.22.1", features = ["trace", "rt-tokio"] }
|
2023-09-13 16:08:51 +02:00
|
|
|
rand = "0.8.5"
|
2024-02-06 18:07:16 +01:00
|
|
|
rdkafka = { version = "0.36.0", features = ["cmake-build", "ssl", "tracing"] }
|
2024-05-07 22:13:01 +02:00
|
|
|
reqwest = { version = "0.12.3", features = ["json", "stream"] }
|
2024-02-06 18:07:16 +01:00
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
2023-12-04 15:51:19 +01:00
|
|
|
serde_derive = { version = "1.0" }
|
2023-12-07 23:34:39 +01:00
|
|
|
serde_json = { version = "1.0" }
|
2024-02-06 18:07:16 +01:00
|
|
|
serde_urlencoded = "0.7.1"
|
2023-12-07 23:34:39 +01:00
|
|
|
sqlx = { version = "0.7", features = [
|
2023-12-19 21:28:50 +01:00
|
|
|
"chrono",
|
|
|
|
"json",
|
|
|
|
"migrate",
|
|
|
|
"postgres",
|
2023-12-07 23:34:39 +01:00
|
|
|
"runtime-tokio",
|
|
|
|
"tls-native-tls",
|
|
|
|
"uuid",
|
|
|
|
] }
|
2024-08-02 16:08:55 +02:00
|
|
|
time = { version = "0.3.36", features = [
|
2024-02-06 18:07:16 +01:00
|
|
|
"formatting",
|
|
|
|
"macros",
|
|
|
|
"parsing",
|
|
|
|
"serde",
|
|
|
|
] }
|
2024-04-24 17:30:11 +02:00
|
|
|
thiserror = { version = "1.0" }
|
2023-11-27 16:13:04 +01:00
|
|
|
tokio = { version = "1.34.0", features = ["full"] }
|
2024-08-16 11:35:19 +02:00
|
|
|
tower = { version = "0.4.13", features = ["default", "limit"] }
|
2024-05-03 21:53:46 +02:00
|
|
|
tower-http = { version = "0.5.2", features = ["cors", "limit", "trace"] }
|
2023-12-04 15:51:19 +01:00
|
|
|
tracing = "0.1.40"
|
2024-05-06 09:25:18 +02:00
|
|
|
tracing-opentelemetry = "0.23.0"
|
2024-07-16 19:12:48 +02:00
|
|
|
tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }
|
2023-12-07 23:34:39 +01:00
|
|
|
url = { version = "2.5.0 " }
|
2023-12-20 23:41:25 +01:00
|
|
|
uuid = { version = "1.6.1", features = ["v7", "serde"] }
|
2024-08-28 11:06:03 +02:00
|
|
|
neon = "1"
|
2024-10-01 08:24:52 +02:00
|
|
|
quick_cache = "0.6.9"
|
2024-08-29 00:07:19 +02:00
|
|
|
ahash = "0.8.11"
|