-
Notifications
You must be signed in to change notification settings - Fork 10
/
Cargo.toml
38 lines (35 loc) · 1.17 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
[package]
name = "gravel-gateway"
version = "1.7.1"
edition = "2018"
license = "LGPL-3.0"
description = "A Prometheus Push Gateway for FAAS applications"
homepage = "https://github.com/sinkingpoint/gravel-gateway"
repository = "https://github.com/sinkingpoint/gravel-gateway"
readme = "README.md"
keywords = ["openmetrics", "prometheus", "pushgateway"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
tokio = { version = "1.34.0", features = ["full"] }
warp = "0.3"
openmetrics-parser = "0.4.4"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
clap = "2.33.3"
slog = "2.7.0"
slog-async = "2.6.0"
slog-json = "2.3.0"
futures = "0.3.7"
bcrypt = {optional = true, version = "0.10"}
trust-dns-proto = {optional = true, version = "0.21.2"}
trust-dns-resolver = {optional = true, version = "0.21.2"}
reqwest = { optional = true, version="0.11.10" }
twox-hash = { optional = true, version = "1.6.3" }
base64 = "0.13"
anyhow = "1.0"
urlencoding = "2.1.3"
[features]
default = ["tls", "auth", "clustering"]
tls = ["warp/tls"]
auth = ["bcrypt"]
clustering = ["trust-dns-proto", "trust-dns-resolver", "reqwest", "twox-hash"]