{"id":19543291,"url":"https://github.com/uutils/diffutils","last_synced_at":"2026-01-02T11:58:24.585Z","repository":{"id":57671113,"uuid":"341787720","full_name":"uutils/diffutils","owner":"uutils","description":"Drop-in replacement of diffutils in Rust","archived":false,"fork":false,"pushed_at":"2025-05-12T05:18:14.000Z","size":320,"stargazers_count":151,"open_issues_count":10,"forks_count":13,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-05-15T23:01:58.490Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/uutils.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-02-24T05:18:30.000Z","updated_at":"2025-05-13T22:38:27.000Z","dependencies_parsed_at":"2024-01-30T14:59:21.843Z","dependency_job_id":"e390ffde-6750-4ae4-af2f-318890616a7c","html_url":"https://github.com/uutils/diffutils","commit_stats":null,"previous_names":["notriddle/rust-unified-diff","uutils/diffutils","notriddle/diffutils"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uutils%2Fdiffutils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uutils%2Fdiffutils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uutils%2Fdiffutils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uutils%2Fdiffutils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uutils","download_url":"https://codeload.github.com/uutils/diffutils/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254436944,"owners_count":22070946,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T03:18:13.890Z","updated_at":"2025-12-12T15:00:35.180Z","avatar_url":"https://github.com/uutils.png","language":"Rust","funding_links":[],"categories":["CLI","Rust"],"sub_categories":[],"readme":"[![Crates.io](https://img.shields.io/crates/v/diffutils.svg)](https://crates.io/crates/diffutils)\n[![Discord](https://img.shields.io/badge/discord-join-7289DA.svg?logo=discord\u0026longCache=true\u0026style=flat)](https://discord.gg/wQVJbvJ)\n[![License](http://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/uutils/diffutils/blob/main/LICENSE)\n[![dependency status](https://deps.rs/repo/github/uutils/diffutils/status.svg)](https://deps.rs/repo/github/uutils/diffutils)\n\n[![CodeCov](https://codecov.io/gh/uutils/diffutils/branch/main/graph/badge.svg)](https://codecov.io/gh/uutils/diffutils)\n\nThe goal of this package is to be a drop-in replacement for the [diffutils commands](https://www.gnu.org/software/diffutils/) (diff, cmp, diff3, sdiff) in Rust.\n\nBased on the incomplete diff generator in https://github.com/rust-lang/rust/blob/master/src/tools/compiletest/src/runtest.rs, and made to be compatible with GNU's diff and patch tools.\n\n\n## Installation\n\nEnsure you have Rust installed on your system. You can install Rust through [rustup](https://rustup.rs/).\n\nClone the repository and build the project using Cargo:\n\n```bash\ngit clone https://github.com/uutils/diffutils.git\ncd diffutils\ncargo build --release\n```\n\n## Example\n\n```bash\n\ncat \u003c\u003cEOF \u003efruits_old.txt\nApple\nBanana\nCherry\nEOF\n\ncat \u003c\u003cEOF \u003efruits_new.txt\nApple\nFig\nCherry\nEOF\n\n$ cargo run -- -u fruits_old.txt fruits_new.txt\n    Finished dev [unoptimized + debuginfo] target(s) in 0.00s\n     Running `target/debug/diffutils -u fruits_old.txt fruits_new.txt`\n--- fruits_old.txt\n+++ fruits_new.txt\n@@ -1,3 +1,3 @@\n Apple\n-Banana\n+Fig\n Cherry\n\n```\n\n## License\n\ndiffutils is licensed under the MIT and Apache Licenses - see the `LICENSE-MIT` or `LICENSE-APACHE` files for details\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuutils%2Fdiffutils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuutils%2Fdiffutils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuutils%2Fdiffutils/lists"}