# 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.75.0"
name = "hwlocality-sys"
version = "0.6.2"
authors = [
    "Hadrien G. <knights_of_ni@gmx.com>",
    "Joseph Hirschfeld <j@ibj.io>",
    "Michael Nitschinger <michael@nitschinger.at>",
]
build = "build.rs"
links = "hwloc"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Low-level bindings for the hwloc hardware locality library"
readme = "README.md"
keywords = [
    "hwloc",
    "locality",
    "cache",
    "numa",
    "hardware",
]
categories = [
    "concurrency",
    "external-ffi-bindings",
    "hardware-support",
    "memory-management",
    "os",
]
license = "MIT"
repository = "https://github.com/HadrienG2/hwlocality"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
hwloc-2_0_4 = []
hwloc-2_10_0 = ["hwloc-2_8_0"]
hwloc-2_11_0 = ["hwloc-2_10_0"]
hwloc-2_12_0 = ["hwloc-2_11_0"]
hwloc-2_12_1 = ["hwloc-2_12_0"]
hwloc-2_1_0 = ["hwloc-2_0_4"]
hwloc-2_2_0 = ["hwloc-2_1_0"]
hwloc-2_3_0 = ["hwloc-2_2_0"]
hwloc-2_4_0 = ["hwloc-2_3_0"]
hwloc-2_5_0 = ["hwloc-2_4_0"]
hwloc-2_8_0 = ["hwloc-2_5_0"]
hwloc-3_0_0 = ["hwloc-2_12_1"]
hwloc-latest = ["hwloc-2_12_1"]
proptest = []
vendored = [
    "dep:autotools",
    "dep:cmake",
    "dep:flate2",
    "dep:sha3",
    "dep:tar",
    "dep:ureq",
]
vendored-extra = ["vendored"]

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

[dev-dependencies.static_assertions]
version = "1.1"

[build-dependencies.autotools]
version = "0.2"
optional = true

[build-dependencies.cmake]
version = "0.1.54"
optional = true

[build-dependencies.flate2]
version = "1.1"
optional = true

[build-dependencies.pkg-config]
version = "0.3.32"

[build-dependencies.sha3]
version = "0.10.8"
optional = true

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

[build-dependencies.ureq]
version = "3.1"
optional = true

[target."cfg(not(windows))".dependencies.libc]
version = "0.2"

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