aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml.orig
diff options
context:
space:
mode:
authorJoel Galenson <jgalenson@google.com>2020-10-23 08:06:44 -0700
committerJoel Galenson <jgalenson@google.com>2020-10-23 08:07:58 -0700
commit006226b7740717bcd8be00db4eb2f22c8570a401 (patch)
treeece8f40720c179f3fdbd12617d6123e67f88cfda /Cargo.toml.orig
parentab023d542c08f58d39189488b91cd7f9438969fb (diff)
downloadnum_cpus-006226b7740717bcd8be00db4eb2f22c8570a401.tar.gz
Import num_cpus-1.13.0
Test: None Change-Id: If454efdeb9d94ce92d67cdc7b7b6722662dd017e
Diffstat (limited to 'Cargo.toml.orig')
-rw-r--r--Cargo.toml.orig18
1 files changed, 18 insertions, 0 deletions
diff --git a/Cargo.toml.orig b/Cargo.toml.orig
new file mode 100644
index 0000000..a6e9434
--- /dev/null
+++ b/Cargo.toml.orig
@@ -0,0 +1,18 @@
+[package]
+
+name = "num_cpus"
+version = "1.13.0" # don't forget to update html_root_url
+description = "Get the number of CPUs on a machine."
+authors = ["Sean McArthur <sean@seanmonstar.com>"]
+license = "MIT/Apache-2.0"
+repository = "https://github.com/seanmonstar/num_cpus"
+documentation = "https://docs.rs/num_cpus"
+keywords = ["cpu", "cpus", "cores"]
+categories = ["hardware-support"]
+readme = "README.md"
+
+[dependencies]
+libc = "0.2.26"
+
+[target.'cfg(all(any(target_arch = "x86_64", target_arch = "aarch64"), target_os = "hermit"))'.dependencies]
+hermit-abi = "0.1.3"