-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathCargo.toml
More file actions
24 lines (20 loc) · 734 Bytes
/
Cargo.toml
File metadata and controls
24 lines (20 loc) · 734 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
[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"
#Extra fields for crates.io
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"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
cfg-if = "1"
num_cpus = "1"
[target.'cfg(any(target_os = "linux", target_os = "macos"))'.dependencies]
libc = "0.*"
errno = "0.*"