many_cpus 0.2.2

Efficiently schedule work and inspect the hardware environment on many-processor systems
Documentation
[[bench]]
harness = false
name = "hardware_info"
path = "benches/hardware_info.rs"

[[bench]]
harness = false
name = "hardware_tracker"
path = "benches/hardware_tracker.rs"

[[bench]]
harness = false
name = "processor_set_builder"
path = "benches/processor_set_builder.rs"

[dependencies.derive_more]
default-features = false
features = ["as_ref", "display"]
version = "2.0"

[dependencies.foldhash]
default-features = false
features = ["std"]
version = "0.1"

[dependencies.folo_ffi]
version = "0.1.1"

[dependencies.itertools]
default-features = false
features = ["use_std"]
version = "0.14"

[dependencies.negative-impl]
default-features = false
version = "0.1"

[dependencies.nonempty]
default-features = false
version = "0.11"

[dependencies.rand]
default-features = false
features = ["std", "thread_rng"]
version = "0.9"

[dev-dependencies.cpulist]
version = "0.1.1"

[dev-dependencies.criterion]
default-features = false
version = "0.5"

[dev-dependencies.mockall]
default-features = false
version = "0.13"

[dev-dependencies.mutants]
default-features = false
version = "0.0.3"

[dev-dependencies.scopeguard]
default-features = false
version = "1.2"

[dev-dependencies.static_assertions]
default-features = false
version = "1"

[[example]]
name = "get_all_processors"
path = "examples/get_all_processors.rs"

[[example]]
name = "obey_job_limits_windows"
path = "examples/obey_job_limits_windows.rs"

[[example]]
name = "observe_processor"
path = "examples/observe_processor.rs"

[[example]]
name = "spawn_on_all_processors"
path = "examples/spawn_on_all_processors.rs"

[[example]]
name = "spawn_on_any_processors"
path = "examples/spawn_on_any_processors.rs"

[[example]]
name = "spawn_on_inherited_processors"
path = "examples/spawn_on_inherited_processors.rs"

[[example]]
name = "spawn_on_selected_processors"
path = "examples/spawn_on_selected_processors.rs"

[features]
default = []

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

[package]
authors = ["Sander Saares <sander@saares.eu>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "Efficiently schedule work and inspect the hardware environment on many-processor systems"
edition = "2024"
license = "MIT"
name = "many_cpus"
publish = true
readme = "README.md"
repository = "https://github.com/folo-rs/folo"
rust-version = "1.85"
version = "0.2.2"

[target."cfg(unix)".dependencies.cpulist]
version = "0.1.1"

[target."cfg(unix)".dependencies.libc]
default-features = false
version = "0.2"

[target."cfg(windows)".dependencies.windows]
default-features = false
features = ["std", "Win32_System_JobObjects", "Win32_System_Kernel", "Win32_System_SystemInformation", "Win32_System_Threading"]
version = "0.61"

[target."cfg(windows)".dev-dependencies.windows]
default-features = false
features = ["std", "Win32_Security"]
version = "0.61"