-
Notifications
You must be signed in to change notification settings - Fork 206
Expand file tree
/
Copy pathCargo.toml
More file actions
105 lines (96 loc) · 3.18 KB
/
Copy pathCargo.toml
File metadata and controls
105 lines (96 loc) · 3.18 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
[workspace]
resolver = "2"
members = [
# larql-specific
"crates/larql-models",
"crates/larql-compute",
"crates/larql-compute-metal",
"crates/larql-core",
"crates/larql-vindex",
"crates/larql-vindex-spec",
"crates/larql-execution",
"crates/larql-factory",
"crates/larql-inference",
"crates/larql-kv",
"crates/larql-lql",
"crates/larql-cli",
"crates/larql-demos",
"crates/larql-server",
"crates/vindex-cli",
"crates/larql-router",
"crates/larql-router-protocol",
"crates/larql-python",
# boundary codec (Phase 1-3 of BOUNDARY_REF_PROTOCOL)
"crates/larql-boundary",
# portable (extract to sibling repos later, names stable)
"crates/model-compute",
]
default-members = [
"crates/larql-models",
"crates/larql-compute",
"crates/larql-compute-metal",
"crates/larql-core",
"crates/larql-vindex",
"crates/larql-vindex-spec",
"crates/larql-factory",
"crates/larql-inference",
"crates/larql-kv",
"crates/larql-lql",
"crates/larql-cli",
"crates/larql-demos",
"crates/larql-server",
"crates/vindex-cli",
"crates/larql-router",
"crates/larql-router-protocol",
"crates/larql-boundary",
"crates/model-compute",
]
# Workspace-wide lint policy, inherited by every member via
# `[lints] workspace = true`. New toolchains ship new clippy lints that
# would otherwise turn CI red overnight (every workflow runs
# `clippy -D warnings` on latest stable); allows recorded here are
# deliberate deferrals with a cleanup owner, not permanent exemptions.
[workspace.lints.clippy]
# rust 1.98: prefers `as_chunks::<N>()` over `chunks_exact(N)`. Dozens
# of pre-existing sites across the workspace (models, cli, compute…);
# the touched crates were converted in-place, the long tail is a
# dedicated mechanical cleanup.
chunks_exact_to_as_chunks = "allow"
[workspace.package]
version = "0.2.0"
edition = "2021"
# MSRV. The NEON dot-product intrinsics (`vdotq_s32` and friends,
# `stdarch_neon_dotprod`) that the VINDEX3 CPU integer path and the
# cpu7_probe example use stabilised in 1.98; every toolchain from 1.88 to
# 1.97 refuses them (bisected 2026-09-01). The quality workflow checks
# this claim under `RUSTUP_TOOLCHAIN`, so it cannot drift silently again.
rust-version = "1.98"
authors = []
license = "Apache-2.0"
repository = "https://github.com/chrishayuk/larql"
[workspace.dependencies]
serde = { version = "1", features = ["derive"] }
serde_json = "1"
thiserror = "2"
[profile.dev]
debug = "line-tables-only"
split-debuginfo = "unpacked"
[profile.dev.package."*"]
debug = false
[profile.test]
debug = "line-tables-only"
[profile.test.package."*"]
debug = false
# Temporary: enable line tables in release builds so samply / flamegraph
# can resolve symbol names. Cheap (no full debug info; just symbols
# + line numbers). Remove once profiling is done.
[profile.release]
debug = "line-tables-only"
split-debuginfo = "packed"
# Distribution builds only (ADR-0026 release binaries) — full strip, no
# line tables. Kept separate from [profile.release] so local profiling
# builds are unaffected; CI's release.yml is the only user.
[profile.release-dist]
inherits = "release"
debug = false
strip = true