Registry / utility / search-path

search-path

JSON →
library0.1.4rscratesunverified

Provides a very simple search path file finder.

# Cargo.toml [dependencies] search_path = "0.1.4"
INSTALL
IMPORT
SIG · SEARCH-PATH
S
search-path
utilityrustv0.1.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SearchPath
use search_path::SearchPath;

Finds a file in a colon-separated search path.

use search_path::SearchPath; let sp = SearchPath::new("/usr/bin:/bin"); if let Some(path) = sp.find("cargo") { println!("Found: {}", path.display()); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.4latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
search-path — cargo add search-path · libregistry