Skip to content

Commit db35c68

Browse files
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

File tree

.github/dependabot.yml

Lines changed: 1 addition & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
version: 2
55
updates:
6-
# Cargo (Rust) dependencies — root `mlxcel` binary crate.
6+
# Cargo (Rust) dependencies — unified workspace lock (mlxcel, mlxcel-core, mlxcel-surgery).
77
- package-ecosystem: "cargo"
88
directory: "/"
99
schedule:
@@ -28,58 +28,6 @@ updates:
2828
prefix: "deps"
2929
include: "scope"
3030

31-
# Cargo (Rust) dependencies — `mlxcel-core` library crate (separate Cargo.lock).
32-
- package-ecosystem: "cargo"
33-
directory: "/src/lib/mlxcel-core"
34-
schedule:
35-
interval: "weekly"
36-
day: "monday"
37-
time: "09:00"
38-
timezone: "Asia/Seoul"
39-
open-pull-requests-limit: 10
40-
groups:
41-
minor-and-patch:
42-
patterns:
43-
- "*"
44-
update-types:
45-
- "minor"
46-
- "patch"
47-
ignore:
48-
- dependency-name: "*"
49-
update-types: ["version-update:semver-major"]
50-
labels:
51-
- "type:dependency"
52-
- "area:core"
53-
commit-message:
54-
prefix: "deps(core)"
55-
include: "scope"
56-
57-
# Cargo (Rust) dependencies — `mlxcel-surgery` library crate.
58-
- package-ecosystem: "cargo"
59-
directory: "/src/lib/mlxcel-surgery"
60-
schedule:
61-
interval: "weekly"
62-
day: "monday"
63-
time: "09:00"
64-
timezone: "Asia/Seoul"
65-
open-pull-requests-limit: 5
66-
groups:
67-
minor-and-patch:
68-
patterns:
69-
- "*"
70-
update-types:
71-
- "minor"
72-
- "patch"
73-
ignore:
74-
- dependency-name: "*"
75-
update-types: ["version-update:semver-major"]
76-
labels:
77-
- "type:dependency"
78-
- "area:surgery"
79-
commit-message:
80-
prefix: "deps(surgery)"
81-
include: "scope"
82-
8331
# GitHub Actions dependencies.
8432
- package-ecosystem: "github-actions"
8533
directory: "/"

0 commit comments

Comments
 (0)