reqwest-netrc 0.1.0

netrc support for Rust with support for reqwest
Documentation

netrc

crates.io Documentation MIT licensed CI

A well-tested netrc library for Rust, with support for Reqwest via Reqwest Middleware.

Usage

> cargo add rust-netrc

Basic usage:

use netrc::Netrc;

fn main() {
  let nrc = Netrc::new();

  println!(nrc.hosts["my.host"].login);
  println!(nrc.hosts["my.host"].account);
  println!(nrc.hosts["my.host"].password);
}

With reqwest:

TODO

Contributing

Feedback and contributions are very welcome.

License

This project is licensed under MIT.