[package] name = "tenet" version = "0.0.4" edition = "2021" description = "A godawful JWT implementation" keywords = ["jwt", "poor_implentation"] license="AGPL-3.0" authors = ["Sam Huddart "] repository = "https://github.com/samhdev/tenet" [dependencies.serde] version = "1.0.131" features = ["derive"] [dependencies] serde_json = "1.0.73" base64 = "0.13.0" [dependencies.hmac] version = "0.12.0" optional = true [dependencies.sha2] version = "0.10.0" optional = true [dependencies.http] version = "^0.2.6" optional = true [features] HS256 = ["hmac", "sha2"] HS512 = ["hmac", "sha2"] default = ["HS256"]