Repository navigation
docs: the two build modes, and how to switch - #21
Merged
Merged
Conversation
Companion to softmata/horus#220. A managed project has no manifest cargo can find at the root, and until now nothing on the getting-started pages said so: a Rust developer's first `cargo build` failed with `could not find Cargo.toml` and no explanation. - quick-start: a callout at the first build naming the managed layout, the shell-integration route, and `horus eject` / `horus new --cargo` for a manifest cargo owns. - depending-on-horus: a "Managed, or cargo-native" section with the decision table (manifest, plain cargo, horus commands, [rust], horus add), the three ways to go cargo-native, and what the shell proxy does; the target-section row in the "what horus new generates" table now names tests/examples/ benches/src/bin and the [lib] case. - cli-reference: a `horus eject` section (what it writes, what changes after, when it refuses) and the `--cargo` flag on `horus new`. - testing: a tests/ directory runs without a root Cargo.toml now — top-level tests/*.rs are declared as targets, nested modules stay helpers.
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
horus-docs | be0c410 | Sep 20 2026, 08:04 PM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Companion to softmata/horus#220. Merge that one first; this page documents commands it adds.
What changed
cargo buildfails, the shell-integration route, andhorus eject/horus new --cargo.tests/,examples/,benches/,src/bin/and the[lib]case.horus ejectsection and the--cargoflag onhorus new.tests/*.rsnow runs without a rootCargo.toml.Validation
check:claims,check-links(1168 links),check:mdx(16 expressions/168 files),check_shell_fences(559 blocks),check_toml_fences(79 blocks, schema fresh) — all clean.