[package] name = "vectorize" version = "0.19.0" edition = "2021" publish = false [lib] crate-type = ["cdylib", "lib"] [[bin]] name = "pgrx_embed_vectorize" path = "./src/bin/pgrx_embed.rs" [features] default = ["pg17"] pg14 = ["pgrx/pg14", "pgrx-tests/pg14"] pg15 = ["pgrx/pg15", "pgrx-tests/pg15"] pg16 = ["pgrx/pg16", "pgrx-tests/pg16"] pg17 = ["pgrx/pg17", "pgrx-tests/pg17"] 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" pgmq = "0.29" pgrx = "=0.12.5" 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.8", 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.12.5" rand = "0.8.5" whoami = "1.4.1" [profile.dev] panic = "unwind" [profile.release] panic = "unwind" opt-level = 3 lto = "fat" codegen-units = 1