leaf-core 0.1.1

Frontend-neutral core of leaf: a byte-offset caret/selection model over twig, plus an AST→glyph map, styled with a toolkit-agnostic Style.
Documentation

Build #4178617 2026-08-20 06:53:51

# rustc version rustc 1.100.0-nightly (f7d782a3b 2026-08-19)

# docs.rs version docsrs 0.0.0 (b67fb7d1993e3c70fff4d05e2bc482bd9d0d774f 2026-08-13 )

# 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" "c7b0136a9ca5d0e2bdee06be7fcdb6fc40a57a7766d29f52e711927060ba3c77" "/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\", \"-20260819-1.100.0-nightly-f7d782a3b\", \"--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\"" "-j6" "--target" "x86_64-unknown-linux-gnu" "-Zrustdoc-scrape-examples", kill_on_drop: false }` [INFO] [stderr] Checking leaf-core v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Scraping leaf-core v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Documenting leaf-core v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: public documentation for `reveals_caret_line` links to private item `Doc::reveal_line` [INFO] [stderr] --> src/doc.rs:99:40 [INFO] [stderr] | [INFO] [stderr] 99 | /// The rendering axis — read by [`Doc::reveal_line`] and threaded into the [INFO] [stderr] | ^^^^^^^^^^^^^^^^ this item is private [INFO] [stderr] | [INFO] [stderr] = note: this link will resolve properly if you pass `--document-private-items` [INFO] [stderr] = note: `#[warn(rustdoc::private_intra_doc_links)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `Doc::pos_for_offset` [INFO] [stderr] --> src/doc.rs:395:11 [INFO] [stderr] | [INFO] [stderr] 395 | /// [`Doc::pos_for_offset`] to the rendered rows the block occupies and draw [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ the struct `Doc` has no field or associated item named `pos_for_offset` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default [INFO] [stderr] [INFO] [stderr] warning: public documentation for `Capabilities` links to private item `spells_pipe_tables` [INFO] [stderr] --> src/doc.rs:569:26 [INFO] [stderr] | [INFO] [stderr] 569 | /// ops do; `table` is [`spells_pipe_tables`], the one answer twig doesn't [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ this item is private [INFO] [stderr] | [INFO] [stderr] = note: this link will resolve properly if you pass `--document-private-items` [INFO] [stderr] [INFO] [stderr] warning: public documentation for `insert_media` links to private item `parse_extensions` [INFO] [stderr] --> src/doc.rs:3782:50 [INFO] [stderr] | [INFO] [stderr] 3782 | /// through `html_elements` promotion (see [`parse_extensions`]). [INFO] [stderr] | ^^^^^^^^^^^^^^^^ this item is private [INFO] [stderr] | [INFO] [stderr] = note: this link will resolve properly if you pass `--document-private-items` [INFO] [stderr] [INFO] [stderr] warning: public documentation for `cell_hop` links to private item `Self::select_cell` [INFO] [stderr] --> src/doc.rs:5096:46 [INFO] [stderr] | [INFO] [stderr] 5096 | /// cell's whole content selected (see [`Self::select_cell`]). Returns `false` [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ this item is private [INFO] [stderr] | [INFO] [stderr] = note: this link will resolve properly if you pass `--document-private-items` [INFO] [stderr] [INFO] [stderr] warning: public documentation for `cell_move_vertical` links to private item `Self::select_cell` [INFO] [stderr] --> src/doc.rs:5121:11 [INFO] [stderr] | [INFO] [stderr] 5121 | /// [`Self::select_cell`]). Returns `false` at the grid's top/bottom edge (or [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ this item is private [INFO] [stderr] | [INFO] [stderr] = note: this link will resolve properly if you pass `--document-private-items` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `cell_hop` [INFO] [stderr] --> src/doc.rs:5123:35 [INFO] [stderr] | [INFO] [stderr] 5123 | /// vertical counterpart of [`cell_hop`]. [INFO] [stderr] | ^^^^^^^^ no item named `cell_hop` in scope [INFO] [stderr] | [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `crate::wysiwyg::ImageInfo` [INFO] [stderr] --> src/style.rs:58:29 [INFO] [stderr] | [INFO] [stderr] 58 | /// map's [`ImageInfo`](crate::wysiwyg::ImageInfo) `rows_span` and paints the [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `ImageInfo` in module `wysiwyg` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `VisualMap::images` [INFO] [stderr] --> src/wysiwyg.rs:113:20 [INFO] [stderr] | [INFO] [stderr] 113 | /// [`images`](VisualMap::images) side-table is derived from it once the rows [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ the struct `VisualMap` has no field or associated item named `images` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `Self::image` [INFO] [stderr] --> src/wysiwyg.rs:132:69 [INFO] [stderr] | [INFO] [stderr] 132 | /// them [`directive`](Self::directive) instead. Like [`image`](Self::image) [INFO] [stderr] | ^^^^^^^^^^^ the struct `VRow` has no field or associated item named `image` [INFO] [stderr] [INFO] [stderr] warning: public documentation for `heading` links to private item `heading_style` [INFO] [stderr] --> src/wysiwyg.rs:150:49 [INFO] [stderr] | [INFO] [stderr] 150 | /// same `u8` level, clamped the same way [`heading_style`] clamps it. [INFO] [stderr] | ^^^^^^^^^^^^^ this item is private [INFO] [stderr] | [INFO] [stderr] = note: this link will resolve properly if you pass `--document-private-items` [INFO] [stderr] [INFO] [stderr] warning: public documentation for `boundary` links to private item `Builder::emit_separators_before` [INFO] [stderr] --> src/wysiwyg.rs:157:11 [INFO] [stderr] | [INFO] [stderr] 157 | /// [`Builder::emit_separators_before`]. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this item is private [INFO] [stderr] | [INFO] [stderr] = note: this link will resolve properly if you pass `--document-private-items` [INFO] [stderr] [INFO] [stderr] warning: public documentation for `from_node_kind` links to private item `Builder::block` [INFO] [stderr] --> src/wysiwyg.rs:215:59 [INFO] [stderr] | [INFO] [stderr] 215 | /// Classify a twig node kind — the same vocabulary [`Builder::block`] [INFO] [stderr] | ^^^^^^^^^^^^^^ this item is private [INFO] [stderr] | [INFO] [stderr] = note: this link will resolve properly if you pass `--document-private-items` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `VRow::image` [INFO] [stderr] --> src/wysiwyg.rs:356:68 [INFO] [stderr] | [INFO] [stderr] 356 | /// core does no I/O and can't measure the image itself. See [`VRow::image`]. [INFO] [stderr] | ^^^^^^^^^^^ the struct `VRow` has no field or associated item named `image` [INFO] [stderr] [INFO] [stderr] warning: public documentation for `code_blocks` links to private item `collect_stops` [INFO] [stderr] --> src/wysiwyg.rs:429:36 [INFO] [stderr] | [INFO] [stderr] 429 | /// row reuse), the same way [`collect_stops`] derives the stop table. [INFO] [stderr] | ^^^^^^^^^^^^^ this item is private [INFO] [stderr] | [INFO] [stderr] = note: this link will resolve properly if you pass `--document-private-items` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `VRow::image` [INFO] [stderr] --> src/wysiwyg.rs:435:11 [INFO] [stderr] | [INFO] [stderr] 435 | /// [`VRow::image`] mark once the rows are final (so it survives incremental [INFO] [stderr] | ^^^^^^^^^^^ the struct `VRow` has no field or associated item named `image` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `VisualMap::images` [INFO] [stderr] --> src/wysiwyg.rs:442:47 [INFO] [stderr] | [INFO] [stderr] 442 | /// rows are final, exactly as [`images`](VisualMap::images) is. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ the struct `VisualMap` has no field or associated item named `images` [INFO] [stderr] [INFO] [stderr] warning: public documentation for `offset_of_pos` links to private item `VRow::glyph_at_col` [INFO] [stderr] --> src/wysiwyg.rs:599:38 [INFO] [stderr] | [INFO] [stderr] 599 | /// far cell of a wide glyph — [`VRow::glyph_at_col`] is where that lands. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ this item is private [INFO] [stderr] | [INFO] [stderr] = note: this link will resolve properly if you pass `--document-private-items` [INFO] [stderr] [INFO] [stderr] warning: public documentation for `block_media_stop` links to private item `Builder::block_media` [INFO] [stderr] --> src/wysiwyg.rs:632:25 [INFO] [stderr] | [INFO] [stderr] 632 | /// [`block_media`](Builder::block_media) gives a block-level image, video, or [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ this item is private [INFO] [stderr] | [INFO] [stderr] = note: this link will resolve properly if you pass `--document-private-items` [INFO] [stderr] [INFO] [stderr] warning: public documentation for `visible_text` links to private item `push_text` [INFO] [stderr] --> src/wysiwyg.rs:797:11 [INFO] [stderr] | [INFO] [stderr] 797 | /// [`push_text`]/[`synth`] — so it contributes nothing; what's left is [INFO] [stderr] | ^^^^^^^^^ this item is private [INFO] [stderr] | [INFO] [stderr] = note: this link will resolve properly if you pass `--document-private-items` [INFO] [stderr] [INFO] [stderr] warning: public documentation for `visible_text` links to private item `synth` [INFO] [stderr] --> src/wysiwyg.rs:797:25 [INFO] [stderr] | [INFO] [stderr] 797 | /// [`push_text`]/[`synth`] — so it contributes nothing; what's left is [INFO] [stderr] | ^^^^^ this item is private [INFO] [stderr] | [INFO] [stderr] = note: this link will resolve properly if you pass `--document-private-items` [INFO] [stderr] [INFO] [stderr] warning: public documentation for `visible_text` links to private item `collect_stops` [INFO] [stderr] --> src/wysiwyg.rs:813:51 [INFO] [stderr] | [INFO] [stderr] 813 | /// indistinguishable from one run of text: [`collect_stops`] gives a [INFO] [stderr] | ^^^^^^^^^^^^^ this item is private [INFO] [stderr] | [INFO] [stderr] = note: this link will resolve properly if you pass `--document-private-items` [INFO] [stderr] [INFO] [stderr] warning: public documentation for `build_spliced` links to private item `Layout` [INFO] [stderr] --> src/wysiwyg.rs:1294:59 [INFO] [stderr] | [INFO] [stderr] 1294 | /// by matching the new `top` list against the previous [`Layout`] block for [INFO] [stderr] | ^^^^^^ this item is private [INFO] [stderr] | [INFO] [stderr] = note: this link will resolve properly if you pass `--document-private-items` [INFO] [stderr] [INFO] [stderr] warning: public documentation for `CodeBlockInfo` links to private item `code_block_spans` [INFO] [stderr] --> src/wysiwyg.rs:3956:7 [INFO] [stderr] | [INFO] [stderr] 3956 | /// [`code_block_spans`]. [INFO] [stderr] | ^^^^^^^^^^^^^^^^ this item is private [INFO] [stderr] | [INFO] [stderr] = note: this link will resolve properly if you pass `--document-private-items` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `VRow::image` [INFO] [stderr] --> src/wysiwyg.rs:3977:12 [INFO] [stderr] | [INFO] [stderr] 3977 | /// from [`VRow::image`] by [`media_spans`], so it survives the row reuse of [INFO] [stderr] | ^^^^^^^^^^^ the struct `VRow` has no field or associated item named `image` [INFO] [stderr] [INFO] [stderr] warning: public documentation for `MediaInfo` links to private item `media_spans` [INFO] [stderr] --> src/wysiwyg.rs:3977:31 [INFO] [stderr] | [INFO] [stderr] 3977 | /// from [`VRow::image`] by [`media_spans`], so it survives the row reuse of [INFO] [stderr] | ^^^^^^^^^^^ this item is private [INFO] [stderr] | [INFO] [stderr] = note: this link will resolve properly if you pass `--document-private-items` [INFO] [stderr] [INFO] [stderr] warning: public documentation for `DirectiveInfo` links to private item `directive_spans` [INFO] [stderr] --> src/wysiwyg.rs:4016:35 [INFO] [stderr] | [INFO] [stderr] 4016 | /// [`VRow::leaf_directive`] by [`directive_spans`]. [INFO] [stderr] | ^^^^^^^^^^^^^^^ this item is private [INFO] [stderr] | [INFO] [stderr] = note: this link will resolve properly if you pass `--document-private-items` [INFO] [stderr] [INFO] [stderr] warning: `leaf-core` (lib doc) generated 27 warnings [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.10s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/leaf_core/index.html [INFO] running `Command { std: "docker" "inspect" "c7b0136a9ca5d0e2bdee06be7fcdb6fc40a57a7766d29f52e711927060ba3c77", kill_on_drop: false }`