* 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`.
* Move pyproject.toml to root
* Migrate pyproject.toml from Poetry to uv
* Update GH workflows
* Update test script, doc and nix to use uv
* Use latest uv
* Fix uv.lock
* Cleanup shell.nix
* Cleanup
- Explicit `uv sync` is not required, `uv run` will install deps
automatically.
- We don't provide a python package, so the `[build-system]` section
is not needed.
* Fix UV_VERSION inconsistency
---------
Co-authored-by: tellet-q <elena.dubrovina@qdrant.com>
Co-authored-by: xzfc <xzfcpw@gmail.com>
* shell.nix: Allow to build on x86 darwin
I've tried to check out qdrant source code and build it on x86 mac
laptop, however, i found out a couple of issues with current
`shell.nix`.
- Couple of dependencies were missing.
- Default `CXXFLAGS` are not compatible with rocks-db (needs higher
deployment target).
- Mold setup did not work with clang out of the box.
This PR fixes all of the issues and allows to build `qdrant` from
within nix shell on Intel macOS. I don't have access to ARM Mac at the moment,
so I can not say for sure if this configuration will work there.
* Add comment to iconv
* Touch up
---------
Co-authored-by: xzfc <xzfcpw@gmail.com>