[package]
name = "affinity"
description = "Provides a consistent way to set core affinity for currently running threads and processes"
version = "0.1.2"
authors = ["ElasT0ny <elast0ny00@gmail.com>"]
edition = "2018"
license = "MIT OR Apache-2.0"
readme = "README.md"
documentation = "https://docs.rs/affinity"
repository = "https://github.com/elast0ny/affinity-rs"
keywords = ["affinity", "cpu", "core", "thread", "process"]
categories = ["api-bindings","os"]
[dependencies]
cfg-if = "1"
num_cpus = "1"
[target.'cfg(any(target_os = "linux", target_os = "macos"))'.dependencies]
libc = "0.*"
errno = "0.*"