/text-diff-rs

Compare two text files and output the difference between them

Primary LanguageRustGNU General Public License v3.0GPL-3.0

text-diff

GitHub release (latest by date) GitHub GitHub Deploy Test

text-diff

text-diff can be used to compare two text files and output the difference between them. text-diff was written in Rust and offers a simple and intuitive user-interface for Windows, Linux and macOS.

Features

  • Compare two text files
  • Display the differences between two text files
  • Export the differences to TXT, CSV or JSON
  • Written in Rust
  • Cross-platform
  • Fully native binaries

Building

In order to build text-diff, you can run the following command:

cargo build

A release build with extra optimizations can be built by issuing the following command:

cargo build --release

Tips

On Linux you can further decrease the binary size by issuing a strip command, which will 'strip' symbols from the object file, after building:

cargo build --release && strip target/release/text-diff

Running

You can run text-diff directly by issuing the following command:

cargo run

Credits

About

This library is maintained by CodeDead. You can find more about us using the following links:

Copyright © 2022 CodeDead