Skip to main content

ddb_core/
lib.rs

1//! DDB - A serviceless SQL interface for flat files
2//!
3//! DDB provides SQL-like querying capabilities for delimited text files
4//! with low memory footprint and high performance.
5
6pub mod error;
7pub mod lexer;
8pub mod parser;
9pub mod config;
10pub mod file_io;
11pub mod engine;
12pub mod methods;
13pub mod functions;
14pub mod output;
15
16#[cfg(feature = "mcp")]
17pub mod mcp;
18
19pub use error::{DdbError, Result};
20
21/// Version information
22pub const VERSION: &str = env!("CARGO_PKG_VERSION");
23
24#[cfg(test)]
25mod tests {
26    use super::*;
27
28    #[test]
29    fn test_version() {
30        assert!(!VERSION.is_empty());
31    }
32}