Update to 1.0

Signed-off-by: constantoine <cleo.rebert@gmail.com>
This commit is contained in:
constantoine 2022-04-15 15:08:41 +02:00
parent 0f245d26cc
commit ba925c2442
No known key found for this signature in database
GPG Key ID: 0FA097951CF65367
2 changed files with 6 additions and 6 deletions

View File

@ -1,6 +1,6 @@
[package]
name = "totp-rs"
version = "0.7.4"
version = "1.0.0"
authors = ["Cleo Rebert <cleo.rebert@gmail.com>"]
edition = "2021"
readme = "README.md"
@ -21,9 +21,9 @@ serde_support = ["serde"]
[dependencies]
serde = { version = "1.0", features = ["derive"], optional = true }
sha2 = "~0.10.1"
sha2 = "~0.10.2"
sha-1 = "~0.10.0"
hmac = "~0.12.0"
hmac = "~0.12.1"
base32 = "~0.4"
qrcode = { version = "~0.12", optional = true }
image = { version = "~0.23.14", optional = true}

View File

@ -17,7 +17,7 @@ With optional feature "serde_support", library-defined types will be Deserialize
Add it to your `Cargo.toml`:
```toml
[dependencies]
totp-rs = "~0.7"
totp-rs = "~1.0"
```
You can then do something like:
```Rust
@ -45,7 +45,7 @@ println!("{}", token);
Add it to your `Cargo.toml`:
```toml
[dependencies.totp-rs]
version = "~0.7"
version = "~1.0"
features = ["qr"]
```
You can then do something like:
@ -67,6 +67,6 @@ println!("{}", code);
Add it to your `Cargo.toml`:
```toml
[dependencies.totp-rs]
version = "~0.7"
version = "~1.0"
features = ["serde_support"]
```