1#![deny(unsafe_code)]
3
4pub const CRATE_ID: &str = "yscv-recognize";
5
6#[path = "error.rs"]
7mod error;
8#[path = "recognizer.rs"]
9mod recognizer;
10#[path = "similarity.rs"]
11mod similarity;
12#[path = "snapshot.rs"]
13mod snapshot;
14#[path = "types.rs"]
15mod types;
16#[path = "validate.rs"]
17mod validate;
18#[path = "vp_tree.rs"]
19pub mod vp_tree;
20
21pub use error::RecognizeError;
22pub use recognizer::Recognizer;
23pub use similarity::{cosine_similarity, cosine_similarity_slice};
24pub use snapshot::{IdentitySnapshot, RecognizerSnapshot};
25pub use types::{IdentityEmbedding, Recognition};
26pub use vp_tree::VpTree;
27
28#[path = "tests.rs"]
29#[cfg(test)]
30mod tests;