struct-variant 1.0.2

Minimal helper macro to generate an enum out of a list of structs.
Documentation

Build #3314508 2026-05-18 11:10:49

# rustc version rustc 1.97.0-nightly (507271bc1 2026-05-17)

# docs.rs version docsrs 0.0.0 (e50152ed411bb913753b1dfd203f22cb8711f097 2026-05-17 )

# 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" "ef99ae49cbc7cc614b05fc5875cdadfb78ea261b30c6c77dcc04305234e12ab5" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--all-features" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20260517-1.97.0-nightly-507271bc1\", \"--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", kill_on_drop: false }` [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Documenting struct-variant v1.0.2 (/opt/rustwide/workdir) [INFO] [stderr] warning: the feature `extended_key_value_attributes` has been stable since 1.54.0 and no longer requires an attribute to enable [INFO] [stderr] --> src/lib.rs:1:38 [INFO] [stderr] | [INFO] [stderr] 1 | #![cfg_attr(feature = "doc", feature(extended_key_value_attributes))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `struct-variant` (lib doc) generated 1 warning [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.44s [INFO] [stderr] Generated /opt/rustwide/target/doc/struct_variant/index.html [INFO] running `Command { std: "docker" "inspect" "ef99ae49cbc7cc614b05fc5875cdadfb78ea261b30c6c77dcc04305234e12ab5", kill_on_drop: false }`