Normalize dependency requirements Signed-off-by: Cléo REBERT <cleo.rebert-ext@treezor.com>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5231b64..1c027bf 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,12 @@
+# [5.0.1](https://github.com/constantoine/totp-rs/releases/tag/v5.0.1) (31/03/2023)
+### Changes.
+
+### Changes
+- Normalize dependencies specifications since cargo uses range dependency by default.
+
+### Special thanks
+* [@bestia-dev](https://github.com/bestia-dev) for pointing out discrepancies in my dependency requirements.
+
# [5.0](https://github.com/constantoine/totp-rs/releases/tag/v5.0) (28/03/2023)
### Breaking changes.
- MSRV has been set to Rust `1.61`.
diff --git a/Cargo.toml b/Cargo.toml
index fc7700f..280f0fe 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "totp-rs"
-version = "5.0.0"
+version = "5.0.1"
authors = ["Cleo Rebert <cleo.rebert@gmail.com>"]
rust-version = "1.61"
edition = "2021"
@@ -25,15 +25,15 @@ steam = []
[dependencies]
serde = { version = "1.0", features = ["derive"], optional = true }
-sha2 = "~0.10.2"
-sha1 = "~0.10.5"
-hmac = "~0.12.1"
-base32 = "~0.4"
-urlencoding = { version = "^2.1.0", optional = true}
-url = { version = "^2.3.1", optional = true }
-constant_time_eq = "0.2.4"
-qrcodegen = { version = "~1.8", optional = true }
-image = { version = "~0.24.2", features = ["png"], optional = true, default-features = false}
-base64 = { version = "~0.21", optional = true }
-rand = { version = "~0.8.5", features = ["std_rng", "std"], optional = true, default-features = false }
-zeroize = { version = "1.6.0", features = ["alloc", "derive"], optional = true }
\ No newline at end of file
+sha2 = "0.10"
+sha1 = "0.10"
+hmac = "0.12"
+base32 = "0.4"
+urlencoding = { version = "2.1", optional = true}
+url = { version = "2.3", optional = true }
+constant_time_eq = "0.2"
+qrcodegen = { version = "1.8", optional = true }
+image = { version = "0.24", features = ["png"], optional = true, default-features = false}
+base64 = { version = "0.21", optional = true }
+rand = { version = "0.8", features = ["std_rng", "std"], optional = true, default-features = false }
+zeroize = { version = "1.6", features = ["alloc", "derive"], optional = true }
\ No newline at end of file