Rust_Search
Rust_Search copied to clipboard
Blazingly fast file search library built in Rust
I want to use variables outside the scope of the closure inside custom_function(|d: DirEntry| { //code }) I am new to rust so please forgive me if I make a...
This would help performance when using a high `depth` value and knowing that desired results are not in directories {...}. For example, `node_modules` (which often have deeply nested structures with...
Currently if you apply filters to search it will ignore everything inside a directory that does not match a filter. So if you, for example. want to recursively find all...
Why so different speed for some targets? For x86_64-unknown-linux-gnu ``` ./target/release/walk Time elapsed: 1.022172369s Found 11 files ``` and x7 slow for x86_64-unknown-linux-musl ``` ./target/x86_64-unknown-linux-musl/release/walk Time elapsed: 7.560947213s Found 11...
This is a cool library. I want to using this library in my c++ project, but I cannot find any example. I know I can use rust cxx to embed...
I am very impressed with the simplicity and speed of your solution! Are you planning to abandon the use of String as a return value in the future? On Linux,...
error[E0432]: unresolved import `rust_search::FileType` --> src/main.rs:3:5 | 3 | use rust_search::FileType; | ^^^^^^^^^^^^^^^^^^^^^ no `FileType` in the root | help: consider importing this struct instead | 3 | use std::fs::FileType;...
### Question: Should we? I'm not sure about this... Suggestions are open
`src/search.rs`, line 82: ```rs impl Search { ... pub(crate) fn new( ... ) -> Self { let regex_search_input = utils::build_regex_search_input(search_input, file_ext, strict, ignore_case); let mut walker = WalkBuilder::new(search_location); walker .hidden(!with_hidden)...