A library for parse http link header.
In your Cargo.toml
, add:
toml
[dependencies]
parse_link_header = "0.1"
Then:
```rust let link_header = "https://api.github.com/repositories/41986369/contributors?page=2; rel=\"next\", https://api.github.com/repositories/41986369/contributors?page=14; rel=\"last\"";
parselinkheader::parse(link_header); ```
Pull a request or open an issue to describe your changes or problems.
MIT @ g1eny0ung