102 lines
2.0 KiB
TOML
102 lines
2.0 KiB
TOML
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
|
|
#
|
|
# When uploading crates to the registry Cargo will automatically
|
|
# "normalize" Cargo.toml files for maximal compatibility
|
|
# with all versions of Cargo and also rewrite `path` dependencies
|
|
# to registry (e.g., crates.io) dependencies.
|
|
#
|
|
# If you are reading this file be aware that the original Cargo.toml
|
|
# will likely look very different (and much more reasonable).
|
|
# See Cargo.toml.orig for the original contents.
|
|
|
|
[package]
|
|
edition = "2021"
|
|
rust-version = "1.60.0"
|
|
name = "pgvector"
|
|
version = "0.4.2"
|
|
authors = ["Andrew Kane <andrew@ankane.org>"]
|
|
build = false
|
|
autolib = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = "pgvector support for Rust"
|
|
readme = "README.md"
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/pgvector/pgvector-rust"
|
|
|
|
[package.metadata.docs.rs]
|
|
features = ["halfvec"]
|
|
|
|
[features]
|
|
halfvec = ["dep:half"]
|
|
postgres = [
|
|
"dep:postgres-types",
|
|
"dep:bytes",
|
|
]
|
|
|
|
[lib]
|
|
name = "pgvector"
|
|
path = "src/lib.rs"
|
|
doctest = false
|
|
|
|
[dependencies.bytes]
|
|
version = "1"
|
|
optional = true
|
|
|
|
[dependencies.diesel]
|
|
version = "2"
|
|
features = ["postgres"]
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.half]
|
|
version = "2"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.postgres-types]
|
|
version = "0.2"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.serde]
|
|
version = "1"
|
|
features = ["derive"]
|
|
optional = true
|
|
|
|
[dependencies.sqlx]
|
|
version = ">= 0.8, < 0.10"
|
|
features = ["postgres"]
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dev-dependencies.diesel]
|
|
version = "2"
|
|
features = ["32-column-tables"]
|
|
default-features = false
|
|
|
|
[dev-dependencies.postgres]
|
|
version = "0.19"
|
|
default-features = false
|
|
|
|
[dev-dependencies.serde_json]
|
|
version = "1"
|
|
|
|
[dev-dependencies.sqlx]
|
|
version = "0"
|
|
features = [
|
|
"runtime-tokio",
|
|
"tls-native-tls",
|
|
]
|
|
default-features = false
|
|
|
|
[dev-dependencies.tokio]
|
|
version = "1"
|
|
features = ["full"]
|
|
|
|
[dev-dependencies.tokio-postgres]
|
|
version = "0.7"
|
|
default-features = false
|