die_parser 1.0.1

This crate parses the notation for die rolls as used in tabletop games like D&D.
Documentation

Build #3379221 2026-05-25 09:35:01

# rustc version rustc 1.98.0-nightly (423e3d252 2026-05-24)

# docs.rs version docsrs 0.0.0 (f16e33f3e6ac9fc9e4413728c5dd1b2ba1c6b799 2026-05-23 )

# 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" "92f5f236ff17e5192c8adadf69e004002c613290c87cc6cec1d4e2979a72c319" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20260524-1.98.0-nightly-423e3d252\", \"--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 die_parser v1.0.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: could not parse code block as Rust code [INFO] [stderr] --> src/lib.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | //! ```rust,ignore [INFO] [stderr] | _____^ [INFO] [stderr] 7 | | //! Input: [INFO] [stderr] 8 | | //! 1.) "2d6" (Roll 2 six-sided dice.) [INFO] [stderr] 9 | | //! 2.) "4d20 - 5" (Roll 4 twenty-sided dice and subtract 5 from the result.) [INFO] [stderr] ... | [INFO] [stderr] 21 | | //! } [INFO] [stderr] 22 | | //! ``` [INFO] [stderr] | |_______^ [INFO] [stderr] | [INFO] [stderr] help: `ignore` code blocks require valid Rust code for syntax highlighting; mark blocks that do not contain Rust code as text: ```text [INFO] [stderr] --> src/lib.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | //! ```rust,ignore [INFO] [stderr] | ^^^ [INFO] [stderr] = note: error from rustc: unexpected closing delimiter: `)` [INFO] [stderr] = note: `#[warn(rustdoc::invalid_rust_codeblocks)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `die_parser` (lib doc) generated 1 warning [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.42s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/die_parser/index.html [INFO] running `Command { std: "docker" "inspect" "92f5f236ff17e5192c8adadf69e004002c613290c87cc6cec1d4e2979a72c319", kill_on_drop: false }`