Registry / testing / text-diff

text-diff

JSON →
library0.4.0rscratesunverified

A Rust text diffing and assertion library.

# Cargo.toml [dependencies] text-diff = "0.4.0"
INSTALL
IMPORT
SIG · TEXT-DIFF
T
text-diff
testingrustv0.4.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.

diff
✓ use text_diff::diff;

Computes the diff between two strings.

use text_diff::diff; fn main() { let result = diff("hello", "hallo"); println!("{:?}", result); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.4.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
16
Resources
text-diff — cargo add text-diff · libregistry