add num_cpus

This commit is contained in:
2020-05-03 00:35:33 +08:00
parent d46efafbfe
commit 4ac2e99f38
3 changed files with 48 additions and 0 deletions

10
num_cpus/Cargo.toml Normal file
View File

@@ -0,0 +1,10 @@
[package]
name = "num_cpus"
version = "0.1.0"
authors = ["Hatter Jiang <jht5945@gmail.com>"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
num_cpus = "1.13.0"