rust-api 0.0.2

FastAPI-inspired REST framework for Rust with route macros, dependency injection, and automatic OpenAPI generation
Documentation

Build #2956370 2026-03-02 19:25:57

# rustc version rustc 1.96.0-nightly (80381278a 2026-03-01)

# docs.rs version docsrs 0.0.0 (91dcccd9 2026-02-13 )

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/rust-api-0.0.2/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/rust-api-0.0.2/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20260301-1.96.0-nightly-80381278a\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 932de7526d558a35c99168952f27c813d9cb1d0aa409d6614418f7de699c1619 [INFO] running `Command { std: "docker" "start" "-a" "932de7526d558a35c99168952f27c813d9cb1d0aa409d6614418f7de699c1619", kill_on_drop: false }` [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Documenting rust-api v0.0.2 (/opt/rustwide/workdir) [INFO] [stderr] warning: unresolved link to `mount_handlers` [INFO] [stderr] --> src/controller.rs:49:53 [INFO] [stderr] | [INFO] [stderr] 49 | /// Do not implement this trait manually. Use the [`mount_handlers!`] macro, [INFO] [stderr] | ^^^^^^^^^^^^^^^ no item named `mount_handlers` in scope [INFO] [stderr] | [INFO] [stderr] = note: `macro_rules` named `mount_handlers` exists in this crate, but it is not in scope at this link's location [INFO] [stderr] = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/lib.rs:177:19 [INFO] [stderr] | [INFO] [stderr] 177 | /// [`Container`](crate::di::Container) is intentionally **not** in the prelude. [INFO] [stderr] | ----------- ^^^^^^^^^^^^^^^^^^^^ explicit target is redundant [INFO] [stderr] | | [INFO] [stderr] | because label contains path that resolves to same destination [INFO] [stderr] | [INFO] [stderr] = note: when a link's destination is not specified, [INFO] [stderr] the label is used to resolve intra-doc links [INFO] [stderr] = note: `#[warn(rustdoc::redundant_explicit_links)]` on by default [INFO] [stderr] help: remove explicit link target [INFO] [stderr] | [INFO] [stderr] 177 - /// [`Container`](crate::di::Container) is intentionally **not** in the prelude. [INFO] [stderr] 177 + /// [`Container`] is intentionally **not** in the prelude. [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `rust-api` (lib doc) generated 2 warnings [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.94s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/rust_api/index.html [INFO] running `Command { std: "docker" "inspect" "932de7526d558a35c99168952f27c813d9cb1d0aa409d6614418f7de699c1619", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "932de7526d558a35c99168952f27c813d9cb1d0aa409d6614418f7de699c1619", kill_on_drop: false }` [INFO] [stdout] 932de7526d558a35c99168952f27c813d9cb1d0aa409d6614418f7de699c1619