-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
67 lines (57 loc) · 1.38 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
61
62
63
64
65
66
67
[package]
name = "vchord_bm25"
version = "0.0.0"
edition = "2021"
[lib]
crate-type = ["cdylib", "lib"]
[[bin]]
name = "pgrx_embed_vchord_bm25"
path = "./src/bin/pgrx_embed.rs"
[features]
pg12 = ["pgrx/pg12"]
pg13 = ["pgrx/pg13"]
pg14 = ["pgrx/pg14"]
pg15 = ["pgrx/pg15"]
pg16 = ["pgrx/pg16"]
pg17 = ["pgrx/pg17"]
[dependencies]
arrayvec = "0.7.6"
bitflags = "2.6.0"
bitpacking = { version = "0.9", default-features = false, features = [
"bitpacker4x",
] }
bytemuck = "1.18"
lazy_static = "1.5"
pgrx = { version = "=0.12.8", default-features = false, features = ["cshim"] }
regex = "1.11.1"
stop-words = "0.8.0"
tantivy-stemmers = { version = "0.4.0", features = [
"default",
"english_porter",
] }
thiserror = "2"
tokenizers = { version = "0.20", default-features = false, features = ["onig"] }
bincode = "1.3.3"
generator = "0.8.4"
lending-iterator = "0.1.7"
serde = { version = "1.0.217", features = ["derive"] }
tocken = "0.1.0"
toml = "0.8.19"
unicode-segmentation = "1.12.0"
validator = { version = "0.19.0", features = ["derive"] }
[dev-dependencies]
rand = "0.8"
[profile.release]
lto = "fat"
codegen-units = 1
[profile.dev-opt]
inherits = "dev"
opt-level = 3
lto = "thin"
codegen-units = 8
[lints.clippy]
missing_safety_doc = "allow"
new_without_default = "allow"
not_unsafe_ptr_arg_deref = "allow"
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(pgrx_embed)'] }