[LSC] Add LOCAL_LICENSE_KINDS to external/rust/crates/which

Added SPDX-license-identifier-MIT to:
  Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all

Exempt-From-Owner-Approval: janitorial work
Change-Id: Id594f41b3d0ba0b73714b2a3e9d7ae24d995a60d
1 file changed
tree: c28df8e64353eac04ccc92f4e1db45f0bda0164f
  1. src/
  2. tests/
  3. .cargo_vcs_info.json
  4. .gitignore
  5. .travis.yml
  6. Android.bp
  7. appveyor.yml
  8. Cargo.toml
  9. Cargo.toml.orig
  10. LICENSE.txt
  11. METADATA
  12. MODULE_LICENSE_MIT
  13. OWNERS
  14. README.md
  15. TEST_MAPPING
README.md

Travis Build Status Appveyor Build status

which

A Rust equivalent of Unix command “which”. Locate installed executable in cross platforms.

Support platforms

  • Linux
  • Windows
  • macOS

Example

To find which rustc exectable binary is using.

use which::which;

let result = which::which("rustc").unwrap();
assert_eq!(result, PathBuf::from("/usr/bin/rustc"));

Documentation

The documentation is available online.