xet-runtime 1.5.1

Async runtime, configuration, logging, and utility infrastructure for the Hugging Face Xet client tools.
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"
name = "xet-runtime"
version = "1.5.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Async runtime, configuration, logging, and utility infrastructure for the Hugging Face Xet client tools."
homepage = "https://github.com/huggingface/xet-core"
readme = "README.md"
keywords = ["huggingface"]
categories = [
    "artificial-intelligence",
    "asynchronous",
]
license = "Apache-2.0"
repository = "https://github.com/huggingface/xet-core"
resolver = "2"

[features]
elevated_information_level = []
fd-track = []
no-default-cache = []
python = ["dep:pyo3"]
simulation = []
smoke-test = []
strict = []
tokio-console = ["dep:console-subscriber"]

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

[[bin]]
name = "log_test_executable"
path = "tests/bin/log_test_executable.rs"

[[test]]
name = "config_env_test"
path = "tests/config_env_test.rs"

[[test]]
name = "config_values_test"
path = "tests/config_values_test.rs"

[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"

[[test]]
name = "primary_config_test"
path = "tests/primary_config_test.rs"

[[test]]
name = "test_error"
path = "tests/test_error.rs"

[[test]]
name = "test_option"
path = "tests/test_option.rs"

[dependencies.anyhow]
version = "1"

[dependencies.async-trait]
version = "0.1"

[dependencies.bytes]
version = "1.11"

[dependencies.chrono]
version = "0.4"

[dependencies.colored]
version = "3"

[dependencies.console-subscriber]
version = "0.5"
optional = true

[dependencies.const-str]
version = "1.1"

[dependencies.ctor]
version = "0.6"

[dependencies.dirs]
version = "6.0"

[dependencies.futures]
version = "0.3"

[dependencies.git-version]
version = "0.3"

[dependencies.humantime]
version = "2.1"

[dependencies.konst]
version = "0.4"

[dependencies.lazy_static]
version = "1.5"

[dependencies.libc]
version = "0.2"

[dependencies.more-asserts]
version = "0.3"

[dependencies.oneshot]
version = "0.1"

[dependencies.pin-project]
version = "1"

[dependencies.pyo3]
version = "0.26"
features = [
    "abi3-py37",
    "multiple-pymethods",
]
optional = true

[dependencies.rand]
version = "0.9"

[dependencies.reqwest]
version = "0.13.1"
features = [
    "json",
    "stream",
    "system-proxy",
    "socks",
]
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.sysinfo]
version = "0.38"

[dependencies.thiserror]
version = "2.0"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-appender]
version = "0.2"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "json",
    "env-filter",
]

[dev-dependencies.futures-util]
version = "0.3"

[dev-dependencies.rand]
version = "0.9"

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

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

[dev-dependencies.tracing-test]
version = "0.2"
features = ["no-env-filter"]

[target.'cfg(not(target_family = "wasm"))'.dependencies.shellexpand]
version = "3.1"
features = ["path"]

[target.'cfg(not(target_family = "wasm"))'.dependencies.tokio]
version = "1.49"
features = [
    "time",
    "rt",
    "macros",
    "sync",
    "test-util",
    "io-util",
    "rt-multi-thread",
]

[target.'cfg(not(target_family = "wasm"))'.dependencies.tokio-util]
version = "0.7"
features = ["io"]

[target.'cfg(target_family = "wasm")'.dependencies.tokio]
version = "1.49"
features = [
    "sync",
    "macros",
    "io-util",
    "rt",
    "time",
]

[target.'cfg(target_os = "macos")'.dependencies.libc]
version = "0.2"

[target."cfg(unix)".dependencies.whoami]
version = "2"

[target."cfg(windows)".dependencies.winapi]
version = "0.3"
features = [
    "winerror",
    "winnt",
    "handleapi",
    "processthreadsapi",
    "securitybaseapi",
]