[package] name = "vectorize" version = "0.14.0" edition = "2021" publish = false [lib] crate-type = ["cdylib"] [features] default = ["pg15"] pg14 = ["pgrx/pg14", "pgrx-tests/pg14"] pg15 = ["pgrx/pg15", "pgrx-tests/pg15"] pg16 = ["pgrx/pg16", "pgrx-tests/pg16"] pg_test = [] [dependencies] anyhow = "1.0.72" chrono = {version = "0.4.26", features = ["serde"] } handlebars = "5.1.0" lazy_static = "1.4.0" log = "0.4.21" openai-api-rs = "4.0.6" pgmq = "0.26.1" pgrx = "0.11.3" postgres-types = "0.2.5" regex = "1.9.2" reqwest = {version = "0.11.18", features = ["json"] } serde = { version = "1.0.173", features = ["derive"] } serde_json = "1.0.103" sqlx = { version = "=0.7.3", features = [ "runtime-tokio-native-tls", "postgres", "chrono", "json" ] } thiserror = "1.0.44" tiktoken-rs = "0.5.7" tokio = {version = "1.29.1", features = ["rt-multi-thread"] } url = "2.4.0" vectorize_core = { path = "../core", package = "vectorize-core" } [dev-dependencies] pgrx-tests = "0.11.3" rand = "0.8.5" whoami = "1.4.1" [profile.dev] panic = "unwind" [profile.release] panic = "unwind" opt-level = 3 lto = "fat" codegen-units = 1