mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-24 20:28:06 +02:00
- 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:
parent
646293ed72
commit
ada7835efa
11 changed files with 551 additions and 766 deletions
|
|
@ -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>> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue