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;