-
Notifications
You must be signed in to change notification settings - Fork 13
/
Cargo.toml
68 lines (56 loc) · 1.41 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
[package]
name = "crop"
version = "0.4.2"
edition = "2021"
rust-version = "1.65"
authors = ["Riccardo Mazzarini <[email protected]>"]
description = "A pretty fast text rope"
documentation = "https://docs.rs/crop"
repository = "https://github.com/nomad/crop"
readme = "README.md"
license = "MIT"
keywords = ["rope", "tree", "edit", "buffer"]
categories = ["data-structures", "text-editors", "text-processing"]
exclude = ["/.github/*", "/examples/**", "/fuzz/**", "/tests/**", "/BENCHMARKS.md"]
[package.metadata.docs.rs]
features = ["graphemes", "simd", "utf16-metric"]
rustdoc-args = ["--cfg", "docsrs"]
[features]
default = ["simd", "std"]
graphemes = ["unicode-segmentation"]
simd = ["str_indices/simd"]
utf16-metric = []
std = []
# Private features
small_chunks = []
arity_4 = []
deep_trees = ["small_chunks", "arity_4"]
dp = ["deep_trees"]
[dependencies]
str_indices = { version = "0.4.0", default-features = false }
unicode-segmentation = { version = "1.10.0", optional = true }
[dev-dependencies]
criterion = "0.5"
rand = "0.8"
ropey = "1.6"
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] }
[[bench]]
name = "creation"
harness = false
[[bench]]
name = "editing"
harness = false
[[bench]]
name = "graphemes"
harness = false
required-features = ["graphemes"]
[[bench]]
name = "iterators"
harness = false
[[bench]]
name = "metric_conversion"
harness = false
[[bench]]
name = "slicing"
harness = false