-
Notifications
You must be signed in to change notification settings - Fork 56
Expand file tree
/
Copy pathCargo.toml
More file actions
120 lines (106 loc) · 2.89 KB
/
Cargo.toml
File metadata and controls
120 lines (106 loc) · 2.89 KB
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
[package]
name = "vchord"
version.workspace = true
edition.workspace = true
publish = false
[lib]
name = "vchord"
crate-type = ["cdylib", "lib"]
[[bin]]
name = "pgrx_embed_vchord"
path = "./src/bin/pgrx_embed.rs"
[features]
default = ["simd/init"]
pg14 = ["pgrx/pg14", "pgrx-catalog/pg14"]
pg15 = ["pgrx/pg15", "pgrx-catalog/pg15"]
pg16 = ["pgrx/pg16", "pgrx-catalog/pg16"]
pg17 = ["pgrx/pg17", "pgrx-catalog/pg17"]
pg18 = ["pgrx/pg18", "pgrx-catalog/pg18"]
[dependencies]
always_equal = { path = "./crates/always_equal" }
distance = { path = "./crates/distance" }
feistel = { path = "./crates/feistel" }
index = { path = "./crates/index" }
index_accessor = { path = "./crates/index_accessor" }
k_means = { path = "./crates/k_means" }
rabitq = { path = "./crates/rabitq" }
simd = { path = "./crates/simd" }
vchordg = { path = "./crates/vchordg" }
vchordrq = { path = "./crates/vchordrq" }
vector = { path = "./crates/vector" }
arrayvec = "0.7.6"
bumpalo.workspace = true
crossbeam-channel = "0.5.15"
dary_heap.workspace = true
humansize = "2.1.3"
paste.workspace = true
pgrx = { version = "=0.17.0", default-features = false, features = ["cshim"] }
pgrx-catalog = "0.3.2"
rand.workspace = true
rayon.workspace = true
rusqlite = { version = "0.39.0", features = ["bundled"] }
seq-macro.workspace = true
serde.workspace = true
toml = "1.1.2"
validator.workspace = true
wyhash.workspace = true
zerocopy.workspace = true
[target.'cfg(all(any(target_arch = "x86_64", target_arch = "aarch64"), any(target_os = "linux", target_os = "macos")))'.dependencies]
mimalloc = { version = "0.1.48", features = ["local_dynamic_tls"] }
[lints]
workspace = true
[workspace]
resolver = "3"
members = ["crates/*"]
[workspace.package]
version = "0.0.0"
edition = "2024"
[workspace.dependencies]
bumpalo = "3.20.2"
dary_heap = "0.3.8"
paste = "1.0.15"
rand = "0.10.0"
rand_chacha = "0.10.0"
rayon = "1.11.0"
seq-macro = "0.3.6"
serde = { version = "1.0.228", features = ["derive"] }
validator = { version = "0.20.0", features = ["derive"] }
wyhash = "0.6.0"
zerocopy = { version = "0.8.48", features = ["derive"] }
[workspace.lints]
# complexity
clippy.identity_op = "allow"
clippy.int_plus_one = "allow"
clippy.manual_is_multiple_of = "allow"
clippy.nonminimal_bool = "allow"
clippy.too_many_arguments = "allow"
clippy.type_complexity = "allow"
# style
clippy.collapsible_if = "allow"
clippy.just_underscores_and_digits = "allow"
clippy.needless_range_loop = "allow"
# unsafe
rust.unsafe_code = "deny"
rust.unsafe_op_in_unsafe_fn = "deny"
# unused
rust.unused_extern_crates = "warn"
rust.unused_import_braces = "warn"
rust.unused_lifetimes = "warn"
rust.unused_macro_rules = "warn"
rust.unused_qualifications = "warn"
[profile.dev]
codegen-units = 256
lto = "off"
opt-level = 1
debug = "full"
strip = "none"
[profile.release]
codegen-units = 1
lto = "fat"
opt-level = 3
debug = "none"
strip = "symbols"
[profile.prof]
inherits = "release"
debug = "full"
strip = "none"