simplify-rs 0.1.4

Algorithm for converting points to smooth bezier curves, ported from paper.js
Documentation
Build #1169361 2024-03-25T22:38:33.130242+00:00
# rustc version
rustc 1.79.0-nightly (0824b300e 2024-03-24)
# docs.rs version
docsrs 0.6.0 (8b19841b 2024-03-22)

# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/simplify-rs-0.1.4/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/simplify-rs-0.1.4/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20240324-1.79.0-nightly-0824b300e\", \"--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] 8f67209a6abc1ddd7edea87dca55e1fea35d3e336a9ce23ea3989ca53b26bcd6
[INFO] running `Command { std: "docker" "start" "-a" "8f67209a6abc1ddd7edea87dca55e1fea35d3e336a9ce23ea3989ca53b26bcd6", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting simplify-rs v0.1.4 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unresolved link to `0`
[INFO] [stderr]    --> src/lib.rs:175:1
[INFO] [stderr]     |
[INFO] [stderr] 175 | / /// WASM function to simplify a path represented by a sequence of points
[INFO] [stderr] 176 | | /// to a bezier curve with a maximum error tolerance.
[INFO] [stderr] 177 | | /// The input points are expected to be in the format:
[INFO] [stderr] 178 | | /// [{x: 0, y: 0}, {x: 1, y: 1}, ...]
[INFO] [stderr] ...   |
[INFO] [stderr] 192 | | /// [2] = control point 2
[INFO] [stderr] 193 | | /// [3] = end point
[INFO] [stderr]     | |___________________^
[INFO] [stderr]     |
[INFO] [stderr]     = note: the link appears in this line:
[INFO] [stderr]             
[INFO] [stderr]             [0] = start point
[INFO] [stderr]              ^
[INFO] [stderr]     = note: no item named `0` 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 `1`
[INFO] [stderr]    --> src/lib.rs:175:1
[INFO] [stderr]     |
[INFO] [stderr] 175 | / /// WASM function to simplify a path represented by a sequence of points
[INFO] [stderr] 176 | | /// to a bezier curve with a maximum error tolerance.
[INFO] [stderr] 177 | | /// The input points are expected to be in the format:
[INFO] [stderr] 178 | | /// [{x: 0, y: 0}, {x: 1, y: 1}, ...]
[INFO] [stderr] ...   |
[INFO] [stderr] 192 | | /// [2] = control point 2
[INFO] [stderr] 193 | | /// [3] = end point
[INFO] [stderr]     | |___________________^
[INFO] [stderr]     |
[INFO] [stderr]     = note: the link appears in this line:
[INFO] [stderr]             
[INFO] [stderr]             [1] = control point 1
[INFO] [stderr]              ^
[INFO] [stderr]     = note: no item named `1` in scope
[INFO] [stderr]     = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `2`
[INFO] [stderr]    --> src/lib.rs:175:1
[INFO] [stderr]     |
[INFO] [stderr] 175 | / /// WASM function to simplify a path represented by a sequence of points
[INFO] [stderr] 176 | | /// to a bezier curve with a maximum error tolerance.
[INFO] [stderr] 177 | | /// The input points are expected to be in the format:
[INFO] [stderr] 178 | | /// [{x: 0, y: 0}, {x: 1, y: 1}, ...]
[INFO] [stderr] ...   |
[INFO] [stderr] 192 | | /// [2] = control point 2
[INFO] [stderr] 193 | | /// [3] = end point
[INFO] [stderr]     | |___________________^
[INFO] [stderr]     |
[INFO] [stderr]     = note: the link appears in this line:
[INFO] [stderr]             
[INFO] [stderr]             [2] = control point 2
[INFO] [stderr]              ^
[INFO] [stderr]     = note: no item named `2` in scope
[INFO] [stderr]     = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `3`
[INFO] [stderr]    --> src/lib.rs:175:1
[INFO] [stderr]     |
[INFO] [stderr] 175 | / /// WASM function to simplify a path represented by a sequence of points
[INFO] [stderr] 176 | | /// to a bezier curve with a maximum error tolerance.
[INFO] [stderr] 177 | | /// The input points are expected to be in the format:
[INFO] [stderr] 178 | | /// [{x: 0, y: 0}, {x: 1, y: 1}, ...]
[INFO] [stderr] ...   |
[INFO] [stderr] 192 | | /// [2] = control point 2
[INFO] [stderr] 193 | | /// [3] = end point
[INFO] [stderr]     | |___________________^
[INFO] [stderr]     |
[INFO] [stderr]     = note: the link appears in this line:
[INFO] [stderr]             
[INFO] [stderr]             [3] = end point
[INFO] [stderr]              ^
[INFO] [stderr]     = note: no item named `3` in scope
[INFO] [stderr]     = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: `simplify-rs` (lib doc) generated 4 warnings
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.46s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/simplify_rs/index.html
[INFO] running `Command { std: "docker" "inspect" "8f67209a6abc1ddd7edea87dca55e1fea35d3e336a9ce23ea3989ca53b26bcd6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8f67209a6abc1ddd7edea87dca55e1fea35d3e336a9ce23ea3989ca53b26bcd6", kill_on_drop: false }`
[INFO] [stdout] 8f67209a6abc1ddd7edea87dca55e1fea35d3e336a9ce23ea3989ca53b26bcd6