http-nu 0.15.0

The surprisingly performant, Nushell-scriptable, cross.stream-powered, Datastar-ready HTTP server that fits in your back pocket.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# cargo-docs

Serve `cargo doc` output with a generated index page listing all crates.

## Usage

```bash
cargo doc --workspace --no-deps
http-nu :3001 examples/cargo-docs/serve.nu
```

Point at docs in a different location:

```nu
with-env {DOC_ROOT: "/path/to/target/doc"} {|| http-nu :3001 examples/cargo-docs/serve.nu }
```

Defaults to `./target/doc` when `DOC_ROOT` is not set.