#![warn(clippy::pedantic)]
#![allow(clippy::cast_possible_truncation)] #![allow(clippy::cast_possible_wrap)] #![allow(clippy::cast_sign_loss)] #![allow(clippy::module_name_repetitions)] #![allow(clippy::too_many_lines)] #![warn(missing_docs)] #![cfg_attr(test, allow(missing_docs))] #![warn(clippy::semicolon_if_nothing_returned)]
#![warn(clippy::non_ascii_literal)]
#![warn(clippy::unimplemented)]
#![warn(clippy::use_self)]
#![warn(clippy::string_slice)]
#![warn(clippy::clone_on_ref_ptr)]
extern crate llmosafe;
pub mod archive;
pub mod bloom;
pub mod builder;
pub mod cache_policy;
pub mod config;
#[cfg(feature = "notify")]
pub mod daemon;
#[cfg(feature = "notify")]
pub mod daemon_sock;
pub mod decompress;
pub mod error;
pub mod executor;
pub mod format;
#[cfg(feature = "notify")]
pub mod idle;
pub mod neg_cache;
pub mod planner;
pub mod posting;
pub mod posting_cache;
pub mod reader;
pub mod regex_pool;
pub mod scanner;
pub mod string_pool;
pub mod trigram;
pub mod varint;
#[cfg(feature = "notify")]
pub mod watcher;
#[cfg(feature = "notify")]
pub use crate::builder::Builder;
#[cfg(feature = "notify")]
pub use crate::daemon_sock::{
ClientMessage, DaemonClient, DaemonServer, FileChange, FileOp, ServerMessage,
};
#[cfg(feature = "notify")]
pub use crate::format::Beacon;
#[cfg(feature = "notify")]
pub use crate::idle::IdleTracker;
#[cfg(feature = "notify")]
pub use crate::watcher::Watcher;
#[cfg(feature = "notify")]
#[deprecated(since = "0.7.0", note = "use ix::daemon::run instead")]
pub fn run_daemon(path: &std::path::Path) -> crate::error::Result<()> {
crate::daemon::run(path)
}