[package] name = "kmp" version = "0.1.1" authors = ["Kevin Becker "] edition = "2018" keywords = ["search", "pattern", "matching", "linear-time", "knuth-morris-pratt"] categories = ["algorithms", "no-std"] description = "Various functions using the Knuth–Morris–Pratt algorithm to efficiently find patterns." homepage = "https://gitlab.com/bit-refined/kmp/" repository = "https://gitlab.com/bit-refined/kmp/" license = "LGPL-3.0-or-later" [badges] gitlab = { repository = "bit-refined/kmp", branch = "master" } maintenance = { status = "experimental" } [dependencies] [dev-dependencies] proptest = "0.9.4" criterion = "0.3.0" [[bench]] name = "table" harness = false [[bench]] name = "find" harness = false [[bench]] name = "match" harness = false [profile.dev] opt-level = 0 debug = true rpath = false lto = false debug-assertions = true codegen-units = 16 panic = 'unwind' incremental = true overflow-checks = true [profile.test] opt-level = 0 debug = true rpath = false lto = false debug-assertions = true codegen-units = 16 incremental = true overflow-checks = true [profile.bench] opt-level = 3 debug = false rpath = false lto = true debug-assertions = false codegen-units = 1 incremental = false overflow-checks = false [profile.release] opt-level = 3 debug = false rpath = false lto = true debug-assertions = false codegen-units = 1 panic = 'unwind' incremental = false overflow-checks = false