# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.74.0" name = "xh" version = "0.23.0" authors = ["ducaale "] exclude = [ "assets/xhs", "assets/xhs.1.gz", ] description = "Friendly and fast tool for sending HTTP requests" homepage = "https://github.com/ducaale/xh" documentation = "https://github.com/ducaale/xh" readme = "README.md" keywords = ["http"] categories = ["command-line-utilities"] license = "MIT" repository = "https://github.com/ducaale/xh" [package.metadata.cross.build.env] passthrough = ["CARGO_PROFILE_RELEASE_LTO"] [package.metadata.deb] assets = [ [ "target/release/xh", "usr/bin/", "755", ], [ "assets/xhs", "usr/bin/", "777", ], [ "CHANGELOG.md", "usr/share/doc/xh/NEWS", "644", ], [ "README.md", "usr/share/doc/xh/README", "644", ], [ "doc/xh.1", "usr/share/man/man1/xh.1", "644", ], [ "assets/xhs.1.gz", "usr/share/man/man1/xhs.1.gz", "777", ], [ "completions/xh.bash", "usr/share/bash-completion/completions/xh", "644", ], [ "completions/xh.fish", "usr/share/fish/vendor_completions.d/xh.fish", "644", ], [ "completions/_xh", "usr/share/zsh/vendor-completions/", "644", ], ] extended-description = """ xh is a friendly and fast tool for sending HTTP requests. It reimplements as much as possible of HTTPie's excellent design, with a focus on improved performance. """ features = [] license-file = "LICENSE" preserve-symlinks = true section = "web" [dependencies.anyhow] version = "1.0.38" [dependencies.brotli] version = "3.3.0" features = ["std"] default-features = false [dependencies.chardetng] version = "0.1.15" [dependencies.clap] version = "4.4" features = [ "derive", "wrap_help", "string", ] [dependencies.clap_complete] version = "4.4" optional = true [dependencies.cookie_store] version = "0.20.0" features = ["preserve_order"] [dependencies.digest_auth] version = "0.3.0" [dependencies.dirs] version = "5.0" [dependencies.encoding_rs] version = "0.8.28" [dependencies.encoding_rs_io] version = "0.1.7" [dependencies.env_logger] version = "0.11.3" features = [ "color", "auto-color", "humantime", ] default-features = false [dependencies.flate2] version = "1.0.22" [dependencies.hyper] version = "1.2" default-features = false [dependencies.indicatif] version = "0.17" [dependencies.jsonxf] version = "1.1.0" [dependencies.log] version = "0.4.21" [dependencies.memchr] version = "2.4.1" [dependencies.mime] version = "0.3.16" [dependencies.mime2ext] version = "0.1.0" [dependencies.mime_guess] version = "2.0" [dependencies.once_cell] version = "1.8.0" [dependencies.os_display] version = "0.1.3" [dependencies.pem] version = "3.0" [dependencies.regex-lite] version = "0.1.5" [dependencies.reqwest] version = "0.12.3" features = [ "json", "multipart", "blocking", "socks", "cookies", "http2", "macos-system-configuration", ] default-features = false [dependencies.roff] version = "0.2.1" optional = true [dependencies.rpassword] version = "7.2.0" [dependencies.ruzstd] version = "0.7" features = ["std"] default-features = false [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde-transcode] version = "1.1.1" [dependencies.serde_json] version = "1.0" features = ["preserve_order"] [dependencies.serde_urlencoded] version = "0.7.0" [dependencies.supports-hyperlinks] version = "3.0.0" [dependencies.syntect] version = "5.1" features = [ "parsing", "dump-load", "regex-onig", ] default-features = false [dependencies.termcolor] version = "1.1.2" [dependencies.time] version = "0.3.16" [dependencies.unicode-width] version = "0.1.9" [dependencies.url] version = "2.2.2" [dev-dependencies.assert_cmd] version = "2.0.8" [dev-dependencies.form_urlencoded] version = "1.0.1" [dev-dependencies.http-body-util] version = "0.1.1" [dev-dependencies.hyper] version = "1.2" features = ["server"] [dev-dependencies.hyper-util] version = "0.1.3" features = ["server"] [dev-dependencies.indoc] version = "2.0" [dev-dependencies.predicates] version = "3.0" [dev-dependencies.rand] version = "0.8.3" [dev-dependencies.tempfile] version = "3.2.0" [dev-dependencies.tokio] version = "1" features = [ "rt", "sync", "time", ] [build-dependencies.syntect] version = "5.1" features = [ "dump-create", "plist-load", "regex-onig", "yaml-load", ] default-features = false [features] default = [ "online-tests", "rustls", "network-interface", ] ipv6-tests = [] man-completion-gen = [ "clap_complete", "roff", ] native-tls = [ "reqwest/native-tls", "reqwest/native-tls-alpn", ] network-interface = ["dep:network-interface"] online-tests = [] rustls = [ "reqwest/rustls-tls", "reqwest/rustls-tls-webpki-roots", "reqwest/rustls-tls-native-roots", ] [target."cfg(not(any(target_os = \"android\", target_os = \"fuchsia\", target_os = \"linux\")))".dependencies.network-interface] version = "1.0.0" optional = true