-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathCargo.toml
More file actions
109 lines (105 loc) · 2.9 KB
/
Cargo.toml
File metadata and controls
109 lines (105 loc) · 2.9 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
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
102
103
104
105
106
107
108
109
[package]
name = "sensapp"
version = "0.3.0"
edition = "2024"
[features]
default = ["postgres"]
# Storage backends
postgres = ["sqlx/postgres"]
sqlite = ["sqlx/sqlite", "sqlx/regexp"]
timescaledb = ["sqlx/postgres"] # Uses same driver as postgres
duckdb = ["dep:duckdb"]
bigquery = [
"dep:gcp-bigquery-client",
"dep:bigdecimal",
"dep:big-decimal-byte-string-encoder",
]
rrdcached = ["dep:rrdcached-client"]
clickhouse = ["dep:clickhouse"]
# Convenience feature to enable all storage backends
all-storage = [
"postgres",
"sqlite",
"timescaledb",
"duckdb",
"bigquery",
"rrdcached",
"clickhouse",
]
# Test utilities
test-utils = []
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
# Apache Arrow support for efficient columnar data format
arrow = { version = "57", features = ["ipc"] }
arrow-ipc = "57"
anyhow = "1.0"
async-trait = "0.1"
thiserror = "2.0"
axum = { version = "0.8", features = ["multipart", "macros"] }
base64 = "0.22"
futures = "0.3"
sqlx = { version = "0.8", features = [
"runtime-tokio",
"uuid",
"json",
"time",
"rust_decimal",
] }
tokio = { version = "1.47", features = ["full"] }
tokio-stream = { version = "0.1", features = ["io-util"] }
tokio-util = "0.7"
tower = { version = "0.5", features = ["full"] }
tower-http = { version = "0.6", features = ["full"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
uuid = { version = "1.18", features = ["serde"] }
csv-async = "1.3"
rust_decimal = "1.37"
geo = "0.32"
cached = { version = "0.56", features = ["async", "tokio", "async-trait"] }
nom = "8.0"
serde_json = "1.0"
hifitime = "4.1"
iso8601 = "0.6"
duckdb = { version = "1.3", features = ["bundled"], optional = true }
serde = "1.0"
confique = { version = "0.4", features = ["toml"] }
byte-unit = "5.1"
prost = "0.14"
snap = "1.1"
rusty-chunkenc = "0.1"
blake3 = "1.8"
regex = "1.11"
sindit-senml = "0.2"
influxdb-line-protocol = "2.0"
flate2 = "1.1"
smallvec = "1.15"
once_cell = "1.21"
urlencoding = "2.1"
hybridmap = "0.1"
sentry = { version = "0.46", features = ["anyhow", "tower"] }
url = "2.5"
gcp-bigquery-client = { version = "0.27", optional = true }
sinteflake = { version = "0.1", features = ["async"] }
tonic = "0.14"
bigdecimal = { version = "0.4", optional = true }
big-decimal-byte-string-encoder = { version = "0.1", optional = true }
clru = "0.6"
utoipa = { version = "5.4", features = ["axum_extras"] }
utoipa-scalar = { version = "0.3", features = ["axum"] }
rrdcached-client = { version = "0.1", optional = true }
clickhouse = { version = "0.14", features = [
"lz4",
"uuid",
"time",
"inserter",
], optional = true }
rustls = "0.23"
rusty-promql-parser = "0.1"
[dev-dependencies]
temp-env = "0.3"
tokio-test = "0.4"
serial_test = "3.1"
# Re-import the same crate with test-utils feature for integration tests
sensapp = { path = ".", features = ["test-utils"], default-features = false }