-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
115 lines (110 loc) · 4.96 KB
/
Copy pathCargo.toml
File metadata and controls
115 lines (110 loc) · 4.96 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
[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",
]
[workspace.package]
version = "0.1.0"
edition = "2024"
license = "MIT"
repository = "https://github.com/AdaWorldAPI/OGAR"
authors = ["AdaWorldAPI"]
rust-version = "1.95"
[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.
# ─────────────────────────────────────────────────────────────────────
lance = "=9.0.0"
lancedb = "=0.33.0"
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