mirror of
https://github.com/qdrant/qdrant.git
synced 2026-08-05 09:31:05 -05:00
Single edge crate (#8173)
* Fixups of amalgamator
Fix issues that break `qdrant-edge` build process:
- `use … as segment;` - this causes `ast-grep` rules to replace wrong
paths. So, rename to avoid collisions.
- `#[macro_use]` and `extern crate` required be in the top-level
`lib.rs`.
- `format!("…", crate::something::…)` - `ast-grep` can't fix paths
inside macros. Fixed by moving `crate::something::…` out of the macro.
* Add lib/edge/publish workspace and amalgamation script
* Move `lib/edge/examples` into `lib/edge/publish/` workspace
And fix them to use the generated `qdrant-edge` crate.
* Add github workflow
* Cleanup `qdrant-edge` public API
Removes empty modules. Checked by `cargo doc`.
This commit is contained in:
@@ -4,7 +4,7 @@ use std::mem;
|
||||
|
||||
use bytemuck::TransparentWrapper;
|
||||
use derive_more::Into;
|
||||
use edge::info::ShardInfo;
|
||||
use edge::ShardInfo;
|
||||
use pyo3::prelude::*;
|
||||
use segment::json_path::JsonPath;
|
||||
use segment::types::PayloadIndexInfo;
|
||||
|
||||
Reference in New Issue
Block a user