From f86e8bd24fdbb30b7039897dd49bbf5a614e576c Mon Sep 17 00:00:00 2001 From: Gabriel de Perthuis Date: Wed, 26 Jan 2022 11:09:27 +0100 Subject: [PATCH] build: Tighten dependencies Don't use tilde requirements unnecessarily, and ensure things build when resolving dependencies to minimal versions. Checked with: cargo +nightly update -Z minimal-versions; cargo check --- Cargo.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index fe7bd77..bc9f93c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,12 +10,12 @@ documentation = "https://docs.rs/proxy-protocol/" repository = "https://github.com/Proximyst/proxy-protocol.git" [dependencies] -snafu = "~0.6" -bytes = "~1" +snafu = "0.6.9" +bytes = "1" [dev-dependencies] pretty_assertions = "^0.7" -rand = "~0.8" +rand = "0.8" [features] default = []