cssparser 0.38.0

Rust implementation of CSS Syntax Level 3
Documentation

Build #4365000 2026-09-07 11:37:02

# rustc version rustc 1.100.0-nightly (5a2be9f5f 2026-09-06)

# docs.rs version docsrs 0.0.0 (c6ca30c0fecf66cc5a0859ac541222ca6c912d59 2026-09-01 )

# 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" "b9730e4948969d90b0a8c4179bd5d83baef03769bcf7cf15b99053004386d32d" "/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\", \"-20260906-1.100.0-nightly-5a2be9f5f\", \"--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\"" "-j12" "--target" "x86_64-unknown-linux-gnu" "-Zrustdoc-scrape-examples", kill_on_drop: false }` [INFO] [stderr] warning: explicit `package.readme` can be inferred [INFO] [stderr] --> Cargo.toml:64:1 [INFO] [stderr] | [INFO] [stderr] 64 | readme = "README.md" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::manual_readme` is set to `warn` by default [INFO] [stderr] help: consider removing `package.readme` [INFO] [stderr] warning: `cssparser` (manifest) generated 1 warning [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Documenting cssparser v0.38.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: this URL is not a hyperlink [INFO] [stderr] --> src/from_bytes.rs:10:9 [INFO] [stderr] | [INFO] [stderr] 10 | /// https://encoding.spec.whatwg.org/#concept-encoding-get [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: bare URLs are not automatically turned into clickable links [INFO] [stderr] = note: `#[warn(rustdoc::bare_urls)]` on by default [INFO] [stderr] help: use an automatic link instead [INFO] [stderr] | [INFO] [stderr] 10 | /// <https://encoding.spec.whatwg.org/#concept-encoding-get> [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] warning: this URL is not a hyperlink [INFO] [stderr] --> src/from_bytes.rs:29:8 [INFO] [stderr] | [INFO] [stderr] 29 | /// (https://drafts.csswg.org/css-syntax/#environment-encoding), if any. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: bare URLs are not automatically turned into clickable links [INFO] [stderr] help: use an automatic link instead [INFO] [stderr] | [INFO] [stderr] 29 | /// (<https://drafts.csswg.org/css-syntax/#environment-encoding>), if any. [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] warning: unclosed HTML tag `whitespace-token` [INFO] [stderr] --> src/parser.rs:771:17 [INFO] [stderr] | [INFO] [stderr] 771 | /// Parse a <whitespace-token> and return its value. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(rustdoc::invalid_html_tags)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unclosed HTML tag `ident-token` [INFO] [stderr] --> src/parser.rs:780:17 [INFO] [stderr] | [INFO] [stderr] 780 | /// Parse a <ident-token> and return the unescaped value. [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unclosed HTML tag `ident-token` [INFO] [stderr] --> src/parser.rs:794:17 [INFO] [stderr] | [INFO] [stderr] 794 | /// Parse a <ident-token> whose unescaped value is an ASCII-insensitive match for the given value. [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unclosed HTML tag `string-token` [INFO] [stderr] --> src/parser.rs:802:17 [INFO] [stderr] | [INFO] [stderr] 802 | /// Parse a <string-token> and return the unescaped value. [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unclosed HTML tag `ident-token` [INFO] [stderr] --> src/parser.rs:816:24 [INFO] [stderr] | [INFO] [stderr] 816 | /// Parse either a <ident-token> or a <string-token>, and return the unescaped value. [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unclosed HTML tag `string-token` [INFO] [stderr] --> src/parser.rs:816:43 [INFO] [stderr] | [INFO] [stderr] 816 | /// Parse either a <ident-token> or a <string-token>, and return the unescaped value. [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unclosed HTML tag `url-token` [INFO] [stderr] --> src/parser.rs:825:17 [INFO] [stderr] | [INFO] [stderr] 825 | /// Parse a <url-token> and return the unescaped value. [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unclosed HTML tag `url-token` [INFO] [stderr] --> src/parser.rs:839:24 [INFO] [stderr] | [INFO] [stderr] 839 | /// Parse either a <url-token> or a <string-token>, and return the unescaped value. [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unclosed HTML tag `string-token` [INFO] [stderr] --> src/parser.rs:839:41 [INFO] [stderr] | [INFO] [stderr] 839 | /// Parse either a <url-token> or a <string-token>, and return the unescaped value. [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unclosed HTML tag `number-token` [INFO] [stderr] --> src/parser.rs:854:17 [INFO] [stderr] | [INFO] [stderr] 854 | /// Parse a <number-token> and return the integer value. [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unclosed HTML tag `number-token` [INFO] [stderr] --> src/parser.rs:862:17 [INFO] [stderr] | [INFO] [stderr] 862 | /// Parse a <number-token> that does not have a fractional part, and return the integer value. [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unclosed HTML tag `percentage-token` [INFO] [stderr] --> src/parser.rs:870:17 [INFO] [stderr] | [INFO] [stderr] 870 | /// Parse a <percentage-token> and return the value. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unclosed HTML tag `colon-token` [INFO] [stderr] --> src/parser.rs:879:21 [INFO] [stderr] | [INFO] [stderr] 879 | /// Parse a `:` <colon-token>. [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unclosed HTML tag `semicolon-token` [INFO] [stderr] --> src/parser.rs:887:21 [INFO] [stderr] | [INFO] [stderr] 887 | /// Parse a `;` <semicolon-token>. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unclosed HTML tag `comma-token` [INFO] [stderr] --> src/parser.rs:895:21 [INFO] [stderr] | [INFO] [stderr] 895 | /// Parse a `,` <comma-token>. [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unclosed HTML tag `delim-token` [INFO] [stderr] --> src/parser.rs:903:17 [INFO] [stderr] | [INFO] [stderr] 903 | /// Parse a <delim-token> with the given value. [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unclosed HTML tag `function` [INFO] [stderr] --> src/parser.rs:941:17 [INFO] [stderr] | [INFO] [stderr] 941 | /// Parse a <function> token and return its name. [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unclosed HTML tag `function` [INFO] [stderr] --> src/parser.rs:951:17 [INFO] [stderr] | [INFO] [stderr] 951 | /// Parse a <function> token whose name is an ASCII-insensitive match for the given value. [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: this URL is not a hyperlink [INFO] [stderr] --> src/serializer.rs:492:13 [INFO] [stderr] | [INFO] [stderr] 492 | /// See https://drafts.csswg.org/css-syntax/#serialization [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: bare URLs are not automatically turned into clickable links [INFO] [stderr] help: use an automatic link instead [INFO] [stderr] | [INFO] [stderr] 492 | /// See <https://drafts.csswg.org/css-syntax/#serialization> [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] warning: this URL is not a hyperlink [INFO] [stderr] --> src/serializer.rs:494:13 [INFO] [stderr] | [INFO] [stderr] 494 | /// See https://github.com/w3c/csswg-drafts/issues/4088 for the [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: bare URLs are not automatically turned into clickable links [INFO] [stderr] help: use an automatic link instead [INFO] [stderr] | [INFO] [stderr] 494 | /// See <https://github.com/w3c/csswg-drafts/issues/4088> for the [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] warning: this URL is not a hyperlink [INFO] [stderr] --> src/unicode_range.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | //! https://drafts.csswg.org/css-syntax/#urange [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: bare URLs are not automatically turned into clickable links [INFO] [stderr] help: use an automatic link instead [INFO] [stderr] | [INFO] [stderr] 5 | //! <https://drafts.csswg.org/css-syntax/#urange> [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] warning: this URL is not a hyperlink [INFO] [stderr] --> src/unicode_range.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 26 | /// https://drafts.csswg.org/css-syntax/#urange-syntax [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: bare URLs are not automatically turned into clickable links [INFO] [stderr] help: use an automatic link instead [INFO] [stderr] | [INFO] [stderr] 26 | /// <https://drafts.csswg.org/css-syntax/#urange-syntax> [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] warning: this URL is not a hyperlink [INFO] [stderr] --> src/rules_and_declarations.rs:253:5 [INFO] [stderr] | [INFO] [stderr] 253 | /// https://drafts.csswg.org/css-syntax/#consume-a-blocks-contents [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: bare URLs are not automatically turned into clickable links [INFO] [stderr] help: use an automatic link instead [INFO] [stderr] | [INFO] [stderr] 253 | /// <https://drafts.csswg.org/css-syntax/#consume-a-blocks-contents> [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] warning: `cssparser` (lib doc) generated 25 warnings (run `cargo fix --lib -p cssparser` to apply 7 suggestions) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/cssparser/index.html [INFO] running `Command { std: "docker" "inspect" "b9730e4948969d90b0a8c4179bd5d83baef03769bcf7cf15b99053004386d32d", kill_on_drop: false }`