mirror of
https://github.com/qdrant/qdrant.git
synced 2026-10-29 09:04:50 +08:00
* Bump edge packages (Python + Rust + FFI) to 0.9.0 Minor version bump of the edge packages from `0.8.0` to `0.9.0`. - `lib/edge/python/Cargo.toml`: `qdrant-edge-py` 0.8.0 -> 0.9.0 - `lib/edge/publish/amalgamate.py`: `VERSION` constant bumped (`qdrant-edge` on crates.io) - `lib/edge/ffi/Cargo.toml`: `qdrant-edge-ffi` bumped, kept in sync with the other two as its header comment requires - `lib/edge/publish/ast-grep-rules.yaml`: inline package version comment updated - `Cargo.lock`: regenerated version entries Follows the same pattern as #10098. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * Add Turbo8 and Turbo16 to the Python stub's VectorStorageDatatype Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * Build pp80 Linux PyPy wheels alongside pp73 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
This dir contains a Justfile with recipes to build/check/run examples for edge packages. Install https://github.com/casey/just to use it.
Rust Qdrant Edge package
Rust Qdrant Edge workspace lives in the publish directory. It's a separate workspace, not tied to the main workspace.
The qdrant-edge package is autogenerated by the amalgamate.py script and placed in the ./publish/qdrant-edge directory (gitignored).
If you need to make changes in the qdrant-edge package, edit the original packages in this repo (/lib in the repo root).
just rs-examples
# Or, manually:
./amalgamate.py
cargo check -p examples
cargo run -p examples --bin demo
cargo run -p examples --bin …
(see full binary list in publish/examples/src/bin)
How to publish Rust Package to crates.io
- Update the
VERSIONin publish/amalgamate.py. - Run Qdrant Edge Rust Release workflow.
Python Qdrant Edge package
It's in the python directory. It's part of the main workspace, unlike the Rust package.
just py-build
just py-examples
Or, manually:
# Setup environment
cd lib/edge/python
python -m venv .venv
source .venv/bin/activate
pip install --user maturin
# Build and install the package:
cd lib/edge/python
maturin develop --no-default-features
# Run example:
python examples/demo.py