send-reqwest

Crates.iosend-reqwest
lib.rssend-reqwest
version0.1.0
created_at2022-01-21 15:47:13.382686+00
updated_at2022-01-21 15:47:13.382686+00
descriptionReads from `stdin` and sends for each line a get request.
homepagehttps://github.com/Trust-NICKOL/send-reqwest
repositoryhttps://github.com/Trust-NICKOL/send-reqwest
max_upload_size
id518612
size40,032
Alexander Nickol (a-nickol)

documentation

https://github.com/Trust-NICKOL/send-reqwest

README

Send-Reqwest

Reads from stdin and sends for each line a get request. Uses the following parameters for the reqests:

  • 2 seconds timeout
  • 2 retries for retryable requests

Installation Notes

Requirements

  • Rust (edition 2021)
  • Cargo

Rust

We suggest that you install Rust using the 'rustup' tool. Rustup will install the latest version of Rust, Cargo, and the other development tools.

Follow the instructions at Installing Rust.

For Mac users, Homebrew is also an option. The Mac Homebrew command is brew install rustup and then rustup-init. See Mac Setup & Installing Rust for more details.

After installation, you should have rustc, cargo, & rustup. You should also have ~/.cargo/bin in your PATH environment variable.

Usage

You can run the application through cargo:

cargo run

FAQ

What are retryable requests?

Requests are considered retryable according to the rules implemented in

reqwest-retry::Retryable::from_reqwest_response

Contributing

How to build the software

Cargo is used as the package manager and build system for send-reqwest.

$ git clone https://github.com/Trust-NICKOL/send-reqwest.git
$ cd send-reqwest
$ cargo build --release

How to test the software

The unit-tests of this repository can be used to test the functionality of this library.

cargo test

Known issues

There are currently no know issues with this tool.

Getting help

Please you the issue tracker of the github repository if you have any problems using the library.

Getting involved

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

For more information see CONTRIBUTING.

License

This software is released under the MIT License.

Commit count: 5

cargo fmt