align_constr 0.2.0

Like `aligned` but better. Newtype whose alignment is constrained not only by the inherent alignment requirements of the underlying type but also by the alignment requirements of the "alignment constraint archetype"
Documentation

Build #4243248 2026-08-28 15:05:35

# rustc version rustc 1.100.0-nightly (e457a7b0d 2026-08-27)

# docs.rs version docsrs 0.0.0 (6c3c2ab33f39d2284fd26cea84fae0598b4cbd55 2026-08-24 )

# build log [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-w" "/opt/rustwide/workdir" "--user" "1001:1001" "63dad9882745cdf9c5bfc5b5d985bd58d0f524aae736a0ea69aa395fc84673d6" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=html-non-static-files\", \"--resource-suffix\", \"-20260827-1.100.0-nightly-e457a7b0d\", \"--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\"" "-j12" "--target" "x86_64-unknown-linux-gnu" "-Zrustdoc-scrape-examples", kill_on_drop: false }` [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Documenting align_constr v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unexpected `cfg` condition value: `as_slice` [INFO] [stderr] --> src/lib.rs:268:7 [INFO] [stderr] | [INFO] [stderr] 268 | #[cfg(feature = "as_slice")] [INFO] [stderr] | ^^^^^^^^^^---------- [INFO] [stderr] | | [INFO] [stderr] | help: there is a expected value with a similar name: `"as-slice"` [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `as-slice` [INFO] [stderr] = help: consider adding `as_slice` as a feature in `Cargo.toml` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `as_slice` [INFO] [stderr] --> src/lib.rs:280:7 [INFO] [stderr] | [INFO] [stderr] 280 | #[cfg(feature = "as_slice")] [INFO] [stderr] | ^^^^^^^^^^---------- [INFO] [stderr] | | [INFO] [stderr] | help: there is a expected value with a similar name: `"as-slice"` [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `as-slice` [INFO] [stderr] = help: consider adding `as_slice` as a feature in `Cargo.toml` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: `align_constr` (lib doc) generated 2 warnings [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/align_constr/index.html [INFO] running `Command { std: "docker" "inspect" "63dad9882745cdf9c5bfc5b5d985bd58d0f524aae736a0ea69aa395fc84673d6", kill_on_drop: false }`