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
[]
= "vcs-diff"
= "0.1.0"
= "Shared git-format unified-diff model + parser and a version type for the vcs-toolkit-rs wrappers."
= true
= true
= true
= true
= true
= "README.md"
# Deliberately dependency-free (std only) by default: the diff types and parser
# are pure data + pure functions, so this foundational crate stays light and
# `vcs-git` / `vcs-jj` / `vcs-core` can all depend on it without pulling anything
# in. The optional `serde` feature is the one exception.
[]
# Optional: derive `Serialize` on the public diff model behind the `serde`
# feature (off by default — the crate stays std-only otherwise). Turned on by
# JSON consumers such as `vcs-mcp`.
= { = "1", = ["derive"], = true }
[]
# Add `#[derive(Serialize)]` to the public DTOs (`DiffStat`, `ChangeKind`, …).
= ["dep:serde"]
[]
# Property-based fuzzing of the pure parser (panic-freedom on arbitrary input).
# Stable Rust, dev-only — stripped on publish.
= "1"
# Exercise the `serde` feature's derives (used only by the feature-gated test).
= "1"
[]
# Build docs.rs with every feature so the optional surfaces (mock / tracing /
# cancellation / serde / stream) are documented (defaults alone hide them), and pass
# `--cfg docsrs` so feature-gated items render an "Available on feature `x`" badge.
= true
= ["--cfg", "docsrs"]
[]
= true