-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathCargo.toml
More file actions
90 lines (76 loc) · 1.75 KB
/
Copy pathCargo.toml
File metadata and controls
90 lines (76 loc) · 1.75 KB
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
[package]
name = "crop"
version = "0.4.3"
edition = "2024"
rust-version = "1.85"
authors = ["Riccardo Mazzarini <me@noib3.dev>"]
description = "A pretty fast text rope"
documentation = "https://docs.rs/crop"
repository = "https://github.com/noib3/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", "serde", "simd", "utf16-metric"]
rustdoc-args = ["--cfg", "docsrs"]
[features]
default = ["simd", "std"]
chunk-len = []
graphemes = ["unicode-segmentation"]
serde = ["dep:serde"]
simd = ["str_indices/simd"]
std = []
utf16-metric = []
# 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 }
serde = { version = "1", optional = true }
unicode-segmentation = { version = "1.10.0", optional = true }
[dev-dependencies]
bincode = { version = "2", features = ["serde"] }
criterion = "0.7"
rand = "0.9"
rand_chacha = "0.9"
ropey = "1.6"
serde_json = "1"
serde_test = "1.0.177"
[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 = "serde"
harness = false
required-features = ["serde"]
[[bench]]
name = "slicing"
harness = false
[[test]]
name = "chunk_len"
required-features = ["chunk-len"]