Registry / auth / http-signature-normalization-reqwest

http-signature-normalization-reqwest

JSON →
library0.14.1rscratesunverified

An HTTP Signatures library that leaves the signing to you

# Cargo.toml [dependencies] http-signature-normalization-reqwest = "0.14.1"
INSTALL
IMPORT
SIG · HTTP-SIGNATURE-NOR
H
http-signature-normalization-reqwest
authrustv0.14.1
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.

sign
use http_signature_normalization_reqwest::sign;

Sign an HTTP request with HTTP Signatures

use http_signature_normalization_reqwest::sign; fn main() { let request = reqwest::Request::new(reqwest::Method::GET, "https://example.com".parse().unwrap()); let signed = sign(request, "key_id", |_| Ok("signature".to_string())); println!("Signed request: {:?}", signed); }
Debug
Known issues
gotchaRequires the `reqwest` crate with `rustls-tls` or `native-tls` feature
fix
Add `reqwest = { version = "0.12", features = ["rustls-tls"] }` to Cargo.toml
affects: >=0.14.0
Upgrade
Version history
0.14.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
16
Resources
http-signature-normalization-reqwest — cargo add http-signature-normalization-reqwest · libregistry