myproject
mylibrary
"""
-$ nailing-cargo generate-lockfile
+$ nailing-cargo -u fetch
$ nailing-cargo build
```
* `-u` | `--cargo-lock-update` | `-U` | `--no-cargo-lock-update`
- Enables, or disables, the dance to allow `Cargo.lock` (or
- alternative) to be updated in the source directory.
+ Allows (or disallows) cargo to update `Cargo.lock` in the source
+ directory. Without this enabled, nailing-cargo passes `--locked`
+ to cargo.
- With this dance enabled the `Cargo.lock` and `Cargo.toml` are
- copied to the build directory along with a skeleton just big
- enough to fool cargo. After cargo has run, the resulting
- `Cargo.lock` is copied back to the source tree.
+ With this enabled, in an out-of-tree build the `Cargo.lock` and
+ `Cargo.toml` are copied to the build directory along with a
+ skeleton just big enough to fool cargo. After cargo has run, the
+ resulting `Cargo.lock` is copied back to the source tree.
- Default is no update unless the cargo subcommand will want it.
+ Default is no update unless the whole point of the cargo
+ subcommand is to update `Cargo.lock`.
* `-c` | `-C`