xx 2.5.0

A collection of useful Rust macros and small functions.
Documentation
# 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 = "2024"
rust-version = "1.88"
name = "xx"
version = "2.5.0"
authors = ["Jeff Dickey (@jdx)"]
build = false
include = [
    "/src",
    "/CHANGELOG.md",
    "/README.md",
    "/LICENSE",
    "/Cargo.toml",
    "/Cargo.lock",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A collection of useful Rust macros and small functions."
documentation = "https://docs.rs/xx"
readme = "README.md"
license = "MIT"
repository = "https://github.com/jdx/xx"

[features]
archive = [
    "archive_untar_bzip2",
    "archive_untar_gzip",
    "archive_untar_xz",
    "archive_unzip",
    "archive_ungz",
    "archive_tar_bzip2",
    "archive_tar_gzip",
    "archive_tar_xz",
    "archive_zip",
    "archive_gz",
]
archive_gz = ["flate2"]
archive_tar_bzip2 = [
    "tar",
    "bzip2",
]
archive_tar_gzip = [
    "tar",
    "flate2",
]
archive_tar_xz = [
    "tar",
    "xz2",
]
archive_ungz = ["flate2"]
archive_untar_bzip2 = [
    "tar",
    "bzip2",
]
archive_untar_gzip = [
    "tar",
    "flate2",
]
archive_untar_xz = [
    "tar",
    "xz2",
]
archive_unzip = ["zip"]
archive_zip = ["zip"]
cache = [
    "hash",
    "serde",
    "serde_json",
]
fslock = [
    "dep:fslock",
    "hash",
]
glob = ["globwalk"]
hash = ["sha2"]
hash_blake3 = ["blake3"]
hash_md5 = ["md-5"]
hash_sha1 = ["sha1"]
http = [
    "reqwest",
    "tokio",
    "reqwest/gzip",
    "reqwest/json",
    "serde",
    "serde_json",
    "serde_urlencoded",
]
native-tls = [
    "reqwest/native-tls",
    "reqwest/default-tls",
]
rustls = ["reqwest/rustls"]
rustls-native-roots = ["reqwest/rustls"]

[lib]
name = "xx"
path = "src/lib.rs"

[dependencies.blake3]
version = "1"
optional = true

[dependencies.bzip2]
version = "0.6"
optional = true

[dependencies.duct]
version = "1"

[dependencies.filetime]
version = "0.2"

[dependencies.flate2]
version = "1"
optional = true

[dependencies.fslock]
version = "0.2"
optional = true

[dependencies.globwalk]
version = "0.9"
optional = true

[dependencies.homedir]
version = "0.3"

[dependencies.log]
version = "0.4"

[dependencies.md-5]
version = "0.10"
optional = true

[dependencies.miette]
version = "7"

[dependencies.rand]
version = "0.9"

[dependencies.regex]
version = "1"

[dependencies.reqwest]
version = "0.13"
optional = true
default-features = false

[dependencies.serde]
version = "1"
features = ["derive"]
optional = true

[dependencies.serde_json]
version = "1"
optional = true

[dependencies.serde_urlencoded]
version = "0.7"
optional = true

[dependencies.sha1]
version = "0.10"
optional = true

[dependencies.sha2]
version = "0.10"
optional = true

[dependencies.strsim]
version = "0.11"

[dependencies.tar]
version = "0.4"
optional = true

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["full"]
optional = true

[dependencies.xz2]
version = "0.1"
features = ["static"]
optional = true

[dependencies.zip]
version = "7"
optional = true

[dev-dependencies.env_logger]
version = "0.11"

[dev-dependencies.insta]
version = "1"

[dev-dependencies.once_cell]
version = "1"

[dev-dependencies.pretty_assertions]
version = "1"

[dev-dependencies.serde_json]
version = "1"

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.test-log]
version = "0.2"

[dev-dependencies.tokio]
version = "1"
features = ["full"]

[dev-dependencies.wiremock]
version = "0.6"