timeout-iterator 1.1.6

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 #481336 2021-12-23 04:24: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.6/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/timeout-iterator-1.1.6/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] [stdout] bfd29c7d6a796b98b288e98acf8c111e899e561c19d22b3fd4454c330618d099 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "bfd29c7d6a796b98b288e98acf8c111e899e561c19d22b3fd4454c330618d099", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Documenting timeout-iterator v1.1.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.05s [INFO] running `Command { std: "docker" "inspect" "bfd29c7d6a796b98b288e98acf8c111e899e561c19d22b3fd4454c330618d099", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfd29c7d6a796b98b288e98acf8c111e899e561c19d22b3fd4454c330618d099", kill_on_drop: false }` [INFO] [stdout] bfd29c7d6a796b98b288e98acf8c111e899e561c19d22b3fd4454c330618d099