Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
131 lines (126 loc) · 5.81 KB
/
Copy pathCargo.toml
File metadata and controls
131 lines (126 loc) · 5.81 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
121
122
123
124
125
126
127
128
129
130
131
[workspace]
resolver = "2"
members = [
"crates/ogar-vocab",
"crates/ogar-ontology",
"crates/ogar-emitter",
"crates/ogar-adapter",
"crates/ogar-proposal",
"crates/ogar-adapter-surrealql",
"crates/ogar-adapter-ttl",
"crates/ogar-adapter-clickhouse-ddl",
"crates/ogar-adapter-postgres-ddl", # WS-G-E
"crates/ogar-knowable-from",
"crates/ogar-from-elixir",
"crates/ogar-from-ruff",
"crates/ogar-from-rails",
"crates/ogar-from-schema",
"crates/ogar-action-handler",
"crates/ogar-class-view",
"crates/ogar-render-askama",
"crates/ogar-fma-skeleton",
"crates/ogar-fma",
"crates/ogar-obo",
"crates/ogar-cpic",
"crates/ogar-dismech",
"crates/ogar-adapter-python",
"crates/ogar-adapter-csharp",
"crates/ogar-auth",
"crates/ogar-encryption",
"crates/ogar-doc-ir",
"crates/ogar-a2ui-frame",
"crates/ogar-from-docv1",
"crates/ogar-render-typst",
"crates/ogar-loco",
"crates/ogar-r2il",
"crates/ogar-rbac",
"crates/ogar-ro",
"crates/ogar-elk",
"crates/ogar-osm",
"crates/ogar-dir-core",
"crates/ogar-ad",
"crates/ogar-az",
"crates/ogar-dir-sim",
"crates/ogar-genom",
]
[workspace.package]
version = "0.1.0"
edition = "2024"
license = "MIT"
repository = "https://github.com/AdaWorldAPI/OGAR"
authors = ["AdaWorldAPI"]
rust-version = "1.99.0"
[workspace.dependencies]
serde = { version = "1.0", features = ["derive"] }
# ─────────────────────────────────────────────────────────────────────
# Lance ecosystem pins — ALIGNED with AdaWorldAPI/lance-graph +
# AdaWorldAPI/surrealdb forks. When OGAR crates take any of these
# deps (e.g. `ogar-adapter-surrealql` wiring `parse_surrealql_ddl`
# via surrealdb-parser; the eventual `lance-bind` boundary in
# `ogar-proposal::boundary`), consume from the workspace
# (`lance.workspace = true`) so the pin is canonical and matches the
# rest of the AdaWorldAPI ecosystem.
#
# Strict pins (`=`) on lance + lancedb because lance-encoding's
# format guarantees only hold across exact patch boundaries; caret
# pins on datafusion + arrow because their crates follow SemVer and
# minor bumps are deliberate.
#
# Cross-reference: lance-graph PR #467 commit notes
# "kv-lance lance 6.0.0 -> =7.0.0, lancedb 0.29.0 -> =0.30.0";
# surrealdb fork's surrealdb-core uses the same pins under the
# kv-lance feature.
#
# 2026-08-05 — realigned 7.0.0/0.30.0/df53 → 9.0.0/0.33.0/df54 to track the
# measured lance-graph bump (probe: lance-graph
# `.claude/plans/lance9-datafusion54-upgrade-probe-v1.md`). NOTE: there is no
# `lancedb` 0.34-0.36 Rust crate — the registry tops out at 0.33.0, which IS
# the lance-9 pairing (it pins `lance = "=9.0.0"`); 0.36 is the PyPI package,
# versioned independently. arrow stays 58 and object_store 0.13.2 across this
# bump — only datafusion crosses a major. These pins are still DORMANT (no
# OGAR crate consumes them yet), so this realignment cannot break a build; it
# keeps the "canonical, matches the rest of the AdaWorldAPI ecosystem" claim
# above TRUE rather than silently stale. Per the lance-graph operator ruling
# `E-LANCE-IS-UPSTREAM-AUTHORITATIVE-1`, this family is consumed from
# crates.io upstream and NEVER from a fork — the AdaWorldAPI/lance and
# /lancedb repos exist but are deliberately not depended on.
#
# 2026-09-25 — realigned 9.0.0/0.33.0 → 12.0.0/0.39.0 (lancedb 0.39.0 pins
# `lance = "=12.0.0"`; arrow 58 / datafusion 54 unchanged). Still dormant.
# ─────────────────────────────────────────────────────────────────────
# 2026-09-25 — the patch FLOATS (ecosystem pin rule: "never pin to x.0.0,
# always float x.*"). lancedb 0.39 itself demands `lance = "=12.0.0"`, so the
# float resolves to exactly that today and can never be narrower than what
# the family asks. When a crate first consumes `lancedb` it needs
# `features = ["remote"]`: 0.39.0 does not compile without it (`default = []`,
# yet `job.rs` builds the `remote`-gated `Error::Http`).
# 2026-10-10 — 13.*/0.40.* (lancedb 0.40.0 pins `lance = "=13.0.0"`; arrow 58 /
# datafusion 54 unchanged; `remote` is still required, re-measured on 0.40.0).
lance = "13.*"
lancedb = "0.40.*"
datafusion = "54"
arrow = "58"
arrow-array = "58"
arrow-schema = "58"
# surrealdb fork crates (git deps — for ogar-adapter-surrealql after
# the rust-version bump in this PR clears the 1.85 -> 1.95 blocker).
# Take via `surrealdb-ast.workspace = true` etc. in consumer crates;
# the canonical fork ref is pinned here.
surrealdb-ast = { git = "https://github.com/AdaWorldAPI/surrealdb", branch = "main" }
surrealdb-parser = { git = "https://github.com/AdaWorldAPI/surrealdb", branch = "main" }
surrealdb-core = { git = "https://github.com/AdaWorldAPI/surrealdb", branch = "main", default-features = false }
# Debug info OFF for dev and test builds — the single biggest lever on build
# cost. Measured across this fleet 2026-08-22: 22 GB / ~40 min with debug info
# vs 4.4 GB / ~10 min without, on the same tree. `[profile.test]` inherits from
# `dev`, so this one entry covers `cargo build` and `cargo test` alike.
#
# It belongs in the manifest rather than in each session's environment: carried
# as `CARGO_PROFILE_*` env vars it only helps a session that remembers, and a
# fresh clone or a CI runner gets the expensive build. lance-graph (#962) and
# MedCare-rs already set this default.
#
# Given up: line numbers in panic backtraces. `debug = "line-tables-only"`
# restores them cheaply when a debugging session needs them — a deliberate
# temporary edit, not a reason to keep the default expensive.
[profile.dev]
debug = 0