-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy pathCargo.toml
60 lines (53 loc) · 1.23 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
[package]
name = "vectorize"
version = "0.20.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"
] }
text-splitter = "0.22.0"
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