libdd-common 2.0.0

Shared utilities for Datadog libraries including HTTP/HTTPS connectors, container entity detection, tag validation, rate limiting, and Unix/Windows platform helpers
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 = "2021"
rust-version = "1.84.1"
name = "libdd-common"
version = "2.0.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Shared utilities for Datadog libraries including HTTP/HTTPS connectors, container entity detection, tag validation, rate limiting, and Unix/Windows platform helpers"
homepage = "https://github.com/DataDog/libdatadog/tree/main/datadog-common"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/DataDog/libdatadog/tree/main/datadog-common"

[lib]
name = "libdd_common"
crate-type = ["lib"]
path = "src/lib.rs"
bench = false

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

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

[dependencies.anyhow]
version = "1.0"

[dependencies.bytes]
version = "1.4"

[dependencies.cc]
version = "1.1.31"

[dependencies.const_format]
version = "0.2.34"

[dependencies.futures]
version = "0.3"

[dependencies.futures-core]
version = "0.3.0"
default-features = false

[dependencies.futures-util]
version = "0.3.0"
default-features = false

[dependencies.hex]
version = "0.4"

[dependencies.http]
version = "1.1"

[dependencies.http-body]
version = "1.0"

[dependencies.http-body-util]
version = "0.1"

[dependencies.httparse]
version = "1.9"
optional = true

[dependencies.hyper]
version = "1.6"
features = [
    "http1",
    "client",
]
default-features = false

[dependencies.hyper-util]
version = "0.1.10"
features = [
    "http1",
    "client",
    "client-legacy",
]

[dependencies.libc]
version = "0.2"

[dependencies.mime]
version = "0.3.16"
optional = true

[dependencies.multer]
version = "3.1"
optional = true

[dependencies.nix]
version = "0.29"
features = ["process"]

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

[dependencies.rand]
version = "0.8"
optional = true

[dependencies.regex]
version = "1.5"

[dependencies.reqwest]
version = "0.13"
features = [
    "rustls",
    "hickory-dns",
]
optional = true
default-features = false

[dependencies.rustls-native-certs]
version = "0.8.1"
optional = true

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

[dependencies.static_assertions]
version = "1.1.0"

[dependencies.thiserror]
version = "1.0"

[dependencies.tokio]
version = "1.23"
features = [
    "rt",
    "macros",
    "net",
    "io-util",
    "fs",
]

[dependencies.tokio-rustls]
version = "0.26"
optional = true
default-features = false

[dependencies.tower-service]
version = "0.3"

[dev-dependencies.bytes]
version = "1.4"

[dev-dependencies.httparse]
version = "1.9"

[dev-dependencies.indexmap]
version = "2.11"

[dev-dependencies.maplit]
version = "1.0"

[dev-dependencies.mime]
version = "0.3.16"

[dev-dependencies.multer]
version = "3.1"

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

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

[dev-dependencies.tokio]
version = "1.23"
features = [
    "rt",
    "macros",
    "time",
]

[features]
cgroup_testing = []
default = ["https"]
fips = [
    "https",
    "hyper-rustls/fips",
]
https = [
    "tokio-rustls",
    "rustls",
    "hyper-rustls",
    "rustls-native-certs",
]
reqwest = [
    "dep:reqwest",
    "test-utils",
]
test-utils = [
    "dep:httparse",
    "dep:rand",
    "dep:mime",
    "dep:multer",
]
use_webpki_roots = ["hyper-rustls/webpki-roots"]

[target."cfg(not(unix))".dependencies.hyper-rustls]
version = "0.27"
features = [
    "native-tokio",
    "http1",
    "tls12",
    "ring",
]
optional = true
default-features = false

[target."cfg(not(unix))".dependencies.rustls]
version = "0.23"
features = ["ring"]
optional = true
default-features = false

[target."cfg(unix)".dependencies.hyper-rustls]
version = "0.27"
features = [
    "native-tokio",
    "http1",
    "tls12",
    "aws-lc-rs",
]
optional = true
default-features = false

[target."cfg(unix)".dependencies.rustls]
version = "0.23"
features = ["aws-lc-rs"]
optional = true
default-features = false

[target."cfg(windows)".dependencies.windows-sys]
version = "0.52"
features = [
    "Win32_Foundation",
    "Win32_System_Diagnostics_ToolHelp",
    "Win32_System_Performance",
    "Win32_System_Threading",
]

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(coverage)"]