Adding diff_match_patch_rs library as a dependency

Run this command in a terminal, in your project's directory:

cargo add diff-match-patch-rs

To add it manually, edit your project's Cargo.toml file and add to the [dependencies] section:

diff-match-patch-rs = "0.5.0"

The diff_match_patch_rs library will be automatically available globally. Read the diff_match_patch_rs library documentation.

Back to the crate overview.