# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2018" name = "timeout-iterator" version = "1.1.7" authors = ["Archis Gore "] description = "TimeoutIterator is a wrapper over any iterator that adds peek_timeout and next_timeout functions.\nThe canonical use-case is parsing multi-line free-form records (such as tailing a log fime) where it is desirable to\nconsume the very last line, and peek whether the record continues on the next time, but not block\nindefinitely on the peek." readme = "README.md" keywords = ["iterator", "wrapper", "timeout", "peek", "buffer"] categories = ["asynchronous", "caching", "rust-patterns"] license = "Apache-2.0" repository = "https://github.com/polyverse/timeout-iterator" [package.metadata.cargo-all-features] skip_optional_dependencies = true [dependencies.futures] version = "0.3.19" optional = true [dependencies.futures-util] version = "0.3.19" optional = true [dependencies.pin-project] version = "1.0.8" optional = true [dependencies.tokio] version = "1.15.0" features = ["time"] optional = true [dependencies.tokio-stream] version = "0.1.8" optional = true [dev-dependencies.assert_matches] version = "1.5.0" [dev-dependencies.tokio] version = "1.15.0" features = ["time", "rt", "macros"] [features] async = ["futures", "futures-util", "tokio", "tokio-stream", "pin-project"] default = ["async"] sync = []