Registry / auth / smpl-jwt

smpl-jwt

JSON →
library0.9.0rscratesunverified

Very simple JWT generation library.

# Cargo.toml [dependencies] smpl_jwt = "0.9.0"
INSTALL
IMPORT
SIG · SMPL-JWT
S
smpl-jwt
authrustv0.9.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Jwt
use smpl_jwt::Jwt;

Generate a simple JWT token.

use smpl_jwt::Jwt; fn main() -> Result<(), Box<dyn std::error::Error>> { let jwt = Jwt::new("my_secret")?; let token = jwt.generate_token()?; println!("Token: {}", token); Ok(()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.9.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
19 hits · last 30 days
node
16
OpenAI (training)
1
Resources
smpl-jwt — cargo add smpl-jwt · libregistry