[package] name = "rust_utilities" description = "Utilities for Rust" authors = ["MedzikUser "] license = "MIT" keywords = ["crypto", "cryptography"] homepage = "https://github.com/MedzikUser/rust-utilities" repository = "https://github.com/MedzikUser/rust-utilities.git" version = "0.2.0" edition = "2021" [features] default = ["full"] full = ["crypto", "sha", "jsonwebtoken"] crypto = [] sha = ["sha-1", "sha2", "hex", "crypto"] jsonwebtoken = ["dep:jsonwebtoken", "chrono", "crypto"] [dependencies.serde] version = "1.0.136" features = ["derive"] # crypto [dependencies.sha-1] version = "0.10.0" optional = true [dependencies.sha2] version = "0.10.2" optional = true [dependencies.hex] version = "0.4.3" optional = true [dependencies.jsonwebtoken] version = "8.1.0" optional = true [dependencies.chrono] version = "0.4.19" optional = true