Harry Fei ddc03dc0c4
Merge pull request #42 from marier-nico/patch-1
Import std::fs with the regex feature
2021-07-31 14:18:32 +08:00
2021-07-29 20:49:42 +08:00
2015-10-06 19:24:01 +08:00
2021-03-17 11:16:28 -06:00

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.

Description
No description provided
Readme 222 KiB
Languages
Rust 100%