# 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.0" authors = ["Andrew Kane "] 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"] [lib] 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" features = ["postgres"] optional = true default-features = false [dev-dependencies.async-std] version = "1" features = ["attributes"] [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-async-std-native-tls"] default-features = false [features] halfvec = ["dep:half"] postgres = [ "dep:postgres-types", "dep:bytes", ]