Changed to 7.0 for 2021 edition
This commit is contained in:
parent
97695cf26d
commit
d75ca4ddcd
2
LICENSE
2
LICENSE
|
@ -1,6 +1,6 @@
|
|||
MIT License
|
||||
|
||||
Copyright (c) 2020 Cléo Rebert
|
||||
Copyright (c) 2020-2021 Cléo Rebert
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
|
|
@ -15,7 +15,7 @@ With optional feature "serde_support", library-defined types will be Deserialize
|
|||
Add it to your `Cargo.toml`:
|
||||
```toml
|
||||
[dependencies]
|
||||
totp-rs = "~0.6"
|
||||
totp-rs = "~0.7"
|
||||
```
|
||||
You can then do something like:
|
||||
```Rust
|
||||
|
@ -43,7 +43,7 @@ println!("{}", token);
|
|||
Add it to your `Cargo.toml`:
|
||||
```toml
|
||||
[dependencies.totp-rs]
|
||||
version = "~0.6"
|
||||
version = "~0.7"
|
||||
features = ["qr"]
|
||||
```
|
||||
You can then do something like:
|
||||
|
@ -65,6 +65,6 @@ println!("{}", code);
|
|||
Add it to your `Cargo.toml`:
|
||||
```toml
|
||||
[dependencies.totp-rs]
|
||||
version = "~0.6"
|
||||
version = "~0.7"
|
||||
features = ["serde_support"]
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue