Cargo Features

hwlocality-sys has no features set by default.

[dependencies]
hwlocality-sys = { version = "0.5.0", features = ["hwloc-latest", "hwloc-2_0_4", "hwloc-2_1_0", "hwloc-2_2_0", "hwloc-2_3_0", "hwloc-2_4_0", "hwloc-2_5_0", "hwloc-2_8_0", "hwloc-2_10_0", "hwloc-3_0_0", "vendored", "vendored-extra", "proptest"] }

See hwlocality's main Cargo.toml for detailed feature descriptions

hwloc-latest = hwloc-2_10_0
hwloc-2_0_4 hwloc-2_1_0?

Affects hwlocality-sys::hwloc_group_attr_s.dont_merge

hwloc-2_1_0 hwloc-2_2_0? = hwloc-2_0_4

Affects hwlocality-sys::HWLOC_OBJ_MEMCACHE, hwlocality-sys::HWLOC_OBJ_DIE, hwlocality-sys::HWLOC_TYPE_DEPTH_MEMCACHE, hwlocality-sys::hwloc_topology_components_flag_e, hwlocality-sys::HWLOC_TOPOLOGY_COMPONENTS_FLAG_BLACKLIST, hwlocality-sys::hwloc_topology_discovery_support.disallowed_pu, hwlocality-sys::hwloc_topology_discovery_support.disallowed_numa, hwlocality-sys::HWLOC_DISTANCES_KIND_HETEROGENEOUS_TYPES

hwloc-2_2_0 hwloc-2_3_0? = hwloc-2_1_0
hwloc-2_3_0 hwloc-2_4_0? = hwloc-2_2_0

Affects hwlocality-sys::HWLOC_TOPOLOGY_FLAG_IMPORT_SUPPORT, hwlocality-sys::hwloc_topology_support.misc, hwlocality-sys::hwloc_topology_misc_support

hwloc-2_4_0 hwloc-2_5_0? = hwloc-2_3_0

Affects hwlocality-sys::hwloc_topology_discovery_support.cpukind_efficiency

hwloc-2_5_0 hwloc-2_8_0? = hwloc-2_4_0

Affects hwlocality-sys::HWLOC_TOPOLOGY_FLAG_RESTRICT_TO_CPUBINDING, hwlocality-sys::HWLOC_TOPOLOGY_FLAG_RESTRICT_TO_MEMBINDING, hwlocality-sys::HWLOC_TOPOLOGY_FLAG_DONT_CHANGE_BINDING, hwlocality-sys::hwloc_distances_add_handle_t, hwlocality-sys::hwloc_distances_add_flag_e, hwlocality-sys::HWLOC_DISTANCES_ADD_FLAG_GROUP, hwlocality-sys::HWLOC_DISTANCES_ADD_FLAG_GROUP_INACCURATE

hwloc-2_8_0 hwloc-2_10_0? = hwloc-2_5_0

Affects hwlocality-sys::HWLOC_TOPOLOGY_FLAG_NO_DISTANCES, hwlocality-sys::HWLOC_TOPOLOGY_FLAG_NO_MEMATTRS, hwlocality-sys::HWLOC_TOPOLOGY_FLAG_NO_CPUKINDS

hwloc-2_10_0 hwloc-3_0_0? hwloc-latest? = hwloc-2_8_0
hwloc-3_0_0 = hwloc-2_10_0

Affects hwlocality-sys::HWLOC_OBJ_OSDEV_MEMORY, hwlocality-sys::PCIDomain

vendored build vendored-extra?

Enables attohttpc

Used for vendored builds on all OSes

and autotools

Used for vendored builds targeting OSes other than Windows

and cmake, flate2, hex-literal, sha3, and tar

cmake:

Used for vendored builds targeting Windows

vendored-extra = vendored
proptest

This feature does nothing in -sys and is only here for CI convenience