{"id":13672362,"url":"https://github.com/lights0123/ddelta-rs","last_synced_at":"2025-05-05T16:21:45.538Z","repository":{"id":57616843,"uuid":"253140692","full_name":"lights0123/ddelta-rs","owner":"lights0123","description":"Rust port of the streaming ddelta patch algorithm, based on bsdiff","archived":false,"fork":false,"pushed_at":"2024-05-02T08:52:03.000Z","size":44,"stargazers_count":11,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-01T10:39:45.981Z","etag":null,"topics":["bsdiff","rust"],"latest_commit_sha":null,"homepage":"","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/lights0123.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2020-04-05T02:33:30.000Z","updated_at":"2024-12-23T13:47:13.000Z","dependencies_parsed_at":"2024-11-11T10:32:03.221Z","dependency_job_id":null,"html_url":"https://github.com/lights0123/ddelta-rs","commit_stats":{"total_commits":8,"total_committers":1,"mean_commits":8.0,"dds":0.0,"last_synced_commit":"17662629fda4cbb3e2f38aa36626c47ebba6f30b"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lights0123%2Fddelta-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lights0123%2Fddelta-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lights0123%2Fddelta-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lights0123%2Fddelta-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lights0123","download_url":"https://codeload.github.com/lights0123/ddelta-rs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252531882,"owners_count":21763293,"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":["bsdiff","rust"],"created_at":"2024-08-02T09:01:33.461Z","updated_at":"2025-05-05T16:21:45.519Z","avatar_url":"https://github.com/lights0123.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# ddelta-rs\n[![Crates.io](https://img.shields.io/crates/v/ddelta.svg)](https://crates.io/crates/ddelta)\n[![Docs.rs](https://docs.rs/ddelta/badge.svg)](https://docs.rs/ddelta)\n\nA rust port of [ddelta], which is a streaming and more efficient version\nof [bsdiff]. The output created by this program is sometimes (when using\n[`generate`]) compatible with the original C tool, [ddelta], but not\nwith [bsdiff]. This library may use up to 5 times the old file size +\nthe new file size, (5 × min(o, 2^31-1) + min(n, 2^31-1)), up to 12GiB.\nTo control this, see the `chunk_sizes` parameter of\n[`generate_chunked`]. **Note**: the patches created by program should be\ncompressed. If not compressed, the output may actually be larger than\njust including the new file. You might want to feed the patch file\ndirectly to an [encoder][XzEncoder], and read via a [decoder\nimplementing a compression algorithm][XzDecoder] to not require much\ndisk space. Additionally, no checksum is performed, so you should\nstrongly consider doing a checksum of at least either the old or new\nfile once written.\n\n## Features\n\nThis crate optionally supports compiling the c library, divsufsort,\nwhich is enabled by default. A Rust port is available; however, it has\nworse performance than the C version. If you'd like to use the Rust\nversion instead, for example if you don't have a C compiler installed,\nadd `default-features = false` to your Cargo.toml, i.e.\n\n```toml\n[dependencies]\nddelta = { version = \"0.1.0\", default-features = false }\n```\n\n[ddelta]: https://github.com/julian-klode/ddelta\n[bsdiff]: http://www.daemonology.net/bsdiff/\n[XzEncoder]: https://docs.rs/xz2/*/xz2/write/struct.XzEncoder.html\n[XzDecoder]: https://docs.rs/xz2/*/xz2/read/struct.XzDecoder.html\n\n[`generate`]: https://docs.rs/ddelta/*/ddelta/fn.generate.html\n[`generate_chunked`]: https://docs.rs/ddelta/*/ddelta/fn.generate_chunked.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flights0123%2Fddelta-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flights0123%2Fddelta-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flights0123%2Fddelta-rs/lists"}