* Changed version in README
This commit is contained in:
parent
2c12f47652
commit
a80ed7f1d9
|
@ -7,7 +7,7 @@ This library permits the creation of 2FA authentification tokens per TOTP, the v
|
||||||
Add it to your `Cargo.toml`:
|
Add it to your `Cargo.toml`:
|
||||||
```toml
|
```toml
|
||||||
[dependencies]
|
[dependencies]
|
||||||
totp-rs = "~0.3"
|
totp-rs = "~0.4"
|
||||||
```
|
```
|
||||||
You can then do something like:
|
You can then do something like:
|
||||||
```Rust
|
```Rust
|
||||||
|
@ -35,7 +35,7 @@ println!("{}", token);
|
||||||
Add it to your `Cargo.toml`:
|
Add it to your `Cargo.toml`:
|
||||||
```toml
|
```toml
|
||||||
[dependencies.totp-rs]
|
[dependencies.totp-rs]
|
||||||
version = "~0.3"
|
version = "~0.4"
|
||||||
features = ["qr"]
|
features = ["qr"]
|
||||||
```
|
```
|
||||||
You can then do something like:
|
You can then do something like:
|
||||||
|
|
Loading…
Reference in New Issue