GitXplorerGitXplorer
b

ruthenium

public
18 stars
1 forks
1 issues

Commits

List of commits on branch master.
Unverified
8de7aaba534b7c946818c710d27c8d92dcad97d9

PCRE: remove unused commented code.

bbirkenfeld committed 9 years ago
Unverified
257345cc4a59c51c7f788a17d622459e9a0cfa55

Actually implement Iterator for Lines.

bbirkenfeld committed 9 years ago
Unverified
36fbdd8b531e8901213be73cc17405a42c926a9c

Simplify Lines a bit.

bbirkenfeld committed 9 years ago
Unverified
2c55ee123d566a14898f84d93962a5c3df86fd9c

Remove outdated comment.

bbirkenfeld committed 9 years ago
Unverified
94c7a5a535b2730f8ff42c812edd7f4dd2d9051b

Use atty crate.

bbirkenfeld committed 9 years ago
Unverified
8054700125eddf45ba7ca49296655c6e5e193777

Test grep with line numbers.

bbirkenfeld committed 9 years ago

README

The README file for this repository.

Ruthenium, an Ack-like searcher

Ruthenium is an attempt to implement the well-known Perl tool ack in Rust.

When finished, it is supposed to show the strengths of Rust, for example simple and efficient concurrency without locks, and speed comparable with C programs, in this case the implementation called ag or the_silver_searcher.

How to build

Use cargo build --release. target/release/ru is the binary.

How to use

The resulting binary is linked statically against Rust dependencies, so it can be copied into a bin directory and used.

Command line

Command-line options are designed to be mostly compatible with Ag. There are probably small differences, especially in the handling of ignore files.

Regex engines

Currently, the regex engine can be selected to be either Andrew Gallant's Rust implementation regex (the default) or PCRE (requires libpcre and its headers to be installed). Select the latter with the Cargo feature flag pcre.