icon-loader 0.4.1

Crate to load and cache themed icons in 100% safe rust.
Documentation

Build #3676632 2026-06-24 15:39:44

# rustc version rustc 1.98.0-nightly (f28ac764c 2026-06-23)

# docs.rs version docsrs 0.0.0 (886bc7a22b1adc4b387ce1343447fe3af98d9ce5 2026-06-14 )

# 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" "af0ccbfdba22ccb2f60557fd5b9431f813d81a15a3068997ee8dfcb285186b4c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20260623-1.98.0-nightly-f28ac764c\", \"--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: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Documenting icon-loader v0.4.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: unresolved link to `icon::IconFile` [INFO] [stderr] --> src/icon.rs:101:75 [INFO] [stderr] | [INFO] [stderr] 101 | /// * `filter` - A function that takes a reference to an [`IconFile`](icon::IconFile) and returns true, if it passes the test a... [INFO] [stderr] | ^^^^^^^^^^^^^^ no item named `icon` in scope [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/lib.rs:6:37 [INFO] [stderr] | [INFO] [stderr] 6 | //! * Using a global [`IconLoader`](IconLoader) object to load icons from the systems `hicolor` icon theme: [INFO] [stderr] | ------------ ^^^^^^^^^^ explicit target is redundant [INFO] [stderr] | | [INFO] [stderr] | because label contains path that resolves to same destination [INFO] [stderr] | [INFO] [stderr] = note: when a link's destination is not specified, [INFO] [stderr] the label is used to resolve intra-doc links [INFO] [stderr] = note: `#[warn(rustdoc::redundant_explicit_links)]` on by default [INFO] [stderr] help: remove explicit link target [INFO] [stderr] | [INFO] [stderr] 6 - //! * Using a global [`IconLoader`](IconLoader) object to load icons from the systems `hicolor` icon theme: [INFO] [stderr] 6 + //! * Using a global [`IconLoader`] object to load icons from the systems `hicolor` icon theme: [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/lib.rs:63:66 [INFO] [stderr] | [INFO] [stderr] 63 | /// This function returns a reference to a global [`IconLoader`](IconLoader) object with default settings. [INFO] [stderr] | ------------ ^^^^^^^^^^ explicit target is redundant [INFO] [stderr] | | [INFO] [stderr] | because label contains path that resolves to same destination [INFO] [stderr] | [INFO] [stderr] = note: when a link's destination is not specified, [INFO] [stderr] the label is used to resolve intra-doc links [INFO] [stderr] help: remove explicit link target [INFO] [stderr] | [INFO] [stderr] 63 - /// This function returns a reference to a global [`IconLoader`](IconLoader) object with default settings. [INFO] [stderr] 63 + /// This function returns a reference to a global [`IconLoader`] object with default settings. [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `icon-loader` (lib doc) generated 3 warnings [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.48s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/icon_loader/index.html [INFO] running `Command { std: "docker" "inspect" "af0ccbfdba22ccb2f60557fd5b9431f813d81a15a3068997ee8dfcb285186b4c", kill_on_drop: false }`