Changed to 7.0 for 2021 edition
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
diff --git a/LICENSE b/LICENSE
index c5fe83a..84b2c14 100644
--- a/LICENSE
+++ b/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
diff --git a/README.md b/README.md
index bf3ad29..315c694 100644
--- a/README.md
+++ b/README.md
@@ -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"]
```