-
Notifications
You must be signed in to change notification settings - Fork 7
/
Cargo.toml
35 lines (32 loc) · 1.23 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
[package]
name = "prometheus-http-query"
version = "0.8.3"
authors = ["Peter Sebastian Puetz <[email protected]>"]
edition = "2021"
repository = "https://github.com/puetzp/prometheus-http-query"
documentation = "https://docs.rs/prometheus-http-query"
readme = "README.md"
license = "MIT"
description = "Prometheus HTTP API client"
keywords = [ "prometheus", "prometheus-http-api", "promql", "api", "reqwest" ]
[dependencies]
mime = "0.3"
reqwest = { version = "0.12.2", default-features = false, features = ["json"] }
serde = { version = "1", features = ["derive"] }
url = { version = "2.5", features = ["serde"] }
time = { version = "0.3", features = ["parsing", "macros", "serde"] }
enum-as-inner = "0.6.0"
[dev-dependencies]
anyhow = "1"
serde_json = "1"
tokio = { version = "1", features = ["macros", "rt"] }
[features]
default = ["reqwest/default-tls"]
default-tls = ["reqwest/default-tls"]
native-tls = ["reqwest/native-tls"]
native-tls-vendored = ["reqwest/native-tls-vendored"]
native-tls-alpn = ["reqwest/native-tls-alpn"]
rustls-tls = ["reqwest/rustls-tls"]
rustls-tls-manual-roots = ["reqwest/rustls-tls-manual-roots"]
rustls-tls-webpki-roots = ["reqwest/rustls-tls-webpki-roots"]
rustls-tls-native-roots = ["reqwest/rustls-tls-native-roots"]