css-inline 0.23.1

High-performance library for inlining CSS into HTML 'style' attributes
Documentation

Build #5032619 2026-10-27 10:17:55

# rustc version rustc 1.101.0-nightly (16d1ffac1 2026-10-26)

# docs.rs version docsrs 0.0.0 (ca50bb9ce3590453e5c5a422d0cdc34eeef12c58 2026-10-27 )

# build log [INFO] adding target x86_64-unknown-linux-gnu for toolchain nightly [INFO] running `"rustup" "target" "add" "--toolchain" "nightly" "x86_64-unknown-linux-gnu"` [INFO] [stderr] info: component rust-std is up to date [INFO] running `"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" "9f17a232e3f96e7352aa669e72524c41c9761d95ecb9e7188b65c5e571e5026c" "/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\", \"-20261026-1.101.0-nightly-16d1ffac1\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--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"` [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Documenting css-inline v0.23.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: improperly nested Markdown paragraph in HTML `style` tag [INFO] [stderr] --> src/lib.rs:751:9 [INFO] [stderr] | [INFO] [stderr] 751 | /// Inline CSS styles from <style> tags to matching elements in the HTML tree and return a [INFO] [stderr] | _________^ [INFO] [stderr] 752 | | /// string. [INFO] [stderr] 753 | | /// [INFO] [stderr] | |_^ Markdown translates this into HTML, but the browser parses it as CSS [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(rustdoc::invalid_html_tags)]` on by default [INFO] [stderr] help: to turn off Markdown parsing, put the tag at the start of the line [INFO] [stderr] | [INFO] [stderr] 751 ~ /// Inline CSS styles from [INFO] [stderr] 752 ~ /// <style> tags to matching elements in the HTML tree and return a [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: nested Markdown heading in HTML `style` tag [INFO] [stderr] --> src/lib.rs:754:9 [INFO] [stderr] | [INFO] [stderr] 754 | /// # Errors [INFO] [stderr] | _________^ [INFO] [stderr] 755 | | /// [INFO] [stderr] | |_^ Markdown translates this into HTML, but the browser parses it as CSS [INFO] [stderr] | [INFO] [stderr] help: to turn off Markdown parsing, put the tag at the start of the line [INFO] [stderr] | [INFO] [stderr] 751 ~ /// Inline CSS styles from [INFO] [stderr] 752 ~ /// <style> tags to matching elements in the HTML tree and return a [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: nested Markdown paragraph in HTML `style` tag [INFO] [stderr] --> src/lib.rs:756:9 [INFO] [stderr] | [INFO] [stderr] 756 | /// Inlining might fail for the following reasons: [INFO] [stderr] | _________^ [INFO] [stderr] 757 | | /// - Missing stylesheet file; [INFO] [stderr] | |________^ Markdown translates this into HTML, but the browser parses it as CSS [INFO] [stderr] | [INFO] [stderr] help: to turn off Markdown parsing, put the tag at the start of the line [INFO] [stderr] | [INFO] [stderr] 751 ~ /// Inline CSS styles from [INFO] [stderr] 752 ~ /// <style> tags to matching elements in the HTML tree and return a [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: nested Markdown bulleted list in HTML `style` tag [INFO] [stderr] --> src/lib.rs:757:9 [INFO] [stderr] | [INFO] [stderr] 757 | /// - Missing stylesheet file; [INFO] [stderr] | _________^ [INFO] [stderr] 758 | | /// - Remote stylesheet is not available; [INFO] [stderr] 759 | | /// - IO errors; [INFO] [stderr] 760 | | /// - Internal CSS selector parsing error; [INFO] [stderr] 761 | | /// [INFO] [stderr] 762 | | /// # Panics [INFO] [stderr] | |________^ Markdown translates this into HTML, but the browser parses it as CSS [INFO] [stderr] | [INFO] [stderr] help: to turn off Markdown parsing, put the tag at the start of the line [INFO] [stderr] | [INFO] [stderr] 751 ~ /// Inline CSS styles from [INFO] [stderr] 752 ~ /// <style> tags to matching elements in the HTML tree and return a [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: nested Markdown list item in HTML `style` tag [INFO] [stderr] --> src/lib.rs:757:9 [INFO] [stderr] | [INFO] [stderr] 757 | /// - Missing stylesheet file; [INFO] [stderr] | _________^ [INFO] [stderr] 758 | | /// - Remote stylesheet is not available; [INFO] [stderr] | |________^ Markdown translates this into HTML, but the browser parses it as CSS [INFO] [stderr] | [INFO] [stderr] help: to turn off Markdown parsing, put the tag at the start of the line [INFO] [stderr] | [INFO] [stderr] 751 ~ /// Inline CSS styles from [INFO] [stderr] 752 ~ /// <style> tags to matching elements in the HTML tree and return a [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: nested Markdown list item in HTML `style` tag [INFO] [stderr] --> src/lib.rs:758:9 [INFO] [stderr] | [INFO] [stderr] 758 | /// - Remote stylesheet is not available; [INFO] [stderr] | _________^ [INFO] [stderr] 759 | | /// - IO errors; [INFO] [stderr] | |________^ Markdown translates this into HTML, but the browser parses it as CSS [INFO] [stderr] | [INFO] [stderr] help: to turn off Markdown parsing, put the tag at the start of the line [INFO] [stderr] | [INFO] [stderr] 751 ~ /// Inline CSS styles from [INFO] [stderr] 752 ~ /// <style> tags to matching elements in the HTML tree and return a [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: nested Markdown list item in HTML `style` tag [INFO] [stderr] --> src/lib.rs:759:9 [INFO] [stderr] | [INFO] [stderr] 759 | /// - IO errors; [INFO] [stderr] | _________^ [INFO] [stderr] 760 | | /// - Internal CSS selector parsing error; [INFO] [stderr] | |________^ Markdown translates this into HTML, but the browser parses it as CSS [INFO] [stderr] | [INFO] [stderr] help: to turn off Markdown parsing, put the tag at the start of the line [INFO] [stderr] | [INFO] [stderr] 751 ~ /// Inline CSS styles from [INFO] [stderr] 752 ~ /// <style> tags to matching elements in the HTML tree and return a [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: nested Markdown list item in HTML `style` tag [INFO] [stderr] --> src/lib.rs:760:9 [INFO] [stderr] | [INFO] [stderr] 760 | /// - Internal CSS selector parsing error; [INFO] [stderr] | _________^ [INFO] [stderr] 761 | | /// [INFO] [stderr] 762 | | /// # Panics [INFO] [stderr] | |________^ Markdown translates this into HTML, but the browser parses it as CSS [INFO] [stderr] | [INFO] [stderr] help: to turn off Markdown parsing, put the tag at the start of the line [INFO] [stderr] | [INFO] [stderr] 751 ~ /// Inline CSS styles from [INFO] [stderr] 752 ~ /// <style> tags to matching elements in the HTML tree and return a [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: nested Markdown heading in HTML `style` tag [INFO] [stderr] --> src/lib.rs:762:9 [INFO] [stderr] | [INFO] [stderr] 762 | /// # Panics [INFO] [stderr] | _________^ [INFO] [stderr] 763 | | /// [INFO] [stderr] | |_^ Markdown translates this into HTML, but the browser parses it as CSS [INFO] [stderr] | [INFO] [stderr] help: to turn off Markdown parsing, put the tag at the start of the line [INFO] [stderr] | [INFO] [stderr] 751 ~ /// Inline CSS styles from [INFO] [stderr] 752 ~ /// <style> tags to matching elements in the HTML tree and return a [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: nested Markdown paragraph in HTML `style` tag [INFO] [stderr] --> src/lib.rs:764:9 [INFO] [stderr] | [INFO] [stderr] 764 | /// This function may panic if external stylesheet cache lock is poisoned, i.e. another thread [INFO] [stderr] | _________^ [INFO] [stderr] 765 | | /// using the same inliner panicked while resolving external stylesheets. [INFO] [stderr] | |_____________________________________________________________________________^ Markdown translates this into HTML, but the browser parses it as CSS [INFO] [stderr] | [INFO] [stderr] help: to turn off Markdown parsing, put the tag at the start of the line [INFO] [stderr] | [INFO] [stderr] 751 ~ /// Inline CSS styles from [INFO] [stderr] 752 ~ /// <style> tags to matching elements in the HTML tree and return a [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unclosed HTML tag `style` [INFO] [stderr] --> src/lib.rs:751:32 [INFO] [stderr] | [INFO] [stderr] 751 | /// Inline CSS styles from <style> tags to matching elements in the HTML tree and return a [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `css-inline` (lib doc) generated 11 warnings (run `cargo fix --lib -p css-inline` to apply 10 suggestions) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.53s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/css_inline/index.html [INFO] running `"docker" "inspect" "9f17a232e3f96e7352aa669e72524c41c9761d95ecb9e7188b65c5e571e5026c"`