[package]
name = "difflib-fast"
version = "0.1.1"
description = "Fast, byte-for-byte exact difflib Ratcliff–Obershelp (gestalt) similarity ratio + single-linkage clustering, via a suffix automaton."
keywords = ["difflib", "similarity", "ratcliff-obershelp", "suffix-automaton", "fuzzy"]
categories = ["algorithms", "text-processing"]
edition = "2021"
license = "MIT"
repository = "https://github.com/prostomarkeloff/difflib-fast"
authors = ["prostomarkeloff"]
exclude = ["/benchmarks"]
[lib]
name = "difflib_fast"
crate-type = ["cdylib", "rlib"]
[dependencies]
rayon = "1"
pyo3 = { version = "0.28", optional = true, features = ["extension-module", "abi3-py39"] }
mimalloc = { version = "0.1", default-features = false, optional = true }
[features]
default = []
python = ["dep:pyo3"]
bench = ["dep:mimalloc"]
[[bin]]
name = "bench"
required-features = ["bench"]
[lints.clippy]
all = { level = "deny", priority = -1 }
pedantic = { level = "deny", priority = -1 }
[profile.release]
debug = "line-tables-only"
strip = false