forked from Proxmox/proxmox
1d68cc33a3
Extract the URI creation for write and health URIs. Add unit test to
test the encoding of special characters in the organization and bucket
parameters.
Follow-up-to: bfa73aad
("metrics: encode influxdb org and bucket parameters")
Signed-off-by: Gabriel Goller <g.goller@proxmox.com>
FG: downgraded form_urlencoded version to packaged one
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
25 lines
602 B
TOML
25 lines
602 B
TOML
[package]
|
|
name = "proxmox-metrics"
|
|
version = "0.3.1"
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
description = "Metrics Server export utilitites"
|
|
|
|
exclude.workspace = true
|
|
|
|
[dependencies]
|
|
anyhow.workspace = true
|
|
futures.workspace = true
|
|
http.workspace = true
|
|
hyper.workspace = true
|
|
openssl.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
tokio = { workspace = true, features = [ "net", "sync" ] }
|
|
form_urlencoded.workspace = true
|
|
|
|
proxmox-async.workspace = true
|
|
proxmox-http = { workspace = true, features = [ "client" ] }
|