GitXplorerGitXplorer
b

ruthenium

public
18 stars
1 forks
1 issues

Commits

List of commits on branch master.
Unverified
9a94fb7272f7c82b05285b898574755aef5bb3b9

Fix out-of-bounds index for spans that include the eol.

bbirkenfeld committed 9 years ago
Unverified
4a7d98e46041ff4955e65e789af81bedd1463503

Match not line-wise, but over the whole buffer.

bbirkenfeld committed 9 years ago
Unverified
e8a8a76fded517455f65c76d3a4226b1c37b33f2

Add an important todo.

bbirkenfeld committed 9 years ago
Unverified
a380dbeff788c9687e734ed055c4177dcd225483

Expand engine section a bit.

bbirkenfeld committed 9 years ago
Unverified
4f42c11fa6eed228659d5f2f90ec029c52959560

Fix readme.

bbirkenfeld committed 9 years ago
Unverified
a4a9f3bfdada31ba2fe139bb3e45ce036c3c5909

Regex byte patterns are now released.

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.