my fork of dmp
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
[package]
name = "diff-match-patch-rs"
version = "0.1.0-beta.1"
edition = "2021"
authors = ["Anubhab Bandyopadhyay"]
repository = "https://github.com/AnubhabB/diff-match-patch-rs.git"
description = "A high-performance port of Myer's diff algorithm to perform the operations required for synchronizing plain text."
readme = "README.md"
license = "MIT OR Apache-2.0"
keywords = ["diff", "match", "patch", "myer's diff", "text synchronization"]
categories = ["algorithms", "text-synchronization"]

[dependencies]
percent-encoding = "2"
serde            = { version = "1", features = ["derive"], optional = true }
serde_repr       = { version = "0", optional = true }

[target.'cfg(target_arch = "wasm32")'.dependencies]
instant = "0"

[features]
serde = ["dep:serde", "dep:serde_repr"]
default = ["serde"]

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu", "wasm32-unknown-unknown"]
rustdoc-args = ["--generate-link-to-definition"]

[dev-dependencies]
criterion = "0"
serde_json = "1"

[[bench]]
name = "prefix"
harness = false

[[bench]]
name = "diff"
harness = false

# [[bench]]
# name = "bisect"
# harness = false

# [profile.bench]
# debug = true

# [profile.release]
# debug = true