| # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| # |
| # When uploading crates to the registry Cargo will automatically |
| # "normalize" Cargo.toml files for maximal compatibility |
| # with all versions of Cargo and also rewrite `path` dependencies |
| # to registry (e.g., crates.io) dependencies. |
| # |
| # If you are reading this file be aware that the original Cargo.toml |
| # will likely look very different (and much more reasonable). |
| # See Cargo.toml.orig for the original contents. |
| |
| [package] |
| edition = "2018" |
| name = "similar" |
| version = "2.1.0" |
| authors = ["Armin Ronacher <[email protected]>", "Pierre-Étienne Meunier <[email protected]>", "Brandon Williams <[email protected]>"] |
| exclude = ["assets/*"] |
| description = "A diff library for Rust" |
| readme = "README.md" |
| keywords = ["diff", "difference", "patience", "compare", "changes"] |
| license = "Apache-2.0" |
| repository = "https://github.com/mitsuhiko/similar" |
| [package.metadata.docs.rs] |
| all-features = true |
| [profile.release] |
| debug = true |
| |
| [[example]] |
| name = "patience" |
| required-features = ["text", "inline"] |
| |
| [[example]] |
| name = "terminal" |
| required-features = ["text"] |
| |
| [[example]] |
| name = "terminal-inline" |
| required-features = ["text", "inline", "bytes"] |
| |
| [[example]] |
| name = "original-slices" |
| required-features = ["text"] |
| |
| [[example]] |
| name = "udiff" |
| required-features = ["text", "bytes"] |
| |
| [[example]] |
| name = "close-matches" |
| required-features = ["text"] |
| |
| [[example]] |
| name = "large" |
| required-features = ["text"] |
| |
| [[example]] |
| name = "serde" |
| required-features = ["text", "serde"] |
| [dependencies.bstr] |
| version = "0.2.14" |
| optional = true |
| default-features = false |
| |
| [dependencies.serde] |
| version = "1.0.130" |
| features = ["derive"] |
| optional = true |
| |
| [dependencies.unicode-segmentation] |
| version = "1.7.1" |
| optional = true |
| [dev-dependencies.console] |
| version = "0.14.0" |
| |
| [dev-dependencies.insta] |
| version = "1.6.2" |
| |
| [dev-dependencies.serde_json] |
| version = "1.0.68" |
| |
| [features] |
| bytes = ["bstr", "text"] |
| default = ["text"] |
| inline = ["text"] |
| text = [] |
| unicode = ["text", "unicode-segmentation", "bstr/unicode"] |