-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
44 lines (39 loc) · 1.48 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
[package]
name = "nws_exporter"
version = "0.5.1"
authors = ["Nick Pillitteri"]
description = "Prometheus metrics exporter for api.weather.gov"
homepage = "https://github.com/56quarters/nws_exporter"
repository = "https://github.com/56quarters/nws_exporter"
readme = "README.md"
license = "GPL-3.0+"
keywords = ["nws", "metrics", "prometheus"]
edition = "2021"
[dependencies]
axum = "0.6.20"
clap = { version = "4.1.8", features = ["cargo", "derive", "help", "error-context", "std", "usage", "wrap_help"], default_features = false }
percent-encoding = "2.1.0"
prometheus-client = "0.21.2"
reqwest = { version = "0.11", features = ["json", "rustls-tls"], default-features = false }
serde = { version = "1.0.101", features = ["derive"] }
tokio = { version = "1.14.0", features = ["full"] }
tower-http = { version = "0.4.4", features = ["trace"] }
tracing = "0.1.11"
tracing-subscriber = "0.3.17"
[lib]
name = "nws_exporter"
path = "src/nws_exporter/lib.rs"
# The profile that 'cargo dist' will build with
[profile.dist]
inherits = "release"
lto = "thin"
# Config for 'cargo dist'
[workspace.metadata.dist]
# The preferred cargo-dist version to use in CI (Cargo.toml SemVer syntax)
cargo-dist-version = "0.2.0"
# CI backends to support (see 'cargo dist generate-ci')
ci = ["github"]
# The installers to generate for each app
installers = []
# Target platforms to build apps for (Rust target-triple syntax)
targets = ["x86_64-unknown-linux-gnu", "x86_64-apple-darwin", "x86_64-pc-windows-msvc", "aarch64-apple-darwin"]