[package] edition = "2021" name = "authentic" version = "0.5.0" authors = ["Jonathan Giddy"] description = "Authentication library" homepage = "https://github.com/jinxapi/authentic/blob/main/README.md" categories = ["authentication"] license = "Apache-2.0" repository = "https://github.com/jinxapi/authentic" [package.metadata.docs.rs] all-features = true [features] hyper-client = ["hyper"] reqwest-async = ["reqwest"] reqwest-blocking = ["reqwest/blocking"] jwt = ["jsonwebtoken", "arc-swap", "serde/derive"] loop = [] step = [] [dependencies] arc-swap = { version = "1.5.0", optional = true } http = "0.2.6" http-auth = { version = "0.1.5", features = ["basic-scheme", "http"] } hyper = { version = "0.14", optional = true } jsonwebtoken = { version = "8", optional = true } reqwest = { version = "0.11", optional = true } serde = {version = "1.0", optional = true } thiserror = "1" [dev-dependencies] hyper = { version = "0.14", features = ["full"] } hyper-tls = "0.5.0" reqwest = "0.11.10" tokio = { version = "1.17.0", features = ["full"] }