ts-token 0.8.0

JSON web token library for my projects
Documentation
[[bin]]
name = "jwk"
path = "src/bin/jwk.rs"
required-features = ["cli"]

[dependencies.base64ct]
version = "1"

[dependencies.clap]
features = ["derive"]
optional = true
version = "4"

[dependencies.fs-err]
optional = true
version = "3"

[dependencies.rand]
version = "0.9"

[dependencies.serde]
features = ["derive", "std"]
version = "1"

[dependencies.serde_json]
features = ["std"]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.ts-crypto]
version = "0.4"

[dependencies.ts-error-stack]
optional = true
version = "0.1"

[features]
cli = ["dep:clap", "dep:fs-err", "dep:ts-error-stack"]

[lib]
name = "ts_token"
path = "src/lib.rs"

[lints.clippy]
alloc_instead_of_core = "warn"
as_conversions = "warn"
dbg_macro = "warn"
doc_markdown = "warn"
if_then_some_else_none = "warn"
inconsistent_struct_constructor = "warn"
indexing_slicing = "warn"
map_unwrap_or = "warn"
match_same_arms = "warn"
mismatching_type_param_order = "warn"
missing_docs_in_private_items = "warn"
missing_panics_doc = "warn"
redundant_closure_for_method_calls = "warn"
semicolon_if_nothing_returned = "warn"
std_instead_of_alloc = "warn"
std_instead_of_core = "warn"
string_slice = "warn"
todo = "warn"
undocumented_unsafe_blocks = "warn"
unnecessary_self_imports = "warn"
unwrap_used = "warn"
use_self = "warn"

[lints.rust]
missing_docs = "warn"
unused_qualifications = "warn"

[package]
authors = ["Trent Shailer"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "JSON web token library for my projects"
documentation = "https://docs.rs/ts-token"
edition = "2024"
homepage = "https://codeberg.org/trentshailer/ts-token"
license = "MIT OR Apache-2.0"
name = "ts-token"
readme = "README.md"
repository = "https://codeberg.org/trentshailer/ts-token"
rust-version = "1.88"
version = "0.8.0"

[[test]]
name = "issue-verify"
path = "tests/issue-verify.rs"