From a3b51eea3d5f3648ce10a5c8db0c639e8897f484 Mon Sep 17 00:00:00 2001 From: constantoine Date: Fri, 6 May 2022 15:42:55 +0200 Subject: [PATCH] Update version Signed-off-by: constantoine --- Cargo.toml | 2 +- README.md | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) 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 "] 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;