-
Notifications
You must be signed in to change notification settings - Fork 5
/
Cargo.toml
45 lines (35 loc) · 1.5 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
[package]
name = "twoway"
version = "0.2.2"
authors = ["bluss"]
description = "(Deprecated - use crate memchr instead.) Fast substring search for strings and byte strings. Optional SSE4.2 acceleration (if detected at runtime) using pcmpestri. Memchr is the only mandatory dependency. The two way algorithm is also used by rust's libstd itself, but here it is exposed both for byte strings, using memchr, and optionally using a SSE4.2 accelerated version."
license = "MIT/Apache-2.0"
repository = "https://github.com/bluss/twoway"
documentation = "https://docs.rs/twoway/"
keywords = ["substring-search", "string", "pcmpestri", "find", "memmem"]
categories = ["algorithms", "no-std"]
[dependencies]
memchr = { version = "2.0", default-features = false }
unchecked-index = { version = "0.2.2" }
jetscii = {version = "0.3", features= ["unstable"], optional = true }
galil-seiferas = { version = "0.1.1", optional = true }
[dev-dependencies]
itertools = "0.8.0"
odds = { version = "0.3", features=["std-string"] }
macro-attr = "0.2"
newtype_derive = "0.1"
rand = "0.6"
quickcheck = { version = "0.8", default-features = false }
[features]
# stable and pcmp support: opting out of using std, becoming no_std
default = ["use_std"]
use_std = ["memchr/use_std"]
# Internal features for testing & benchmarking & development
pattern = []
benchmarks = ["galil-seiferas", "pattern"]
all = ["jetscii", "pattern"]
[package.metadata.release]
no-dev-version = true
tag-name = "{{version}}"
[badges]
maintenance = { status = "deprecated" }