chore(release): v0.2.0

This commit is contained in:
MedzikUser 2022-06-11 21:26:09 +02:00
parent 40e7c3ddab
commit e89ad0b3ea
No known key found for this signature in database
GPG Key ID: A5FAC1E185C112DB
4 changed files with 5 additions and 4 deletions

2
Cargo.lock generated
View File

@ -75,7 +75,7 @@ dependencies = [
[[package]]
name = "crypto-utils"
version = "0.1.0"
version = "0.2.0"
dependencies = [
"chrono",
"hex",

View File

@ -7,7 +7,7 @@ keywords = ["crypto", "sha"]
categories = ["cryptography"]
homepage = "https://github.com/MedzikUser/rust-crypto-utils"
repository = "https://github.com/MedzikUser/rust-crypto-utils.git"
version = "0.1.0"
version = "0.2.0"
edition = "2021"
[features]

View File

@ -18,7 +18,7 @@ your application, simply add it to your project's `Cargo.toml`.
```toml
[dependencies]
crypto-utils = "0.1.0"
crypto-utils = "0.2.0"
```
### How to use?
@ -63,6 +63,7 @@ Create and decode a token
```rust
use crypto_utils::jsonwebtoken::{Claims, Token};
let secret = b"secret";
let user_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx";
// create claims

View File

@ -16,7 +16,7 @@
//!
//! ```toml
//! [dependencies]
//! crypto-utils = "0.1.0"
//! crypto-utils = "0.2.0"
//! ```
//!
//! ## How to use?