Update version

Signed-off-by: constantoine <cleo.rebert@gmail.com>
This commit is contained in:
constantoine 2022-05-06 15:42:55 +02:00
parent 1010772cfb
commit a3b51eea3d
No known key found for this signature in database
GPG Key ID: 0FA097951CF65367
2 changed files with 6 additions and 6 deletions

View File

@ -1,6 +1,6 @@
[package] [package]
name = "totp-rs" name = "totp-rs"
version = "1.3.0" version = "1.4.0"
authors = ["Cleo Rebert <cleo.rebert@gmail.com>"] authors = ["Cleo Rebert <cleo.rebert@gmail.com>"]
edition = "2021" edition = "2021"
readme = "README.md" readme = "README.md"

View File

@ -21,7 +21,7 @@ With optional feature "otpauth", Support to parse the TOTP parameter from `otpau
Add it to your `Cargo.toml`: Add it to your `Cargo.toml`:
```toml ```toml
[dependencies] [dependencies]
totp-rs = "~1.3" totp-rs = "~1.4"
``` ```
You can then do something like: You can then do something like:
```Rust ```Rust
@ -46,7 +46,7 @@ println!("{}", token);
Add it to your `Cargo.toml`: Add it to your `Cargo.toml`:
```toml ```toml
[dependencies.totp-rs] [dependencies.totp-rs]
version = "~1.3" version = "~1.4"
features = ["qr"] features = ["qr"]
``` ```
You can then do something like: You can then do something like:
@ -68,7 +68,7 @@ println!("{}", code);
Add it to your `Cargo.toml`: Add it to your `Cargo.toml`:
```toml ```toml
[dependencies.totp-rs] [dependencies.totp-rs]
version = "~1.3" version = "~1.4"
features = ["serde_support"] features = ["serde_support"]
``` ```
@ -77,10 +77,10 @@ features = ["serde_support"]
Add it to your `Cargo.toml`: Add it to your `Cargo.toml`:
```toml ```toml
[dependencies.totp-rs] [dependencies.totp-rs]
version = "~1.3" version = "~1.4"
features = ["otpauth"] features = ["otpauth"]
``` ```
You can then do something like:
```Rust ```Rust
use totp_rs::TOTP; use totp_rs::TOTP;