Skip to content

Commit

Permalink
bump deps + clippy stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
tobz committed Jul 2, 2023
1 parent c04028c commit 61580c0
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 9 deletions.
8 changes: 4 additions & 4 deletions metrics-benchmark/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ name = "metrics-benchmark"
version = "0.1.1-alpha.5"
authors = ["Toby Lawrence <toby@nuclearfurnace.com>"]
edition = "2018"
rust-version = "1.56.1"
rust-version = "1.61.0"
publish = false

[dependencies]
log = "0.4"
pretty_env_logger = "0.4"
pretty_env_logger = "0.5"
getopts = "0.2"
hdrhistogram = { version = "7.2", default-features = false }
quanta = "0.11"
portable-atomic = { version = "1", default-features = false, features = ["fallback"] }
metrics = { version = "^0.21", path = "../metrics" }
metrics-util = { version = "^0.15", path = "../metrics-util" }
metrics = { version = "0.21", path = "../metrics" }
metrics-util = { version = "0.15", path = "../metrics-util" }
4 changes: 1 addition & 3 deletions metrics-exporter-prometheus/src/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -461,9 +461,7 @@ impl PrometheusBuilder {
ExporterConfig::PushGateway { endpoint, interval, username, password } => {
let exporter = async move {
let client = Client::new();
let auth = username
.as_ref()
.map(|name| basic_auth(name, password.as_ref().map(|x| &**x)));
let auth = username.as_ref().map(|name| basic_auth(name, password.as_deref()));

loop {
// Sleep for `interval` amount of time, and then do a push.
Expand Down
2 changes: 1 addition & 1 deletion metrics-exporter-tcp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ tracing = { version = "0.1", default-features = false, features = ["attributes"]
prost-build = "0.11"

[dev-dependencies]
quanta = "0.10.0"
quanta = "0.11"
tracing = "0.1"
tracing-subscriber = "0.3"
rand = "0.8"
1 change: 1 addition & 0 deletions metrics-util/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed

- Update `aho-corasick` to `1.0`.
- Updated `hashbrown` to `0.14`.

## [0.15.0] - 2023-04-16

Expand Down
2 changes: 1 addition & 1 deletion metrics-util/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ radix_trie = { version = "0.2", default-features = false, optional = true }
ordered-float = { version = "3.4", default-features = false, optional = true }
num_cpus = { version = "1", default-features = false, optional = true }
ahash = { version = "0.8", default-features = false, optional = true }
hashbrown = { version = "0.13", default-features = false, optional = true, features = ["ahash"] }
hashbrown = { version = "0.14", default-features = false, optional = true, features = ["ahash"] }

[dev-dependencies]
approx = "0.5"
Expand Down

0 comments on commit 61580c0

Please sign in to comment.