- Remove unused filetypes.rs and walk.rs modules

- Introduce `index.rs` for file indexing using SQLite
- Expand configuration options in `config.rs`, including `excluded_files`
- Update dependencies in `Cargo.toml` to include SQLite, hashing, and regex libraries
This commit is contained in:
elipeter 2025-06-16 23:47:50 +02:00
parent 646293ed72
commit ada7835efa
11 changed files with 551 additions and 766 deletions

View file

@ -1,6 +1,8 @@
mod cli;
mod commands;
mod utils;
mod walk;
mod index;
use crate::utils::Config;
use cli::Cli;
@ -30,9 +32,9 @@ fn init_tracing() {
// .json();
Registry::default()
.with(EnvFilter::from_default_env()) // obey RUST_LOG
.with(EnvFilter::from_default_env())
.with(fmt_layer)
.init(); // install as the global subscriber
.init();
}
fn main() -> Result<(), Box<dyn std::error::Error>> {