sectok
A Rust library to interact with RFC 8959 secret-token URIs.
See the RFC text for motivation and details.
You can find the library documentation on docs.rs.
An example of decoding a URI:
use sectok;
use env;
% API_KEY=secret-token:hello%20world cargo run --quiet --example decode
The URI: secret-token:hello%20world
The decoded token: hello world