Update version Signed-off-by: constantoine <cleo.rebert@gmail.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
diff --git a/Cargo.toml b/Cargo.toml
index d4a6387..75f4e38 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "totp-rs"
-version = "1.3.0"
+version = "1.4.0"
authors = ["Cleo Rebert <cleo.rebert@gmail.com>"]
edition = "2021"
readme = "README.md"
diff --git a/README.md b/README.md
index ea56fd7..91abd4a 100644
--- a/README.md
+++ b/README.md
@@ -21,7 +21,7 @@ With optional feature "otpauth", Support to parse the TOTP parameter from `otpau
Add it to your `Cargo.toml`:
```toml
[dependencies]
-totp-rs = "~1.3"
+totp-rs = "~1.4"
```
You can then do something like:
```Rust
@@ -46,7 +46,7 @@ println!("{}", token);
Add it to your `Cargo.toml`:
```toml
[dependencies.totp-rs]
-version = "~1.3"
+version = "~1.4"
features = ["qr"]
```
You can then do something like:
@@ -68,7 +68,7 @@ println!("{}", code);
Add it to your `Cargo.toml`:
```toml
[dependencies.totp-rs]
-version = "~1.3"
+version = "~1.4"
features = ["serde_support"]
```
@@ -77,10 +77,10 @@ features = ["serde_support"]
Add it to your `Cargo.toml`:
```toml
[dependencies.totp-rs]
-version = "~1.3"
+version = "~1.4"
features = ["otpauth"]
```
-
+You can then do something like:
```Rust
use totp_rs::TOTP;