[package] name = "pkce" version = "0.2.0" authors = ["Gabriel Prada "] edition = "2018" description = "Library for generating PKCE code verifiers and challenges" repository = "https://github.com/StargazerG/pkce-rs" license = "MIT OR Apache-2.0" keywords = ["pkce", "oauth", "verifier", "verify", "challenge"] [dependencies] base64 = "0.21" rand = "0.8" sha2 = "0.10" getrandom = { version = "0.2", features = ["js"], optional = true } [features] # option to enable web assembly support js = ["dep:getrandom"]