Registry / auth / http-auth-basic

http-auth-basic

JSON →
library0.3.7rscratesunverified

HTTP Basic Authentication Scheme (RFC 7617 and RFC 2617 compliant, base64-encoded credentials) for Rust applications.

auth
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.

use http_auth_basic::Credentials;

Creates HTTP Basic auth credentials and generates the Authorization header.

use http_auth_basic::Credentials; fn main() { let creds = Credentials::new("user", "pass"); let header = creds.as_header_value(); println!("Authorization: {}", header); }
Debug
Known footguns

No known footguns recorded.

Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
17 hits · last 30 days
gptbot
3
amazonbot
3
claudebot
3
mj12bot
2
ahrefsbot
1
Resources