| 1 |
[package] |
| 2 |
name = "num_threads" |
| 3 |
version = "0.1.7" |
| 4 |
authors = ["Jacob Pratt <[email protected]>"] |
| 5 |
repository = "https://github.com/jhpratt/num_threads" |
| 6 |
categories = ["api-bindings", "hardware-support", "os"] |
| 7 |
license = "MIT OR Apache-2.0" |
| 8 |
description = "A minimal library that determines the number of running threads for the current process." |
| 9 |
include = ["src/**/*", "LICENSE-*"] |
| 10 |
|
| 11 |
[package.metadata.docs.rs] |
| 12 |
all-features = true |
| 13 |
targets = ["x86_64-unknown-linux-gnu"] |
| 14 |
|
| 15 |
[dependencies] |
| 16 |
|
| 17 |
[target.'cfg(any(target_os = "macos", target_os = "ios", target_os = "freebsd"))'.dependencies] |
| 18 |
libc = "0.2.107" |
| 19 |
|
| 20 |
[[test]] |
| 21 |
name = "tests" |
| 22 |
path = "tests.rs" |
| 23 |
harness = false |