# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "selective-disclosure-jwt" version = "0.0.4" description = "Selective Disclosure JWTs" homepage = "https://github.com/beltram/sd-jwt" readme = "README.md" keywords = ["jwt"] license = "GPL-3.0-only" repository = "https://github.com/beltram/sd-jwt" [dependencies.base64-simd] version = "0.8" [dependencies.base64ct] version = "1.6" optional = true [dependencies.derive_more] version = "1.0.0-beta.3" features = [ "from", "as_ref", "into", "deref", ] [dependencies.digest] version = "0.10" [dependencies.getrandom] version = "0.2" features = ["js"] optional = true [dependencies.jwt-simple] version = "0.11" optional = true [dependencies.rand_chacha] version = "0.3" optional = true [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.sha2] version = "0.10" optional = true [dependencies.thiserror] version = "1.0" [dev-dependencies.wasm-bindgen-test] version = "0.3.37" [features] default = [ "issuer", "holder", ] holder = [ "sha2", "jwt-simple", "base64ct", ] issuer = [ "jwt-simple", "base64ct", "rand_chacha", "sha2", "getrandom", ] verifier = [ "jwt-simple", "sha2", "base64ct", ]