auth-framework 0.4.2

A comprehensive, production-ready authentication and authorization framework for Rust applications
Documentation

Build #2441998 2025-08-24 16:45:03

# rustc version rustc 1.91.0-nightly (69b76df90 2025-08-23)

# docs.rs version docsrs 0.6.0 (8bbaf878 2025-08-22)

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/auth-framework-0.4.2/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/auth-framework-0.4.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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250823-1.91.0-nightly-69b76df90\", \"--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] be1dece32fe812ec90eb50a3c37d5a13e4472c6a01a5df674df42bcd1bd57d92 [INFO] running `Command { std: "docker" "start" "-a" "be1dece32fe812ec90eb50a3c37d5a13e4472c6a01a5df674df42bcd1bd57d92", kill_on_drop: false }` [INFO] [stderr] warning: Rustdoc did not scrape the following examples because they require dev-dependencies: axum_integration, basic_usage_corrected, cli_auth_tool, complete_rest_api_server, enhanced_ergonomics, oauth2_authorization_server, performance_demo, production_deployments, simple_oauth2_server, simple_performance_demo, simple_working_deployment, smskit_integration, working_demo [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 auth-framework v0.4.2 (/opt/rustwide/workdir) [INFO] [stderr] warning: unresolved link to `RequireAuth` [INFO] [stderr] --> src/prelude.rs:43:9 [INFO] [stderr] | [INFO] [stderr] 43 | //! - [`RequireAuth`] - Middleware for requiring authentication [INFO] [stderr] | ^^^^^^^^^^^ no item named `RequireAuth` in scope [INFO] [stderr] | [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `AuthenticatedUser` [INFO] [stderr] --> src/prelude.rs:44:9 [INFO] [stderr] | [INFO] [stderr] 44 | //! - [`AuthenticatedUser`] - Extractor for authenticated users [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ no item named `AuthenticatedUser` in scope [INFO] [stderr] | [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `RequirePermission` [INFO] [stderr] --> src/prelude.rs:45:9 [INFO] [stderr] | [INFO] [stderr] 45 | //! - [`RequirePermission`] - Middleware for permission checking [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ no item named `RequirePermission` in scope [INFO] [stderr] | [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `per_second` [INFO] [stderr] --> src/prelude.rs:54:46 [INFO] [stderr] | [INFO] [stderr] 54 | //! - Rate limiting helpers: [`requests`], [`per_second`], [`per_minute`], [`per_hour`] [INFO] [stderr] | ^^^^^^^^^^ no item named `per_second` in scope [INFO] [stderr] | [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `per_minute` [INFO] [stderr] --> src/prelude.rs:54:62 [INFO] [stderr] | [INFO] [stderr] 54 | //! - Rate limiting helpers: [`requests`], [`per_second`], [`per_minute`], [`per_hour`] [INFO] [stderr] | ^^^^^^^^^^ no item named `per_minute` in scope [INFO] [stderr] | [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `per_hour` [INFO] [stderr] --> src/prelude.rs:54:78 [INFO] [stderr] | [INFO] [stderr] 54 | //! - Rate limiting helpers: [`requests`], [`per_second`], [`per_minute`], [`per_hour`] [INFO] [stderr] | ^^^^^^^^ no item named `per_hour` in scope [INFO] [stderr] | [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: unclosed HTML tag `MemoryStorage` [INFO] [stderr] --> src/storage/core.rs:864:43 [INFO] [stderr] | [INFO] [stderr] 864 | /// Implementation of AuditStorage for Arc<MemoryStorage> [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(rustdoc::invalid_html_tags)]` on by default [INFO] [stderr] help: try marking as source code [INFO] [stderr] | [INFO] [stderr] 864 | /// Implementation of AuditStorage for `Arc<MemoryStorage>` [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] warning: `auth-framework` (lib doc) generated 7 warnings [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.16s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/auth_framework/index.html [INFO] running `Command { std: "docker" "inspect" "be1dece32fe812ec90eb50a3c37d5a13e4472c6a01a5df674df42bcd1bd57d92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be1dece32fe812ec90eb50a3c37d5a13e4472c6a01a5df674df42bcd1bd57d92", kill_on_drop: false }` [INFO] [stdout] be1dece32fe812ec90eb50a3c37d5a13e4472c6a01a5df674df42bcd1bd57d92