chore(release): v0.2.0
This commit is contained in:
parent
40e7c3ddab
commit
e89ad0b3ea
|
@ -75,7 +75,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "crypto-utils"
|
||||
version = "0.1.0"
|
||||
version = "0.2.0"
|
||||
dependencies = [
|
||||
"chrono",
|
||||
"hex",
|
||||
|
|
|
@ -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]
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
//!
|
||||
//! ```toml
|
||||
//! [dependencies]
|
||||
//! crypto-utils = "0.1.0"
|
||||
//! crypto-utils = "0.2.0"
|
||||
//! ```
|
||||
//!
|
||||
//! ## How to use?
|
||||
|
|
Loading…
Reference in New Issue