-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCargo.toml
More file actions
26 lines (21 loc) · 931 Bytes
/
Copy pathCargo.toml
File metadata and controls
26 lines (21 loc) · 931 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
25
26
[package]
name = "thread-amount"
version = "0.3.0"
edition = "2024"
description = "Get the amount of threads in the current process"
keywords = ["thread", "amount", "process", "number", "current"]
categories = ["os", "os::windows-apis", "os::unix-apis"]
repository = "https://github.com/jzeuzs/thread-amount"
documentation = "https://docs.rs/thread-amount"
authors = ["j3z <mail@j3z.dev>"]
readme = "README.md"
license = "MIT"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
[target.'cfg(windows)'.dependencies.windows-sys]
version = "0.61.2"
features = ["Win32_Foundation", "Win32_System_Threading", "Win32_System_Diagnostics_ToolHelp"]
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies]
mach2 = "0.6.0"
[target.'cfg(any(target_os = "freebsd", target_os = "linux", target_os = "openbsd", target_os = "netbsd"))'.dependencies]
libc = "0.2"