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 #3487348 2026-06-05 10:24:20

# rustc version rustc 1.98.0-nightly (e7815e522 2026-06-04)

# docs.rs version docsrs 0.0.0 (39849b9c22c419f6b690c8d2213455bc7426a6b8 2026-06-03 )

# 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" "c7513cdfd434b39d4904319b4b93ef6aea58253f0040036bec79ed4a929025e0" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20260604-1.98.0-nightly-e7815e522\", \"--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: 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.29s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/align_constr/index.html [INFO] running `Command { std: "docker" "inspect" "c7513cdfd434b39d4904319b4b93ef6aea58253f0040036bec79ed4a929025e0", kill_on_drop: false }`