blob: ff9dae6ce4b4714ce2b94687add549c39641f2fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
macro_rules! cfg_prettytable {( $($item:item)* ) => (
$(
#[cfg(feature = "prettytable-rs")]
$item
)*
)}
#[cfg(feature = "prettytable-rs")]
#[macro_use]
extern crate prettytable;
pub mod basic;
cfg_prettytable! {
pub mod format_table;
}
pub mod lcs;
pub mod text;
pub use crate::basic::diff_slice;
pub use crate::text::{diff_chars, diff_lines, diff_words};
|