1[package]
2name = "aho-corasick"
3version = "0.7.15"  #:version
4authors = ["Andrew Gallant <jamslam@gmail.com>"]
5description = "Fast multiple substring searching."
6homepage = "https://github.com/BurntSushi/aho-corasick"
7repository = "https://github.com/BurntSushi/aho-corasick"
8readme = "README.md"
9keywords = ["string", "search", "text", "aho", "multi"]
10license = "Unlicense/MIT"
11categories = ["text-processing"]
12autotests = false
13exclude = [
14  "/aho-corasick-debug", "/ci/*", "/.travis.yml", "/appveyor.yml",
15]
16
17[workspace]
18members = ["bench"]
19# We'd ideally not do this, but since the debug tool uses Rust 2018, older
20# versions of Rust (such as 1.28) fail to parse the manifest because it treats
21# `edition = "2018"` as an unstable feature.
22#
23# When we move our MSRV to Rust 2018, then we should be able to add this back
24# to the workspace.
25exclude = ["aho-corasick-debug"]
26
27[lib]
28name = "aho_corasick"
29
30[features]
31default = ["std"]
32std = ["memchr/use_std"]
33
34[dependencies]
35memchr = { version = "2.2.0", default-features = false }
36
37[dev-dependencies]
38# TODO: Re-enable this once the MSRV is 1.43 or greater.
39# See: https://github.com/BurntSushi/aho-corasick/issues/62
40doc-comment = "0.3.1"
41
42[profile.release]
43debug = true
44
45[profile.bench]
46debug = true
47