You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -203,7 +205,27 @@ Full guide: [docs/migrate-hakari.md](docs/migrate-hakari.md)
203
205
204
206
**Lossless TOML** — Uses `toml_edit` to preserve comments and formatting. Your manifests stay readable.
205
207
206
-
**Supply-Chain Safety** — 11 core dependencies. I built the release workflow specifically because I was uncomfortable with 600+ deps for release automation.
208
+
**Supply-Chain Safety** — 11 core dependencies. I built the release workflow specifically because I was uncomfortable with hundreds of deps for release automation.
209
+
210
+
---
211
+
212
+
## FAQ
213
+
214
+
**How is this different from cargo-hakari?**
215
+
216
+
cargo-hakari creates a workspace-hack crate. cargo-rail writes unified versions directly to `[workspace.dependencies]` — no extra crate, no `hakari generate` step. Enable `pin_transitives = true` for equivalent behavior. See the [migration guide](docs/migrate-hakari.md).
217
+
218
+
**Does it work with workspace inheritance?**
219
+
220
+
Yes. cargo-rail writes to `[workspace.dependencies]` and converts member manifests to `{ workspace = true }`.
221
+
222
+
**What about virtual workspaces?**
223
+
224
+
Supported. For `pin_transitives`, cargo-rail auto-selects a workspace member as the transitive host (or set `transitive_host` explicitly).
225
+
226
+
**Private registries?**
227
+
228
+
Works via `cargo metadata`, which respects `.cargo/config.toml`. Private registry deps are pinned normally.
207
229
208
230
---
209
231
@@ -220,7 +242,7 @@ Full guide: [docs/migrate-hakari.md](docs/migrate-hakari.md)
220
242
221
243
Issues, PRs, and feedback welcome. This is built for the Rust community.
222
244
223
-
If cargo-rail helps your workflow, consider [starring the repo](https://github.com/loadingalias/cargo-rail)— it helps others find it.
245
+
Found this useful? [Star the repo](https://github.com/loadingalias/cargo-rail)to help other Rust teams find it.
0 commit comments