[package]
edition = "2021"
name = "sz-orm-vector"
version = "1.2.1"
authors = ["SZ-ORM Team"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SZ-ORM pgvector Extension - Vector similarity search with pgvector"
homepage = "https://github.com/ljclz/sz-orm"
readme = false
keywords = [
"orm",
"database",
"async",
"sql",
"tokio",
]
categories = [
"database",
"asynchronous",
]
license = "MIT"
repository = "https://github.com/ljclz/sz-orm"
[features]
default = []
real-pg = ["dep:tokio-postgres"]
[lib]
name = "sz_orm_vector"
path = "src/lib.rs"
[[test]]
name = "vector_tests"
path = "tests/vector_tests.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.sz-orm-ai]
version = "1.0.0"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1.40"
features = ["full"]
[dependencies.tokio-postgres]
version = "0.7"
optional = true
[dev-dependencies.tokio-test]
version = "0.4"
[lints.clippy]
module_name_repetitions = "allow"
type_complexity = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.rust]
unsafe_op_in_unsafe_fn = "warn"