timeout-iterator 1.1.7

TimeoutIterator is a wrapper over any iterator that adds peek_timeout and next_timeout functions. The canonical use-case is parsing multi-line free-form records (such as tailing a log fime) where it is desirable to consume the very last line, and peek whether the record continues on the next time, but not block indefinitely on the peek.
Documentation
Build #481337 2021-12-23 04:25:54
# rustc version
rustc 1.59.0-nightly (34926f0a1 2021-12-22)# docs.rs version
docsrs 0.6.0 (0607ed2 2021-12-01)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/timeout-iterator-1.1.7/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/timeout-iterator-1.1.7/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" "3221225472" "--cpus" "3" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5df6ddad4a5b29fe213f677d7e2acfdb848e97b967f7cba3bf1fba1640344a16" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "-Z" "unstable-options" "--config" "build.rustdocflags=[\"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20211222-1.59.0-nightly-34926f0a1\", \"--static-root-path\", \"/\", \"--cap-lints\", \"warn\", \"--disable-per-crate-search\"]" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-j3" "--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] 37ee8aa81429a12e37462df955dd8def01753afe6c73b58292e69233fc72a8d7
[INFO] running `Command { std: "docker" "start" "-a" "37ee8aa81429a12e37462df955dd8def01753afe6c73b58292e69233fc72a8d7", kill_on_drop: false }`
[INFO] [stderr]  Documenting timeout-iterator v1.1.7 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1.05s
[INFO] running `Command { std: "docker" "inspect" "37ee8aa81429a12e37462df955dd8def01753afe6c73b58292e69233fc72a8d7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "37ee8aa81429a12e37462df955dd8def01753afe6c73b58292e69233fc72a8d7", kill_on_drop: false }`
[INFO] [stdout] 37ee8aa81429a12e37462df955dd8def01753afe6c73b58292e69233fc72a8d7