[badges.maintenance]
status = "actively-developed"
[[bin]]
name = "waitup"
path = "src/main.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.clap]
features = ["derive", "env"]
version = "4.5"
[dependencies.clap_complete]
version = "4.5"
[dependencies.futures]
version = "0.3"
[dependencies.humantime]
version = "2.3"
[dependencies.indicatif]
version = "0.18"
[dependencies.reqwest]
default-features = false
features = ["rustls-tls"]
version = "0.12"
[dependencies.serde]
features = ["derive"]
version = "1.0"
[dependencies.serde_json]
version = "1.0"
[dependencies.smallvec]
version = "1.0"
[dependencies.thiserror]
version = "2.0.17"
[dependencies.tokio]
features = ["net", "rt-multi-thread", "time", "macros", "sync"]
version = "1.0"
[dependencies.tokio-util]
version = "0.7"
[dependencies.url]
version = "2.5"
[dev-dependencies.proptest]
version = "1.8"
[dev-dependencies.test-case]
version = "3.3"
[dev-dependencies.tokio-test]
version = "0.4"
[[example]]
name = "basic_tcp"
path = "examples/basic_tcp.rs"
[[example]]
name = "docker_compose"
path = "examples/docker_compose.rs"
[[example]]
name = "http_health"
path = "examples/http_health.rs"
[[example]]
name = "kubernetes_init"
path = "examples/kubernetes_init.rs"
[[example]]
name = "library_usage"
path = "examples/library_usage.rs"
[[example]]
name = "multiple_services"
path = "examples/multiple_services.rs"
[lib]
name = "waitup"
path = "src/lib.rs"
[package]
authors = ["Serhii Kaliuzhnyi <kalyuzhni.sergei@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["command-line-utilities", "network-programming", "development-tools", "web-programming"]
description = "Wait for TCP ports and HTTP endpoints to be available. Essential for Docker, K8s, and CI/CD pipelines to ensure services are ready before proceeding."
documentation = "https://docs.rs/waitup"
edition = "2024"
exclude = ["target/*", ".github/*", "*.log"]
homepage = "https://github.com/grok-rs/waitup"
keywords = ["cli", "health-check", "docker", "tcp", "http"]
license = "MIT"
name = "waitup"
readme = "README.md"
repository = "https://github.com/grok-rs/waitup"
rust-version = "1.85.0"
version = "1.1.0"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[profile.release]
codegen-units = 1
lto = true
opt-level = "z"
panic = "abort"
strip = true
[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"