api-bones 4.0.0

Opinionated REST API types: errors (RFC 9457), pagination, health checks, and more
Documentation
Build #3164140 2026-04-20 23:58:18

# rustc version rustc 1.97.0-nightly (e22c616e4 2026-04-19)

# docs.rs version docsrs 0.0.0 (15f7e1e9dfac4fc5b7cc4abfd7682239002ba909 2026-04-08 )

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder4/builds/api-bones-4.0.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder4/builds/api-bones-4.0.0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder4/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder4/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "6442450944" "--cpuset-cpus" "20-23" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "sleep" "infinity", 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] bd6884c7d1b95c69458d3a141ef86d66dc5d24b38b1671f2f7a3a5c5796991d5 [INFO] running `Command { std: "docker" "start" "bd6884c7d1b95c69458d3a141ef86d66dc5d24b38b1671f2f7a3a5c5796991d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-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" "--user" "1001:1001" "bd6884c7d1b95c69458d3a141ef86d66dc5d24b38b1671f2f7a3a5c5796991d5" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20260419-1.97.0-nightly-e22c616e4\", \"--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" "-j4" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }` [INFO] [stderr] warning: Rustdoc did not scrape the following examples because they require dev-dependencies: audit, auth_flow, axum_core_extractors, axum_error_handling, axum_extractors_and_ratelimit, bulk_envelope, bulk_operations, cache_control, cursor_hmac, error_construction, error_handling, etag, etag_conditional, hateoas_links, header_parser, health_check, org_context, pagination, problem_json, query_builder, query_params, range_headers, rate_limit, response_envelope, slug, trace_context [INFO] [stderr] If you want Rustdoc to scrape these examples, then add `doc-scrape-examples = true` [INFO] [stderr] to the [[example]] target configuration of at least one example. [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Documenting api-bones v4.0.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unresolved link to `schemars::JsonSchema` [INFO] [stderr] --> src/lib.rs:49:22 [INFO] [stderr] | [INFO] [stderr] 49 | //! | `schemars` | [`schemars::JsonSchema`] derive on all public types | [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ no item named `schemars` in scope [INFO] [stderr] | [INFO] [stderr] = note: `-D rustdoc::broken-intra-doc-links` implied by `-D warnings` [INFO] [stderr] = help: to override `-D warnings` add `#[allow(rustdoc::broken_intra_doc_links)]` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `utoipa::ToSchema` [INFO] [stderr] --> src/lib.rs:50:22 [INFO] [stderr] | [INFO] [stderr] 50 | //! | `utoipa` | [`utoipa::ToSchema`] derive on all public types | [INFO] [stderr] | ^^^^^^^^^^^^^^^^ no item named `utoipa` in scope [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `CorsOrigin::Origin(url)` [INFO] [stderr] --> src/cors.rs:44:9 [INFO] [stderr] | [INFO] [stderr] 44 | /// - [`CorsOrigin::Origin(url)`] — a specific origin URL [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ the enum `CorsOrigin` has no variant or associated item named `Origin(url)` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `Deprecated::inject_headers` [INFO] [stderr] --> src/deprecated.rs:31:43 [INFO] [stderr] | [INFO] [stderr] 31 | /// documentation. Use [`inject_headers`](Deprecated::inject_headers) to attach [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the struct `Deprecated` has no field or associated item named `inject_headers` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `alloc::collections::BTreeMap` [INFO] [stderr] --> src/error.rs:2671:23 [INFO] [stderr] | [INFO] [stderr] 2671 | /// Uses [`BTreeMap`](alloc::collections::BTreeMap) internally so heap [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `alloc` in scope [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `alloc::collections::BTreeMap` [INFO] [stderr] --> src/error.rs:2721:27 [INFO] [stderr] | [INFO] [stderr] 2721 | /// Uses [`BTreeMap`](alloc::collections::BTreeMap) for `no_std` compatibility. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `alloc` in scope [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `base64_bytes` [INFO] [stderr] --> src/serde/mod.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | //! | [`base64_bytes`]| `Vec<u8>` ↔ Base64 string (standard / URL-safe) | [INFO] [stderr] | ^^^^^^^^^^^^ no item named `base64_bytes` in scope [INFO] [stderr] | [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/status.rs:3:56 [INFO] [stderr] | [INFO] [stderr] 3 | //! [`StatusCode`] extends the domain of [`ErrorCode`](crate::error::ErrorCode), [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: `-D rustdoc::redundant-explicit-links` implied by `-D warnings` [INFO] [stderr] = help: to override `-D warnings` add `#[allow(rustdoc::redundant_explicit_links)]` [INFO] [stderr] help: remove explicit link target [INFO] [stderr] | [INFO] [stderr] 3 - //! [`StatusCode`] extends the domain of [`ErrorCode`](crate::error::ErrorCode), [INFO] [stderr] 3 + //! [`StatusCode`] extends the domain of [`ErrorCode`], [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `api-bones` (lib doc) generated 8 warnings [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.50s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/api_bones/index.html [INFO] running `Command { std: "docker" "stop" "-t" "1" "bd6884c7d1b95c69458d3a141ef86d66dc5d24b38b1671f2f7a3a5c5796991d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd6884c7d1b95c69458d3a141ef86d66dc5d24b38b1671f2f7a3a5c5796991d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd6884c7d1b95c69458d3a141ef86d66dc5d24b38b1671f2f7a3a5c5796991d5", kill_on_drop: false }` [INFO] [stdout] bd6884c7d1b95c69458d3a141ef86d66dc5d24b38b1671f2f7a3a5c5796991d5