forked from prometheus/client_rust
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
57 lines (49 loc) · 1.5 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
[package]
name = "prometheus-client"
version = "0.22.0"
authors = ["Max Inden <[email protected]>"]
edition = "2021"
description = "Open Metrics client library allowing users to natively instrument applications."
license = "Apache-2.0 OR MIT"
keywords = ["openmetrics", "prometheus", "metrics", "instrumentation", "monitoring"]
repository = "https://github.com/prometheus/client_rust"
homepage = "https://github.com/prometheus/client_rust"
documentation = "https://docs.rs/prometheus-client"
[features]
default = []
protobuf = ["dep:prost", "dep:prost-types", "dep:prost-build"]
[workspace]
members = ["derive-encode"]
[dependencies]
dtoa = "1.0"
itoa = "1.0"
parking_lot = "0.12"
prometheus-client-derive-encode = { version = "0.4.1", path = "derive-encode" }
prost = { version = "0.11.0", optional = true }
prost-types = { version = "0.11.0", optional = true }
[dev-dependencies]
async-std = { version = "1", features = ["attributes"] }
criterion = "0.5"
http-types = "2"
pyo3 = "0.20"
quickcheck = "1"
rand = "0.8.4"
tide = "0.16"
actix-web = "4"
tokio = { version = "1", features = ["rt-multi-thread", "net", "macros", "signal"] }
hyper = { version = "0.14.16", features = ["server", "http1", "tcp"] }
[build-dependencies]
prost-build = { version = "0.11.0", optional = true }
[[bench]]
name = "family"
harness = false
[[bench]]
name = "text"
path = "benches/encoding/text.rs"
harness = false
required-features = []
[[bench]]
name = "proto"
path = "benches/encoding/proto.rs"
harness = false
required-features = ["protobuf"]