[package]
edition = "2024"
rust-version = "1.89"
name = "watermelon-testkit"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Run tests against isolated, disposable nats-server instances"
readme = "README.md"
keywords = [
"nats",
"testing",
]
categories = ["development-tools::testing"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/M4SS-Code/watermelon"
resolver = "2"
[lib]
name = "watermelon_testkit"
path = "src/lib.rs"
[dependencies.bytes]
version = "1"
[dependencies.http-body-util]
version = "0.1.5"
[dependencies.hyper]
version = "1.11"
features = [
"client",
"http1",
]
default-features = false
[dependencies.hyper-util]
version = "0.1.21"
features = [
"client-legacy",
"http1",
"tokio",
]
default-features = false
[dependencies.serde_json]
version = "1"
[dependencies.tempfile]
version = "3.27"
[dependencies.tokio]
version = "1.44"
features = [
"fs",
"process",
"time",
]
[target."cfg(unix)".dependencies.rustix]
version = "1.1"
features = [
"std",
"process",
]
default-features = false
[lints.clippy]
await_holding_refcell_ref = "deny"
clone_on_ref_ptr = "warn"
map_unwrap_or = "warn"
module_name_repetitions = "allow"
needless_lifetimes = "warn"
needless_raw_string_hashes = "warn"
redundant_closure_for_method_calls = "warn"
semicolon_if_nothing_returned = "warn"
str_to_string = "warn"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unreachable_pub = "deny"
unsafe_code = "deny"