{"id":28508834,"url":"https://github.com/surrealdb/dmp","last_synced_at":"2025-07-02T22:31:46.934Z","repository":{"id":57620281,"uuid":"450784362","full_name":"surrealdb/dmp","owner":"surrealdb","description":"An efficient plain text comparison and patching library written in Rust","archived":false,"fork":false,"pushed_at":"2025-04-09T11:00:57.000Z","size":44,"stargazers_count":18,"open_issues_count":0,"forks_count":5,"subscribers_count":11,"default_branch":"main","last_synced_at":"2025-06-30T07:19:05.428Z","etag":null,"topics":["diff","diffing","diffmatchpatch","rust","text-comparison","text-diff"],"latest_commit_sha":null,"homepage":"https://docs.rs/dmp","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/surrealdb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null}},"created_at":"2022-01-22T10:26:47.000Z","updated_at":"2025-04-09T10:58:09.000Z","dependencies_parsed_at":"2023-02-19T16:01:25.122Z","dependency_job_id":null,"html_url":"https://github.com/surrealdb/dmp","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/surrealdb/dmp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/surrealdb%2Fdmp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/surrealdb%2Fdmp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/surrealdb%2Fdmp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/surrealdb%2Fdmp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/surrealdb","download_url":"https://codeload.github.com/surrealdb/dmp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/surrealdb%2Fdmp/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263226001,"owners_count":23433617,"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":["diff","diffing","diffmatchpatch","rust","text-comparison","text-diff"],"created_at":"2025-06-08T21:39:52.901Z","updated_at":"2025-07-02T22:31:46.890Z","avatar_url":"https://github.com/surrealdb.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dmp\n\nThe Diff Match and Patch libraries offer robust algorithms to perform the operations required for synchronising plain text. This repository contains a Rust version of the original [diff-match-patch](https://github.com/google/diff-match-patch) library, using up-to-date crate packages.\n\n[![](https://img.shields.io/badge/status-stable-ff00bb.svg?style=flat-square)](https://github.com/surrealdb/dmp) [![docs.rs](https://img.shields.io/docsrs/dmp?style=flat-square)](https://docs.rs/dmp/) [![Crates.io](https://img.shields.io/crates/v/dmp?style=flat-square)](https://crates.io/crates/dmp) [![](https://img.shields.io/badge/license-MIT-00bfff.svg?style=flat-square)](https://github.com/surrealdb/dmp) \n\n#### Features\n\n- Diffing and patching library for plain text\n- Retrieve differences between two blocks of text\n- Create a set of patches for converting a block of text into another\n- Apply a set of patches onto a block of text to convert it to another block of text\n- Uses best-effort to apply patch even when the underlying text doesn't fully match.\n\n#### Fuzzing\n\nA fuzzer is provided as a sanity-check:\n\n```console\nRUST_BACKTRACE=1 cargo fuzz run fuzz\n```\n\n#### Original\n\nThis code is forked originally from [diff_match_patch.rs](https://crates.io/crates/diff_match_patch), licensed under the [MIT](https://choosealicense.com/licenses/mit/) license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsurrealdb%2Fdmp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsurrealdb%2Fdmp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsurrealdb%2Fdmp/lists"}