| Crates.io | docdiff |
| lib.rs | docdiff |
| version | 1.2.0 |
| created_at | 2025-07-22 17:22:29.775213+00 |
| updated_at | 2025-07-22 23:10:51.152066+00 |
| description | A CLI tool for comparing two files using document distance algorithms. |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1763774 |
| size | 266,313 |
Docdiff is a fast, intuitive CLI for comparing two files using advanced document distance algorithms. Built for developers, data scientists, and anyone who needs reliable file comparison, Docdiff makes it effortless to spot differences and measure similarity between documents.
With Cargo:
cargo install docdiff
Pre-built Binaries:
Download the latest release for your platform from Releases.
Docdiff only works with plain text files (.txt).
Compare two text files:
docdiff diff file1.txt file2.txt
Show program info:
docdiff info
Get help:
docdiff --help
docdiff diff --help
$ docdiff diff file1.txt file2.txt
Comparing 'file1.txt' with 'file2.txt'...
[████████████████████████████████████████] 100%
Document distance: 0.123
Comparison finished!
Docdiff uses advanced document distance algorithms. You can extend or customize algorithms by contributing to src/algorithms/.
Run all tests:
cargo test
Contributions are welcome! See CONTRIBUTING.md for guidelines.
Docdiff is licensed under the MIT License.
docdiff diff file1.txt file2.txtDocdiff is designed for clarity, speed, and extensibility. Every detail—from error messages to output formatting—aims to make your workflow smoother and more productive.