#http-server #wait #http #sockets #file #command-line-tool

bin+lib wait-on

Library and CLI Utility to wait on the availability of resources such as Files, HTTP Servers, Ports & Sockets

3 releases

0.0.3 Apr 8, 2024
0.0.2 Apr 8, 2024
0.0.1 Apr 4, 2024

#1535 in Web programming

Download history 316/week @ 2024-04-02 140/week @ 2024-04-09

456 downloads per month

MIT/Apache

18KB
240 lines

wait-on

Library and CLI Utility to wait on the availability of resources such as Files, HTTP Servers, Ports & Sockets

Crates.io Documentation Build Clippy Formatter

Installation

cargo install wait-on

Usage

Wait for a file to exist

wait-on file /path/to/file

Wait for a Socket to be available using TCP Protocol

wait-on tcp -i 127.0.0.1 -p 8080

License

This project is licensed under the MIT license and the Apache License 2.0.


lib.rs:

Wait-On library to wait on the availability of resources such as Files, HTTP Servers, Ports & Sockets

Dependencies

~5–16MB
~157K SLoC