-
Notifications
You must be signed in to change notification settings - Fork 37
Expand file tree
/
Copy pathCargo.toml
More file actions
63 lines (54 loc) · 1.69 KB
/
Cargo.toml
File metadata and controls
63 lines (54 loc) · 1.69 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
[package]
name = "diffy"
version = "0.4.2"
authors = ["Brandon Williams <bwilliams.eng@gmail.com>"]
license = "MIT OR Apache-2.0"
description = "Tools for finding and manipulating differences between files"
documentation = "https://docs.rs/diffy"
repository = "https://github.com/bmwill/diffy"
readme = "README.md"
keywords = ["diff", "patch", "merge"]
categories = ["text-processing"]
rust-version = "1.85.0"
edition = "2024"
exclude = ["/fuzz/"]
[package.metadata.docs.rs]
# To build locally:
# RUSTDOCFLAGS="--cfg=docsrs -Zunstable-options --generate-link-to-definition" RUSTC_BOOTSTRAP=1 cargo doc --all-features --no-deps --open
all-features = true
rustdoc-args = [
# Enable doc_cfg showing the required features.
"--cfg=docsrs",
# Generate links to definition in rustdoc source code pages
# https://github.com/rust-lang/rust/pull/84176
"-Zunstable-options", "--generate-link-to-definition"
]
cargo-args = [
"-Zrustdoc-scrape-examples"
]
[features]
default = []
std = []
binary = ["dep:zlib-rs"]
color = ["dep:anstyle"]
[dependencies]
hashbrown = { version = "0.17.0", default-features = false, features = ["default-hasher"] }
anstyle = { version = "1.0.13", default-features = false, optional = true }
zlib-rs = { version = "0.6.3", optional = true, default-features = false, features = ["c-allocator"] }
[dev-dependencies]
rayon = "1.10.0"
snapbox = { version = "0.6.24", features = ["dir"] }
[[example]]
name = "patch_formatter"
required-features = ["std", "color"]
doc-scrape-examples = true
[[example]]
name = "apply"
required-features = ["binary"]
doc-scrape-examples = true
[[test]]
name = "compat"
required-features = ["binary"]
[[test]]
name = "replay"
required-features = ["binary"]