vecmindb 0.1.0

High-performance vector database with multiple index algorithms (HNSW, IVF, etc.) and NSGA-II auto-tuning.
# VecminDB Release Guide


This document outlines the steps to release VecminDB to **crates.io** and **PyPI**.

## Prerequisites


- [Rust Toolchain]https://rustup.rs/ (stable)
- [Python 3.8+]https://www.python.org/
- `cargo-release` (optional but recommended): `cargo install cargo-release`
- `maturin`: `pip install maturin`

---

## 1. Release to Crates.io (Core Library)


1.  **Run Tests**: Ensure all tests pass.
    ```bash
    cargo test --all-features

    ```

2.  **Dry Run**: Verify packaging.
    ```bash
    cargo publish --dry-run

    ```

3.  **Publish**:
    ```bash
    cargo publish

    ```
    *Note: You need a valid API token from crates.io configured via `cargo login`.*

---

## 2. Release to PyPI (Python Bindings)


1.  **Navigate to Bindings Directory**:
    ```bash
    cd bindings/python

    ```

2.  **Build Wheels**: Build release wheels for distribution.
    ```bash
    maturin build --release

    ```
    *This will generate wheel files in `target/wheels/` relative to the project root.*

3.  **Publish to PyPI**:
    ```bash
    maturin publish

    ```
    *Note: You need a valid PyPI API token.*

---

## 3. Docker Release


1.  **Authenticate**:
    ```bash
    docker login

    ```

2.  **Build and Push**:
    ```bash
    docker build -t vecmindb/server:latest -t vecmindb/server:0.1.0 .

    docker push vecmindb/server:latest

    docker push vecmindb/server:0.1.0

    ```