From bfb69f51fe832da290869b7a039abacf0e5c567a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 21 May 2024 10:53:58 +0200 Subject: [PATCH] Update criterion requirement from 0.4.0 to 0.5.1 (#42) * Update criterion requirement from 0.4.0 to 0.5.1 Updates the requirements on [criterion](https://github.com/bheisler/criterion.rs) to permit the latest version. - [Changelog](https://github.com/bheisler/criterion.rs/blob/master/CHANGELOG.md) - [Commits](https://github.com/bheisler/criterion.rs/compare/0.4.0...0.5.1) --- updated-dependencies: - dependency-name: criterion dependency-type: direct:production ... Signed-off-by: dependabot[bot] * impl Display instead of ToString --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Cristiano Piemontese --- positional/Cargo.toml | 2 +- positional/src/field.rs | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/positional/Cargo.toml b/positional/Cargo.toml index 1deb044..42610ca 100644 --- a/positional/Cargo.toml +++ b/positional/Cargo.toml @@ -29,6 +29,6 @@ thiserror = "1.0.31" [dev-dependencies] chrono = "0.4.19" -criterion = "0.4.0" +criterion = "0.5.1" fake = {version = "2.4.3", features = ["derive", "chrono"]} rand = "0.8" diff --git a/positional/src/field.rs b/positional/src/field.rs index 9494b4f..946551d 100644 --- a/positional/src/field.rs +++ b/positional/src/field.rs @@ -1,3 +1,5 @@ +use std::fmt::Display; + use pad::{Alignment, PadStr}; use std::fmt::Display;