chase 0.1.0

Async + sync file-tailing for people who care about line numbers.
docs.rs failed to build chase-0.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: chase-0.1.8

Chase

An implementation of async and sync file-tailing in Rust for people who care about line numbers.

Goals

  • Returns line numbers with each line yielded
  • Cross-platform async
  • Configurable (which line to start on, delays and retries)
  • Easy to use synchronously
  • Easy to use asynchronously

Usage

You can use this tool as a lib and as a binary:

As lib

Some features (e.g. receiving as a Stream, and Serde derive for lib-provided structs) are feature-gated, so keep that in mind when adding as a dependency (refer to Cargo.toml for list of features)

As a binary

cargo install chase --features=binary

Caveats

Windows not yet supported: need to figure out what inodes map to

Credit

Very much inspired by logwatcher