Commit 006e31a
fix(cli): declare sqlshield-introspect via workspace deps for crates.io publish
`cargo publish` rejects path-only dependencies because the version is
required to resolve the crate on crates.io. The first attempt to
publish `sqlshield-cli` failed with:
all dependencies must have a version specified when publishing.
dependency `sqlshield-introspect` does not specify a version
Move `sqlshield-introspect` into `[workspace.dependencies]` with both
`version` and `path`, and reference it from `sqlshield-cli` via
`workspace = true`. Verified locally with `cargo publish -p
sqlshield-cli --dry-run`.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent d20a0b3 commit 006e31a
2 files changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
| 21 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
0 commit comments