Skip to content
/ riff Public

Implementation of the GNU diff utility in Rust, mainly for practice purposes.

License

Notifications You must be signed in to change notification settings

Toemmsche/riff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

riff

Implementation of a small diff utility in Rust, mainly for practice purposes.

Usage

cargo run file_A.txt file_B.txt

The output will prefix lines that should be deleted (inserted) with - (+).

The diff uses a naive LCS algorithm that takes O(n²) time and space.

About

Implementation of the GNU diff utility in Rust, mainly for practice purposes.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages