Skip to content

Commit

Permalink
feat: pyo3 bindings of indexing
Browse files Browse the repository at this point in the history
Signed-off-by: usamoi <[email protected]>
  • Loading branch information
usamoi committed Aug 19, 2024
1 parent 20e84ca commit 2e3bd01
Show file tree
Hide file tree
Showing 38 changed files with 882 additions and 242 deletions.
249 changes: 207 additions & 42 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 7 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
[package]
name = "vectors"
name = "pgvectors"
version.workspace = true
edition.workspace = true

[lib]
name = "vectors"
crate-type = ["cdylib", "lib"]

[[bin]]
name = "pgrx_embed_vectors"
name = "pgrx_embed_pgvectors"
path = "./src/bin/pgrx_embed.rs"

[features]
Expand Down Expand Up @@ -49,13 +50,8 @@ tikv-jemallocator = { version = "0.6.0", features = [
"disable_initial_exec_tls",
] }

[patch.crates-io]
pgrx = { git = "https://github.com/tensorchord/pgrx.git", branch = "v0.12.0-alpha.1-patch3" }

[lints]
rust.unsafe_op_in_unsafe_fn = "forbid"
rust.unused_lifetimes = "warn"
rust.unused_qualifications = "warn"
workspace = true

[workspace]
resolver = "2"
Expand Down Expand Up @@ -90,6 +86,9 @@ rust.unsafe_op_in_unsafe_fn = "deny"
rust.unused_lifetimes = "warn"
rust.unused_qualifications = "warn"

[patch.crates-io]
pgrx = { git = "https://github.com/tensorchord/pgrx.git", branch = "v0.12.0-alpha.1-patch3" }

[profile.opt]
inherits = "dev"
opt-level = 3
Expand Down
Loading

0 comments on commit 2e3bd01

Please sign in to comment.