Crates.io | chase |
lib.rs | chase |
version | 0.1.8 |
source | src |
created_at | 2018-02-19 02:23:40.622624 |
updated_at | 2018-02-21 02:09:06.352815 |
description | Async + sync file-following for people who care about file rotatons and line numbers. |
homepage | |
repository | https://github.com/lloydmeta/chase-rs |
max_upload_size | |
id | 51819 |
size | 34,080 |
An implementation of async and sync file-following in Rust for people who care about line numbers.
Stream
from the Futures libraryYou can use this tool as a lib and as a binary:
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)
cargo install chase --features=binary
Chases a file through thick and thin.
USAGE:
chase [OPTIONS] <f>
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
-L, --line <l> The line you want to start chasing your file from [default: 0]
ARGS:
<f> The file you want to chase
Windows not yet supported: need to figure out what inodes map to
Very much inspired by logwatcher