23 unstable releases (4 breaking)

0.5.0 Aug 10, 2024
0.4.2 May 29, 2024
0.4.1 Feb 23, 2024
0.3.1 Dec 27, 2023
0.2.0 Oct 22, 2023

#312 in Memory management

Download history 248/week @ 2024-08-25 386/week @ 2024-09-01 340/week @ 2024-09-08 248/week @ 2024-09-15 617/week @ 2024-09-22 168/week @ 2024-09-29 428/week @ 2024-10-06 255/week @ 2024-10-13 413/week @ 2024-10-20 485/week @ 2024-10-27 531/week @ 2024-11-03 564/week @ 2024-11-10 402/week @ 2024-11-17 570/week @ 2024-11-24 509/week @ 2024-12-01 562/week @ 2024-12-08

2,053 downloads per month
Used in 12 crates (2 directly)

MIT license

160KB
2K SLoC

hwlocality-sys: The low-level bindings below hwlocality

MIT licensed On crates.io On docs.rs Continuous Integration CII Best Practices Summary Requires rustc 1.75.0+

This crate contains the low-level unsafe Rust -> C FFI bindings to hwloc, that are used to implement the safe hwlocality bindings.

Depending on your needs, you can either link to a libhwloc that is pre-installed on your computer or have hwlocality build its own copy libhwloc internally. Please read the "Prerequisites" section of the hwlocality README for more information about these two options.

Like any C API, the hwlocality-sys low-level bindings are highly unsafe to use, and it is advised that you use the safe hwlocality bindings instead whenever possible. If you encounter any issue with the safe bindings that prevents you from using them and forces you to use the unsafe C API directly, please report them in the issue tracker so we get them fixed.

Dependencies

~0–7.5MB
~61K SLoC