From d75ca4ddcd5181967483e2a24e70f309fe2a86ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9o=20Rebert?= Date: Thu, 13 Jan 2022 16:17:19 +0100 Subject: [PATCH] Changed to 7.0 for 2021 edition --- LICENSE | 2 +- README.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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"] ```