Added support for unicode word splitting and change inline to use it

This commit is contained in:
Armin Ronacher 2021-01-31 22:13:56 +01:00
parent d0dd42e4af
commit 0a4dd224f5
6 changed files with 66 additions and 22 deletions

View file

@ -38,11 +38,14 @@
//! cases it's useful to pull in extra functionality. Likewise you can turn
//! off some functionality.
//!
//! * `text`: this feature is enabled by default and enables the [`text`] module.
//! If the crate is used without default features it's removed.
//! * `unicode`: when this feature is enabled the text diffing functionality
//! gains the ability to diff on a grapheme instead of character level. This
//! is particularly useful when working with text containing emojis.
//! * `text`: this feature is enabled by default and enables the [`text`] module.
//! If the crate is used without default features it's removed.
//! * `inline`: this feature gives access to additional functionality of the
//! `text` module to provide inline information about which values changed
//! in a line diff. This currently also enables the `unicode` feature.
#![warn(missing_docs)]
pub mod algorithms;
pub mod text;