Skip to main content

bones_search/
lib.rs

1#![forbid(unsafe_code)]
2//! bones-search library.
3//!
4//! # Conventions
5//!
6//! - **Errors**: Use `anyhow::Result` for return types.
7//! - **Logging**: Use `tracing` macros (`info!`, `warn!`, `error!`, `debug!`, `trace!`).
8
9pub mod duplicates;
10pub mod fusion;
11pub mod semantic;
12pub mod structural;
13
14pub use duplicates::{find_duplicates, find_duplicates_with_model};
15
16use tracing::{info, instrument};
17
18#[instrument]
19pub fn init() {
20    info!("bones-search initialized");
21}
22
23#[cfg(test)]
24mod tests {
25    #[test]
26    fn it_works() {
27        assert!(true);
28    }
29}