[package]
name = "hurl"
version = "6.0.0"
authors = ["Fabrice Reix <fabrice.reix@orange.com>", "Jean-Christophe Amiel <jeanchristophe.amiel@orange.com>", "Filipe Pinto <filipe.pinto@orange.com>"]
edition = "2021"
license = "Apache-2.0"
description = "Hurl, run and test HTTP requests"
documentation = "https://hurl.dev"
homepage = "https://hurl.dev"
repository = "https://github.com/Orange-OpenSource/hurl"
rust-version = "1.82.0"

[lib]
name = "hurl"

[features]
# Re-export of curl/static-ssl: use a bundled OpenSSL version and statically link to it. Only applies on platforms that
# use OpenSSL
static-openssl = ["curl/static-ssl", "curl-sys/static-ssl"]

[dependencies]
base64 = "0.22.1"
brotli = "7.0.0"
chrono = { version = "0.4.38", default-features = false, features = ["clock"] }
clap = { version = "4.5.21", features = ["cargo", "string", "wrap_help"] }
curl = "0.4.47"
curl-sys = "0.4.78"
encoding = "0.2.33"
glob = "0.3.1"
hex = "0.4.3"
hex-literal = "0.4.1"
hurl_core = { version = "6.0.0", path = "../hurl_core" }
libflate = "2.1.0"
libxml = "0.3.3"
md5 = "0.7.0"
percent-encoding = "2.3.1"
regex = "1.11.1"
serde = { version = "1.0.215", features = ["derive"] }
serde_json = { version = "1.0.133", features = ["arbitrary_precision"] }
sha2 = "0.10.8"
url = "2.5.4"
xml-rs = { version = "0.8.23" }
lazy_static = "1.5.0"
# uuid features: lets you generate random UUIDs and use a faster (but still sufficiently random) RNG
uuid = { version = "1.11.0", features = ["v4" , "fast-rng"] }
similar = "2.6.0"
terminal_size = "0.4.1"

[target.'cfg(unix)'.dependencies]
termion = "4.0.3"

[target.'cfg(windows)'.build-dependencies]
winres = "0.1.12"

[build-dependencies]
cc = "1.2.2"

[lints]
workspace = true
