Small readme update

This commit is contained in:
Armin Ronacher 2021-02-07 21:57:01 +01:00
parent df4be6b493
commit b952f46432

View file

@ -1,4 +1,4 @@
# similar # Similar: A Diffing Library for Rust
[![Build Status](https://github.com/mitsuhiko/similar/workflows/Tests/badge.svg?branch=main)](https://github.com/mitsuhiko/similar/actions?query=workflow%3ATests) [![Build Status](https://github.com/mitsuhiko/similar/workflows/Tests/badge.svg?branch=main)](https://github.com/mitsuhiko/similar/actions?query=workflow%3ATests)
[![Crates.io](https://img.shields.io/crates/d/similar.svg)](https://crates.io/crates/similar) [![Crates.io](https://img.shields.io/crates/d/similar.svg)](https://crates.io/crates/similar)
@ -8,7 +8,7 @@
Similar is a dependency free crate for Rust that implements different diffing Similar is a dependency free crate for Rust that implements different diffing
algorithms and high level interfaces for it. It is based on the [pijul](https://pijul.org/) algorithms and high level interfaces for it. It is based on the [pijul](https://pijul.org/)
implementation of the Myer's and Patience algorithms and inherits some ideas implementation of the Myer's and Patience algorithms and inherits some ideas
from there. from there. It was built for the [insta snapshot testing library](https://insta.rs).
```rust ```rust
use similar::{ChangeTag, TextDiff}; use similar::{ChangeTag, TextDiff};