Commit db35c68
authored
refactor: convert mlxcel-core and mlxcel-surgery into workspace members (#15)
Closes #7.
Adds `[workspace]` section to root `Cargo.toml` with Layout A: the
root `mlxcel` crate is simultaneously the workspace root and a member,
alongside `mlxcel-core` and `mlxcel-surgery`. `cargo metadata`
confirms all three crates enumerate as workspace members.
`.github/dependabot.yml` collapsed from 3 separate cargo entries
(root, mlxcel-core, mlxcel-surgery) to 1 root-level entry — the
unified workspace lock makes per-directory entries redundant. The
`github-actions` entry is unchanged.
Pre-flight finding: per-crate Cargo.lock files referenced in #7
task list were already absent. Actual scope reduced to `[workspace]`
addition + dependabot.yml simplification. The Cargo.lock gained 7
mlxcel-core dev-dependencies (sha2 0.11, block-buffer 0.12,
const-oid 0.10.2, crypto-common 0.2.1, hybrid-array 0.4.12,
tracing-test 0.2.6, tracing-test-macro 0.2.6) that were previously
invisible to the root lock and are now properly unified — this is
what fixes the long-standing `cargo test -p mlxcel-core` from-root
dev-dep resolution failure.
Verified locally: `cargo deny check` clean, `cargo check --lib
-p mlxcel-core --no-default-features` clean. Self-hosted clippy +
test gate (added in #14) is queued at merge time — will run on
main after the runner clears the PR #14 cold-build backlog.1 parent da31861 commit db35c68
3 files changed
Lines changed: 102 additions & 188 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
28 | 28 | | |
29 | 29 | | |
30 | 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 | 31 | | |
84 | 32 | | |
85 | 33 | | |
| |||
0 commit comments