Changed to 7.0 for 2021 edition

This commit is contained in:
Cléo Rebert 2022-01-13 16:17:19 +01:00
parent 97695cf26d
commit d75ca4ddcd
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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"]
```