-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathCargo.toml
77 lines (65 loc) · 1.8 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
68
69
70
71
72
73
74
75
76
77
[package]
name = "vchord"
version.workspace = true
edition = "2021"
[lib]
name = "vchord"
crate-type = ["cdylib", "lib"]
[[bin]]
name = "pgrx_embed_vchord"
path = "./src/bin/pgrx_embed.rs"
[features]
default = []
pg13 = ["pgrx/pg13", "pgrx-catalog/pg13"]
pg14 = ["pgrx/pg14", "pgrx-catalog/pg14"]
pg15 = ["pgrx/pg15", "pgrx-catalog/pg15"]
pg16 = ["pgrx/pg16", "pgrx-catalog/pg16"]
pg17 = ["pgrx/pg17", "pgrx-catalog/pg17"]
[dependencies]
algorithm = { path = "./crates/algorithm" }
distance = { path = "./crates/distance" }
k_means = { path = "./crates/k_means" }
random_orthogonal_matrix = { path = "./crates/random_orthogonal_matrix" }
simd = { path = "./crates/simd" }
vector = { path = "./crates/vector" }
half.workspace = true
paste.workspace = true
pgrx = { version = "=0.12.9", default-features = false, features = ["cshim"] }
pgrx-catalog = "0.1.0"
rand.workspace = true
serde.workspace = true
toml = "0.8.20"
validator.workspace = true
zerocopy.workspace = true
zerocopy-derive.workspace = true
[patch.crates-io]
half = { git = "https://github.com/tensorchord/half-rs.git", rev = "3f9a8843d6722bd1833de2289347640ad8770146" }
[lints]
workspace = true
[workspace]
resolver = "2"
members = ["crates/*"]
[workspace.package]
version = "0.0.0"
edition = "2021"
[workspace.dependencies]
half = { version = "2.4.1", features = ["serde", "zerocopy"] }
paste = "1"
rand = "0.9.0"
serde = "1"
validator = { version = "0.20.0", features = ["derive"] }
zerocopy = "0.8.17"
zerocopy-derive = "0.8.17"
[workspace.lints]
clippy.identity_op = "allow"
clippy.int_plus_one = "allow"
clippy.needless_range_loop = "allow"
clippy.nonminimal_bool = "allow"
rust.unsafe_code = "deny"
rust.unsafe_op_in_unsafe_fn = "deny"
rust.unused_lifetimes = "warn"
rust.unused_qualifications = "warn"
[profile.release]
codegen-units = 1
debug = true
lto = "fat"