[Bluetooth apex] Use new apex name am: 10f92cf3a4 am: c3797153e3 am: e6607b320e am: 3ea663c2e7

Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/num_cpus/+/2192259

Change-Id: I96c9fa1c2285220a7496112d036c3642c0e0f955
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
tree: b3e85312d53eae2439e35f16702b1351d2f47387
  1. .github/
  2. ci/
  3. examples/
  4. fixtures/
  5. patches/
  6. src/
  7. .cargo_vcs_info.json
  8. .gitignore
  9. Android.bp
  10. Cargo.lock
  11. Cargo.toml
  12. Cargo.toml.orig
  13. cargo2android.json
  14. CHANGELOG.md
  15. CONTRIBUTING.md
  16. LICENSE-APACHE
  17. LICENSE-MIT
  18. METADATA
  19. MODULE_LICENSE_APACHE2
  20. OWNERS
  21. README.md
  22. TEST_MAPPING
README.md

num_cpus

crates.io Travis CI Status AppVeyor status

Count the number of CPUs on the current machine.

Usage

Add to Cargo.toml:

[dependencies]
num_cpus = "1.0"

In your main.rs or lib.rs:

extern crate num_cpus;

// count logical cores this process could try to use
let num = num_cpus::get();