[dependencies.ct-codecs]
default-features = false
version = "1.1.1"
[dependencies.ed25519-compact]
default-features = false
features = ["random"]
optional = true
version = "2.0.2"
[dependencies.getrandom]
features = ["js"]
version = "0.2"
[dependencies.orion]
default-features = false
optional = true
version = "0.17.0"
[dependencies.p384]
optional = true
version = "0.13.0"
[dependencies.rand_core]
default-features = false
features = ["getrandom"]
optional = true
version = "0.6.3"
[dependencies.regex]
optional = true
version = "1.5.5"
[dependencies.serde]
optional = true
version = "1.0.145"
[dependencies.serde_json]
optional = true
version = "1.0.41"
[dependencies.sha2]
optional = true
version = "0.10.2"
[dependencies.subtle]
default-features = false
version = "2.4.1"
[dependencies.time]
features = ["parsing", "formatting"]
optional = true
version = "0.3"
[dependencies.zeroize]
default-features = false
version = "1.4.1"
[dev-dependencies.hex]
version = "0.4.2"
[dev-dependencies.serde]
features = ["derive"]
version = "1.0"
[dev-dependencies.serde_json]
version = "1.0.41"
[features]
default = ["std", "v4", "paserk"]
paserk = ["orion"]
std = ["serde_json", "time", "regex"]
v2 = ["orion", "ed25519-compact"]
v3 = ["rand_core", "p384", "sha2"]
v4 = ["orion", "ed25519-compact"]
[lib]
name = "pasetors"
path = "src/lib.rs"
[package]
authors = ["brycx <brycx@protonmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["cryptography", "authentication"]
description = "PASETO: Platform-Agnostic Security Tokens (in Rust)"
documentation = "https://docs.rs/pasetors"
edition = "2018"
keywords = ["cryptography", "crypto", "token", "paseto", "authentication"]
license = "MIT"
name = "pasetors"
readme = "README.md"
repository = "https://github.com/brycx/pasetors"
rust-version = "1.80.0"
version = "0.7.0"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]