-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
65 lines (51 loc) · 1.44 KB
/
Cargo.toml
File metadata and controls
65 lines (51 loc) · 1.44 KB
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
[package]
name = "rustream"
version = "0.3.2"
edition = "2021"
description = "Fast Postgres → Parquet sync tool"
license = "MIT"
[[bin]]
name = "rustream"
path = "src/main.rs"
[dependencies]
# Async runtime
tokio = { version = "1", features = ["full"] }
# Postgres
tokio-postgres = { version = "0.7", features = ["with-chrono-0_4", "with-serde_json-1", "with-uuid-1"] }
postgres-types = { version = "0.2", features = ["with-chrono-0_4", "with-serde_json-1", "with-uuid-1"] }
# Arrow / Parquet (v57 to match iceberg 0.8)
arrow = { version = "57", features = ["chrono-tz"] }
parquet = { version = "57", features = ["arrow"] }
# CLI
clap = { version = "4", features = ["derive"] }
# Config
serde = { version = "1", features = ["derive"] }
serde_yaml = "0.9"
# S3
aws-sdk-s3 = "1"
aws-config = { version = "1", features = ["behavior-version-latest"] }
# State tracking
rusqlite = { version = "0.32", features = ["bundled"] }
# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# Iceberg
iceberg = "0.8"
iceberg-catalog-rest = "0.8"
# Utils
chrono = { version = "0.4", features = ["serde"] }
uuid = { version = "1", features = ["serde"] }
anyhow = "1"
serde_json = "1"
bytes = "1"
glob = "0.3"
arrow-csv = "57"
axum = { version = "0.7", features = ["json"] }
[features]
default = []
glue = ["iceberg-catalog-glue"]
[dependencies.iceberg-catalog-glue]
version = "0.8"
optional = true
[dev-dependencies]
tempfile = "3"