vecboost 0.3.0-rc.1

High-performance embedding vector service written in Rust
// Copyright (c) 2025-2026 Kirky.X🌠
// SPDX-License-Identifier: Apache-2.0

pub mod constants;
pub mod hash;
pub mod hf_hub;
pub mod validator;
pub mod vector;
pub(crate) mod vector_simd;
pub mod vquant;

pub use constants::{
    DEFAULT_CHUNK_SIZE, DEFAULT_OVERLAP_RATIO, DEFAULT_TOP_K, MAX_BATCH_SIZE,
    MAX_CONCURRENT_REQUESTS, MAX_FILE_SIZE_BYTES, MAX_FILE_SIZE_MB, MAX_SEARCH_RESULTS,
    MAX_TEXT_LENGTH, MAX_TOP_K, MIN_CHUNK_SIZE_RATIO, MIN_TEXT_LENGTH,
};
pub use validator::{
    FileValidator, InputValidator, PathValidator, TextValidator, ValidationConfig,
};
pub use vector::{
    AggregationMode, SimilarityMetric, calculate_similarity, calculate_similarity_batch,
    cosine_similarity, dot_product, euclidean_distance, manhattan_distance, normalize_l2,
    truncate_vector, validate_dimension,
};

#[cfg(test)]
pub mod test_env_lock;