Commit ba925c2442000dedbb0a28983550378167e19eae

constantoine 2022-04-15T15:08:41

Update to 1.0 Signed-off-by: constantoine <cleo.rebert@gmail.com>

diff --git a/Cargo.toml b/Cargo.toml
index 1c545de..9473725 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
 [package]
 name = "totp-rs"
-version = "0.7.4"
+version = "1.0.0"
 authors = ["Cleo Rebert <cleo.rebert@gmail.com>"]
 edition = "2021"
 readme = "README.md"
@@ -21,9 +21,9 @@ serde_support = ["serde"]
 
 [dependencies]
 serde = { version = "1.0", features = ["derive"], optional = true }
-sha2 = "~0.10.1"
+sha2 = "~0.10.2"
 sha-1 = "~0.10.0"
-hmac = "~0.12.0"
+hmac = "~0.12.1"
 base32 = "~0.4"
 qrcode = { version = "~0.12", optional = true }
 image = { version = "~0.23.14", optional = true}
diff --git a/README.md b/README.md
index e782d28..a461319 100644
--- a/README.md
+++ b/README.md
@@ -17,7 +17,7 @@ With optional feature "serde_support", library-defined types will be Deserialize
 Add it to your `Cargo.toml`:
 ```toml
 [dependencies]
-totp-rs = "~0.7"
+totp-rs = "~1.0"
 ```
 You can then do something like:
 ```Rust
@@ -45,7 +45,7 @@ println!("{}", token);
 Add it to your `Cargo.toml`:
 ```toml
 [dependencies.totp-rs]
-version = "~0.7"
+version = "~1.0"
 features = ["qr"]
 ```
 You can then do something like:
@@ -67,6 +67,6 @@ println!("{}", code);
 Add it to your `Cargo.toml`:
 ```toml
 [dependencies.totp-rs]
-version = "~0.7"
+version = "~1.0"
 features = ["serde_support"]
 ```