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]] [[package]]
name = "crypto-utils" name = "crypto-utils"
version = "0.1.0" version = "0.2.0"
dependencies = [ dependencies = [
"chrono", "chrono",
"hex", "hex",

View File

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

View File

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

View File

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