Fix the Sin of Man

- Migrate to ClickHouse
- Simplify serde renaming
- Simplify backfill logic
- Compartmentalize database columns

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2024-01-15 23:51:53 +00:00
parent 63a9ca950f
commit de3989ec35
45 changed files with 1120 additions and 2718 deletions

View File

@@ -12,34 +12,37 @@ codegen-units = 1
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
axum = "0.6.20"
axum = "0.7.4"
dotenv = "0.15.0"
sqlx = { version = "0.7.1", features = [
"uuid",
"time",
"postgres",
"runtime-tokio",
] }
tokio = { version = "1.32.0", features = [
"macros",
"rt-multi-thread",
] }
serde = "1.0.188"
log = "0.4.20"
serde_json = "1.0.105"
log4rs = "1.2.0"
time = { version = "0.3.27", features = [
"serde",
tokio-tungstenite = { version = "0.21.0", features = [
"tokio-native-tls",
"native-tls",
] }
log = "0.4.20"
log4rs = "1.2.0"
serde = "1.0.188"
serde_json = "1.0.105"
serde_repr = "0.1.18"
futures-util = "0.3.28"
reqwest = { version = "0.11.20", features = [
"json",
"serde_json",
] }
tokio-tungstenite = { version = "0.20.0", features = [
"tokio-native-tls",
"native-tls",
] }
http = "0.2.9"
http = "1.0.0"
governor = "0.6.0"
indexmap = "2.0.0"
clickhouse = { version = "0.11.6", features = [
"watch",
"time",
"uuid",
] }
uuid = "1.6.1"
time = { version = "0.3.31", features = [
"serde",
"formatting",
"macros",
"serde-well-known",
] }