liblevenshtein 0.9.1

Levenshtein/Universal Automata for approximate string matching using various dictionary backends
Documentation
//! Shared command logic for CLI and REPL
//!
//! This module contains the core command execution logic that is shared
//! between the CLI and REPL interfaces. By centralizing this logic, we:
//!
//! - Eliminate code duplication (~800 lines)
//! - Ensure consistent behavior between CLI and REPL
//! - Make testing easier (test once, works everywhere)
//! - Simplify maintenance (change once, applies everywhere)

pub mod core;
pub mod handlers;

// Re-export commonly used types
pub use core::{CommandResult, IoOp, ModifyOp, QueryParams};

#[cfg(feature = "cli")]
pub use core::{DeserializeParams, DeserializeResult, DictInfo, SerializeParams, SerializeResult};

// Re-export handlers for convenience
pub use handlers::execute_query;

#[cfg(feature = "cli")]
pub use handlers::{execute_deserialize, execute_serialize, get_dict_info};