Registry / utility / diffy
library0.5.0rscratesunverified

Tools for finding and manipulating differences between files.

# Cargo.toml [dependencies] diffy = "0.5.0"
INSTALL
IMPORT
SIG · DIFFY
D
diffy
utilityrustv0.5.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

create_patch
use diffy::create_patch;

Creates a unified diff patch between two strings.

use diffy::create_patch; let original = "line1\nline2\nline3\n"; let modified = "line1\nline2 modified\nline3\n"; let patch = create_patch(original, modified); println!("{}", patch);
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.5.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
14
Resources
diffy — cargo add diffy · libregistry