skeletonize 0.2.0

A crate for line thinning binary images, includes edge detection and threshold functions for preprocessing.
Documentation
Build #2544283 2025-09-28 20:24:51
# rustc version
rustc 1.92.0-nightly (4082d6a3f 2025-09-27)# docs.rs version
docsrs 0.6.0 (f42173de 2025-09-12)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/skeletonize-0.2.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/skeletonize-0.2.0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder/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\", \"-20250927-1.92.0-nightly-4082d6a3f\", \"--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] 63c4e63736e582904e9502a59fe5048e7afa8132c3a2fc6ed145206bad605b61
[INFO] running `Command { std: "docker" "start" "-a" "63c4e63736e582904e9502a59fe5048e7afa8132c3a2fc6ed145206bad605b61", kill_on_drop: false }`
[INFO] [stderr] warning: Rustdoc did not scrape the following examples because they require dev-dependencies: skeletonize
[INFO] [stderr]     If you want Rustdoc to scrape these examples, then add `doc-scrape-examples = true`
[INFO] [stderr]     to the [[example]] target configuration of at least one example.
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting skeletonize v0.2.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]   --> src/lib.rs:17:37
[INFO] [stderr]    |
[INFO] [stderr] 17 | //! The generic [`ForegroundColor`](crate::ForegroundColor) parameter on
[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] 17 - //! The generic [`ForegroundColor`](crate::ForegroundColor) parameter on
[INFO] [stderr] 17 + //! The generic [`ForegroundColor`] parameter on
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]   --> src/lib.rs:18:31
[INFO] [stderr]    |
[INFO] [stderr] 18 | //! [`edge_detection::sobel`][sobel], [`edge_detection::sobel4`][sobel4], and
[INFO] [stderr]    |      -----------------------  ^^^^^ explicit target is redundant
[INFO] [stderr]    |      |
[INFO] [stderr]    |      because label contains path that resolves to same destination
[INFO] [stderr]    |
[INFO] [stderr] note: referenced explicit link target defined here
[INFO] [stderr]   --> src/lib.rs:27:14
[INFO] [stderr]    |
[INFO] [stderr] 27 | //! [sobel]: crate::edge_detection::sobel
[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] 18 - //! [`edge_detection::sobel`][sobel], [`edge_detection::sobel4`][sobel4], and
[INFO] [stderr] 18 + //! [`edge_detection::sobel`], [`edge_detection::sobel4`][sobel4], and
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]   --> src/lib.rs:18:66
[INFO] [stderr]    |
[INFO] [stderr] 18 | //! [`edge_detection::sobel`][sobel], [`edge_detection::sobel4`][sobel4], and
[INFO] [stderr]    |                                        ------------------------  ^^^^^^ explicit target is redundant
[INFO] [stderr]    |                                        |
[INFO] [stderr]    |                                        because label contains path that resolves to same destination
[INFO] [stderr]    |
[INFO] [stderr] note: referenced explicit link target defined here
[INFO] [stderr]   --> src/lib.rs:28:15
[INFO] [stderr]    |
[INFO] [stderr] 28 | //! [sobel4]: crate::edge_detection::sobel4
[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] 18 - //! [`edge_detection::sobel`][sobel], [`edge_detection::sobel4`][sobel4], and
[INFO] [stderr] 18 + //! [`edge_detection::sobel`][sobel], [`edge_detection::sobel4`], and
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]   --> src/lib.rs:19:26
[INFO] [stderr]    |
[INFO] [stderr] 19 | //! [`thin_image_edges`](crate::thin_image_edges) specifies what foreground and
[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] 19 - //! [`thin_image_edges`](crate::thin_image_edges) specifies what foreground and
[INFO] [stderr] 19 + //! [`thin_image_edges`] specifies what foreground and
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]   --> src/lib.rs:21:26
[INFO] [stderr]    |
[INFO] [stderr] 21 | //! [`thin_image_edges`](crate::thin_image_edges) image will produce. The
[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] 21 - //! [`thin_image_edges`](crate::thin_image_edges) image will produce. The
[INFO] [stderr] 21 + //! [`thin_image_edges`] image will produce. The
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]   --> src/edge_detection.rs:35:51
[INFO] [stderr]    |
[INFO] [stderr] 35 | /// Detect edges in an image using [`SOBEL_EAST`](SOBEL_EAST) and
[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] 35 - /// Detect edges in an image using [`SOBEL_EAST`](SOBEL_EAST) and
[INFO] [stderr] 35 + /// Detect edges in an image using [`SOBEL_EAST`] and
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]   --> src/edge_detection.rs:36:21
[INFO] [stderr]    |
[INFO] [stderr] 36 | /// [`SOBEL_NORTH`](SOBEL_NORTH) gradient operators.
[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] 36 - /// [`SOBEL_NORTH`](SOBEL_NORTH) gradient operators.
[INFO] [stderr] 36 + /// [`SOBEL_NORTH`] gradient operators.
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]   --> src/edge_detection.rs:78:21
[INFO] [stderr]    |
[INFO] [stderr] 78 | /// [`SOBEL_NORTH`](SOBEL_NORTH), [`SOBEL_SOUTH`](SOBEL_SOUTH),
[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] 78 - /// [`SOBEL_NORTH`](SOBEL_NORTH), [`SOBEL_SOUTH`](SOBEL_SOUTH),
[INFO] [stderr] 78 + /// [`SOBEL_NORTH`], [`SOBEL_SOUTH`](SOBEL_SOUTH),
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]   --> src/edge_detection.rs:78:51
[INFO] [stderr]    |
[INFO] [stderr] 78 | /// [`SOBEL_NORTH`](SOBEL_NORTH), [`SOBEL_SOUTH`](SOBEL_SOUTH),
[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] 78 - /// [`SOBEL_NORTH`](SOBEL_NORTH), [`SOBEL_SOUTH`](SOBEL_SOUTH),
[INFO] [stderr] 78 + /// [`SOBEL_NORTH`](SOBEL_NORTH), [`SOBEL_SOUTH`],
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]   --> src/edge_detection.rs:79:20
[INFO] [stderr]    |
[INFO] [stderr] 79 | /// [`SOBEL_EAST`](SOBEL_EAST), and [`SOBEL_WEST`](SOBEL_WEST).
[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] 79 - /// [`SOBEL_EAST`](SOBEL_EAST), and [`SOBEL_WEST`](SOBEL_WEST).
[INFO] [stderr] 79 + /// [`SOBEL_EAST`], and [`SOBEL_WEST`](SOBEL_WEST).
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]   --> src/edge_detection.rs:79:52
[INFO] [stderr]    |
[INFO] [stderr] 79 | /// [`SOBEL_EAST`](SOBEL_EAST), and [`SOBEL_WEST`](SOBEL_WEST).
[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] 79 - /// [`SOBEL_EAST`](SOBEL_EAST), and [`SOBEL_WEST`](SOBEL_WEST).
[INFO] [stderr] 79 + /// [`SOBEL_EAST`](SOBEL_EAST), and [`SOBEL_WEST`].
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]   --> src/neighbors.rs:17:25
[INFO] [stderr]    |
[INFO] [stderr] 17 |     /// [`Edge::Empty`](crate::Edge::Empty) to
[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] 17 -     /// [`Edge::Empty`](crate::Edge::Empty) to
[INFO] [stderr] 17 +     /// [`Edge::Empty`] to
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]   --> src/neighbors.rs:18:26
[INFO] [stderr]    |
[INFO] [stderr] 18 |     /// [`Edge::Filled`](crate::Edge::Filled).
[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] 18 -     /// [`Edge::Filled`](crate::Edge::Filled).
[INFO] [stderr] 18 +     /// [`Edge::Filled`].
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]   --> src/neighbors.rs:33:45
[INFO] [stderr]    |
[INFO] [stderr] 33 | /// Calculate and return a [`NeighborInfo`](crate::neighbors::NeighborInfo)
[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] 33 - /// Calculate and return a [`NeighborInfo`](crate::neighbors::NeighborInfo)
[INFO] [stderr] 33 + /// Calculate and return a [`NeighborInfo`]
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:123:44
[INFO] [stderr]     |
[INFO] [stderr] 123 | /// Implementations of [`ForegroundColor`](crate::ForegroundColor).
[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] 123 - /// Implementations of [`ForegroundColor`](crate::ForegroundColor).
[INFO] [stderr] 123 + /// Implementations of [`ForegroundColor`].
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: `skeletonize` (lib doc) generated 15 warnings
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.41s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/skeletonize/index.html
[INFO] running `Command { std: "docker" "inspect" "63c4e63736e582904e9502a59fe5048e7afa8132c3a2fc6ed145206bad605b61", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "63c4e63736e582904e9502a59fe5048e7afa8132c3a2fc6ed145206bad605b61", kill_on_drop: false }`
[INFO] [stdout] 63c4e63736e582904e9502a59fe5048e7afa8132c3a2fc6ed145206bad605b61