Update version
Signed-off-by: constantoine <cleo.rebert@gmail.com>
This commit is contained in:
parent
1010772cfb
commit
a3b51eea3d
|
@ -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"
|
||||||
|
|
10
README.md
10
README.md
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue