-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
31 lines (25 loc) · 946 Bytes
/
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
[package]
name = "prometools"
version = "0.2.2"
edition = "2021"
description = "Extensions for prometheus-client"
documentation = "https://docs.rs/prometools/0.1.2/"
repository = "https://github.com/nox/prometools"
keywords = ["prometheus", "serde", "serialization"]
license = "MIT OR Apache-2.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
test = false
[features]
serde = ["dep:itoa", "dep:parking_lot", "dep:ryu", "dep:serde"]
[package.metadata.docs.rs]
features = ["serde"]
rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
itoa = { version = "1", optional = true }
parking_lot = { version = "0.12.1", optional = true }
prometheus-client = "0.18"
ryu = { version = "1", optional = true }
serde = { version = "1", default-features = false, features = ["std"], optional = true }
[dev-dependencies]
serde = { version = "1", default-features = false, features = ["derive", "std"] }