everything-sdk 0.0.6

An ergonomic Everything(voidtools) SDK wrapper in Rust. (Supports async and raw sdk functions)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Search for the first 5 "foo" results by Everything SDK IPC.

fn main() {
    // Please make sure the Everything.exe is running in the background.
    for x in everything_sdk::global()
        .lock()
        .unwrap()
        .searcher()
        .set_search("foo")
        .set_max(5)
        .query()
    {
        println!("{}", x.filepath().unwrap().display());
    }
}