From 11d40bac948de102920377ae07640abc1cb1218a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Thu, 25 Jul 2024 10:34:39 +0200 Subject: [PATCH] Unify version string formats MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#caret-requirements "^1.2.3" is strictly equivalent to "1.2.3" Signed-off-by: Maxime “pep” Buquet --- parsers/Cargo.toml | 2 +- tokio-xmpp/Cargo.toml | 2 +- xso-proc/Cargo.toml | 6 +++--- xso/Cargo.toml | 8 ++++---- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/parsers/Cargo.toml b/parsers/Cargo.toml index 952ebf12..6086b359 100644 --- a/parsers/Cargo.toml +++ b/parsers/Cargo.toml @@ -24,7 +24,7 @@ chrono = { version = "0.4.5", default-features = false, features = ["std"] } # same repository dependencies jid = { version = "0.11", features = ["minidom"] } minidom = { version = "0.16" } -xso = { version = "^0.1", features = ["macros", "minidom", "panicking-into-impl", "jid", "base64"] } +xso = { version = "0.1", features = ["macros", "minidom", "panicking-into-impl", "jid", "base64"] } [features] # Build xmpp-parsers to make components instead of clients. diff --git a/tokio-xmpp/Cargo.toml b/tokio-xmpp/Cargo.toml index 22d70bee..ca2dd706 100644 --- a/tokio-xmpp/Cargo.toml +++ b/tokio-xmpp/Cargo.toml @@ -20,7 +20,7 @@ tokio-stream = { version = "0.1", features = [] } tokio-util = { version = "0.7", features = ["codec"] } webpki-roots = { version = "0.25", optional = true } rxml = { version = "0.11.1", features = ["compact_str"] } -rand = "^0.8" +rand = "0.8" syntect = { version = "5", optional = true } # same repository dependencies sasl = { version = "0.5" } diff --git a/xso-proc/Cargo.toml b/xso-proc/Cargo.toml index db7d9aff..5f801b1b 100644 --- a/xso-proc/Cargo.toml +++ b/xso-proc/Cargo.toml @@ -15,9 +15,9 @@ edition = "2021" proc-macro = true [dependencies] -quote = "^1" -syn = { version = "^2", features = ["full", "extra-traits"] } -proc-macro2 = "^1" +quote = "1" +syn = { version = "2", features = ["full", "extra-traits"] } +proc-macro2 = "1" rxml_validation = { version = "0.11", default-features = false, features = ["std"] } [features] diff --git a/xso/Cargo.toml b/xso/Cargo.toml index e5b21c7e..b43a42b3 100644 --- a/xso/Cargo.toml +++ b/xso/Cargo.toml @@ -11,7 +11,7 @@ license = "MPL-2.0" [dependencies] rxml = { version = "0.11.1", default-features = false } -minidom = { version = "^0.16" } +minidom = { version = "0.16" } xso_proc = { version = "0.1", optional = true } # optional dependencies to provide text conversion to/from types from/using @@ -20,9 +20,9 @@ xso_proc = { version = "0.1", optional = true } # defaults to picking the highest matching version by default, the only # sensible thing we can do here is to depend on the least version of the most # recent semver of each crate. -jid = { version = "^0.11", optional = true } -uuid = { version = "^1", optional = true } -base64 = { version = "^0.22", optional = true } +jid = { version = "0.11", optional = true } +uuid = { version = "1", optional = true } +base64 = { version = "0.22", optional = true } [features] macros = [ "dep:xso_proc" ]