Registry / http-client / parse-link-header

parse-link-header

JSON →
library0.4.1rscratesunverified

A library for parsing HTTP Link headers into structured data.

# Cargo.toml [dependencies] parse_link_header = "0.4.1"
INSTALL
IMPORT
SIG · PARSE-LINK-HEADER
P
parse-link-header
http-clientrustv0.4.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.

parse
use parse_link_header::parse;

Parse an HTTP Link header string into a map of links.

use parse_link_header::parse; fn main() { let header = "<https://example.com>; rel=\"next\""; let links = parse(header).unwrap(); println!("{:?}", links); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.4.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
12
Amazon
1
OpenAI (training)
1
Resources
parse-link-header — cargo add parse-link-header · libregistry