webfluent 0.4.0-alpha

The Web-First Language — compiles to HTML, CSS, JavaScript, and PDF. 50+ built-in components, reactivity, routing, i18n, SSG, and template engine.
Documentation
Build #3072320 2026-03-28 05:55:45

# rustc version rustc 1.96.0-nightly (fda6d37bb 2026-03-27)

# docs.rs version docsrs 0.0.0 (da7690ee 2026-03-15 )

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/webfluent-0.4.0-alpha/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/webfluent-0.4.0-alpha/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20260327-1.96.0-nightly-fda6d37bb\", \"--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: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7a85c67e167076bbf7a2f2b4c87d678cd71a28c37b9136628c30ea118c61ae22 [INFO] running `Command { std: "docker" "start" "-a" "7a85c67e167076bbf7a2f2b4c87d678cd71a28c37b9136628c30ea118c61ae22", kill_on_drop: false }` [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Documenting webfluent v0.4.0-alpha (/opt/rustwide/workdir) [INFO] [stderr] warning: unresolved link to `Token` [INFO] [stderr] | [INFO] [stderr] = note: the link appears in this line: [INFO] [stderr] [INFO] [stderr] Converts `.wf` source text into a stream of [`Token`]s, handling keywords, [INFO] [stderr] ^^^^^^^ [INFO] [stderr] = note: no item named `Token` in scope [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `Program` [INFO] [stderr] | [INFO] [stderr] = note: the link appears in this line: [INFO] [stderr] [INFO] [stderr] Consumes a token stream from the [`crate::lexer`] and produces a [`Program`] AST [INFO] [stderr] ^^^^^^^^^ [INFO] [stderr] = note: no item named `Program` in scope [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `html` [INFO] [stderr] | [INFO] [stderr] = note: the link appears in this line: [INFO] [stderr] [INFO] [stderr] - [`html`] — generates the HTML entry point (`index.html`) [INFO] [stderr] ^^^^^^ [INFO] [stderr] = note: no item named `html` in scope [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `css` [INFO] [stderr] | [INFO] [stderr] = note: the link appears in this line: [INFO] [stderr] [INFO] [stderr] - [`css`] — generates design tokens and component styles (`styles.css`) [INFO] [stderr] ^^^^^ [INFO] [stderr] = note: no item named `css` in scope [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `js` [INFO] [stderr] | [INFO] [stderr] = note: the link appears in this line: [INFO] [stderr] [INFO] [stderr] - [`js`] — generates the JavaScript bundle with reactivity and routing (`app.js`) [INFO] [stderr] ^^^^ [INFO] [stderr] = note: no item named `js` in scope [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `ssg` [INFO] [stderr] | [INFO] [stderr] = note: the link appears in this line: [INFO] [stderr] [INFO] [stderr] - [`ssg`] — pre-renders pages to static HTML for SSG mode [INFO] [stderr] ^^^^^ [INFO] [stderr] = note: no item named `ssg` in scope [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `pdf` [INFO] [stderr] | [INFO] [stderr] = note: the link appears in this line: [INFO] [stderr] [INFO] [stderr] - [`pdf`] — generates PDF documents with layout, tables, and typography [INFO] [stderr] ^^^^^ [INFO] [stderr] = note: no item named `pdf` in scope [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `get_theme_tokens` [INFO] [stderr] | [INFO] [stderr] = note: the link appears in this line: [INFO] [stderr] [INFO] [stderr] - [`get_theme_tokens`] — returns CSS custom properties for a given theme name [INFO] [stderr] ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: no item named `get_theme_tokens` in scope [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `component_css` [INFO] [stderr] | [INFO] [stderr] = note: the link appears in this line: [INFO] [stderr] [INFO] [stderr] - [`component_css`] — returns all component-level CSS rules [INFO] [stderr] ^^^^^^^^^^^^^^^ [INFO] [stderr] = note: no item named `component_css` in scope [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `lint_accessibility` [INFO] [stderr] | [INFO] [stderr] = note: the link appears in this line: [INFO] [stderr] [INFO] [stderr] - [`lint_accessibility`] — 12 WCAG-based checks (missing alt text, form labels, heading hierarchy, etc.) [INFO] [stderr] ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: no item named `lint_accessibility` in scope [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `validate_for_pdf` [INFO] [stderr] | [INFO] [stderr] = note: the link appears in this line: [INFO] [stderr] [INFO] [stderr] - [`validate_for_pdf`] — ensures interactive components aren't used in PDF output [INFO] [stderr] ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: no item named `validate_for_pdf` in scope [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: `webfluent` (lib doc) generated 11 warnings [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.75s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/webfluent/index.html [INFO] running `Command { std: "docker" "inspect" "7a85c67e167076bbf7a2f2b4c87d678cd71a28c37b9136628c30ea118c61ae22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a85c67e167076bbf7a2f2b4c87d678cd71a28c37b9136628c30ea118c61ae22", kill_on_drop: false }` [INFO] [stdout] 7a85c67e167076bbf7a2f2b4c87d678cd71a28c37b9136628c30ea118c61ae22