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.

# Cargo.toml [dependencies] http-auth-basic = "0.3.7"
INSTALL
IMPORT
SIG · HTTP-AUTH-BASIC
H
http-auth-basic
authrustv0.3.7
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.

Credentials
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 issues

No known issues recorded.

Upgrade
Version history
0.3.7latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
14
Google (search)
1
OpenAI (training)
1
Resources
http-auth-basic — cargo add http-auth-basic · libregistry