[package] name = "tux" version = "0.2.2" edition = "2021" description = "Test utilities for unit and integration tests" license = "MIT" repository = "https://github.com/ax-lab/tux" readme = "../README.md" keywords = ["tests", "unit-tests"] categories = ["development-tools::testing"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [lib] path = "src/lib.rs" [features] # The policy is to enable everything except for costly features that are too # specific. # # Not enabled by default: # # - server: specific for web requests, and requires tokio and warp. default = ["diff", "exec", "temp", "testdata", "text"] diff = ["text"] exec = [] server = ["dep:tokio", "dep:warp"] temp = ["dep:path-clean", "dep:tempfile"] testdata = ["diff"] text = [] [dependencies] path-clean = { version = "0.1", optional = true } tempfile = { version = "3", optional = true } tokio = { version = "1", features = ["full"], optional = true } warp = { version = "0.3", optional = true } [dev-dependencies] reqwest = { version = "0.11", features = ["blocking"] } [package.metadata.docs.rs] all-features = true