libui 0.4.0

A native, cross-platform and lightweight UI toolkit.
Documentation
Build #2535457 2025-09-25 23:04:31

# rustc version rustc 1.92.0-nightly (caccb4d03 2025-09-24)

# docs.rs version docsrs 0.6.0 (f42173de 2025-09-12)

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/libui-0.4.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/libui-0.4.0/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250924-1.92.0-nightly-caccb4d03\", \"--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] ea90d54ab66cf79ef0d1335fcb571a61bf6f8b9d3f9c1c647072e6d2cca18379 [INFO] running `Command { std: "docker" "start" "-a" "ea90d54ab66cf79ef0d1335fcb571a61bf6f8b9d3f9c1c647072e6d2cca18379", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/draw/brush.rs:25:33 [INFO] [stderr] | [INFO] [stderr] 25 | pub fn as_ui_draw_brush_ref(&self, _ctx: &DrawContext) -> BrushRef { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 25 | pub fn as_ui_draw_brush_ref(&self, _ctx: &DrawContext) -> BrushRef<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/draw/strokeparams.rs:26:33 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn as_stroke_params_ref(&self, _ctx: &DrawContext) -> StrokeParamsRef { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 26 | pub fn as_stroke_params_ref(&self, _ctx: &DrawContext) -> StrokeParamsRef<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/ui.rs:121:23 [INFO] [stderr] | [INFO] [stderr] 121 | pub fn event_loop(&self) -> EventLoop { [INFO] [stderr] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 121 | pub fn event_loop(&self) -> EventLoop<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `libui` (lib) generated 3 warnings (run `cargo fix --lib -p libui` to apply 3 suggestions) [INFO] [stderr] Scraping libui v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Documenting libui v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.27s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/libui/index.html [INFO] running `Command { std: "docker" "inspect" "ea90d54ab66cf79ef0d1335fcb571a61bf6f8b9d3f9c1c647072e6d2cca18379", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea90d54ab66cf79ef0d1335fcb571a61bf6f8b9d3f9c1c647072e6d2cca18379", kill_on_drop: false }` [INFO] [stdout] ea90d54ab66cf79ef0d1335fcb571a61bf6f8b9d3f9c1c647072e6d2cca18379