Commit Graph

13 Commits

Author SHA1 Message Date
xzfc
28d9c5be12 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`.
2026-02-24 16:43:59 +00:00
Luis Cossío
e897da900b add unzip to shell.nix (#8200)
* add `unzip` to deps

* sort
2026-02-23 16:57:03 +00:00
Tim Visée
b0bb7ef604 Migrate Python to uv (#7790)
* 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>
2025-12-16 16:45:13 +01:00
xzfc
0a490dc420 Fix shell.nix for tikv-jemallocator 0.6.1 (#7697) 2025-12-09 00:49:22 +00:00
xzfc
6c4ad118d1 Misc edge dev env fixes (#7456) 2025-10-25 10:48:18 +02:00
xzfc
23dd2bbbfb shell.nix: switch to rustup (#7049)
* shell.nix: npins upgrade

* shell.nix: bump to rust 1.89

* shell.nix: use rustup instead of fenix
2025-08-13 12:09:12 +00:00
xzfc
5169bf26a3 shell.nix: bump to rust 1.87 (#6547)
* shell.nix: bump to rust 1.87

* shell.nix: workaround for jemalloc
2025-05-16 10:16:58 +00:00
xzfc
ce424b27c6 nix-shell: add more GPU tools/libraries (#6028) 2025-02-20 10:14:37 +01:00
xzfc
25265476cf shell.nix: add vulkan-loader to LD_LIBRARY_PATH (#5851) 2025-01-24 11:37:32 +00:00
xzfc
876ddd9944 shell.nix: bump to rust 1.83 (#5578)
* shell.nix: bump to rust 1.83

* shell.nix: add cmake (required by gpu deps)
2024-12-03 17:08:01 +00:00
xzfc
10ce515ecf shell.nix: bump to rust 1.81, misc changes (#5185)
* shell.nix: add a comment

* tools/nix/update.py: let it run outside of the nix-shell

* shell.nix: bump to rust 1.81
2024-10-07 10:30:20 +00:00
Serhii Tatarintsev
ee587bfd04 shell.nix: Allow to build on x86 darwin (#4895)
* 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>
2024-09-22 19:28:47 +00:00
xzfc
35dad67771 Add shell.nix (#4821) 2024-08-08 16:57:14 +00:00