mirror of
https://github.com/uutils/diffutils.git
synced 2026-05-07 14:40:04 -04:00
1ef6923b7d
Create the diff -y utility, this time introducing tests and changes focused
mainly on the construction of the utility and issues related to alignment
and response tabulation. New parameters were introduced such as the size
of the total width of the output in the parameters. A new calculation was
introduced to determine the size of the output columns and the maximum
total column size. The tab and spacing mechanism has the same behavior
as the original diff, with tabs and spaces formatted in the same way.
- Introducing tests for the diff 'main' function
- Introducing fuzzing for side diff utility
- Introducing tests for internal mechanisms
- Modular functions that allow consistent changes across the entire project
54 lines
809 B
TOML
54 lines
809 B
TOML
|
|
[package]
|
|
name = "unified-diff-fuzz"
|
|
version = "0.0.0"
|
|
publish = false
|
|
edition = "2018"
|
|
|
|
[package.metadata]
|
|
cargo-fuzz = true
|
|
|
|
[dependencies]
|
|
libfuzzer-sys = "0.4.7"
|
|
diffutils = { path = "../" }
|
|
|
|
# Prevent this from interfering with workspaces
|
|
[workspace]
|
|
members = ["."]
|
|
|
|
[[bin]]
|
|
name = "fuzz_cmp"
|
|
path = "fuzz_targets/fuzz_cmp.rs"
|
|
test = false
|
|
doc = false
|
|
|
|
[[bin]]
|
|
name = "fuzz_cmp_args"
|
|
path = "fuzz_targets/fuzz_cmp_args.rs"
|
|
test = false
|
|
doc = false
|
|
|
|
[[bin]]
|
|
name = "fuzz_patch"
|
|
path = "fuzz_targets/fuzz_patch.rs"
|
|
test = false
|
|
doc = false
|
|
|
|
[[bin]]
|
|
name = "fuzz_normal"
|
|
path = "fuzz_targets/fuzz_normal.rs"
|
|
test = false
|
|
doc = false
|
|
|
|
|
|
[[bin]]
|
|
name = "fuzz_ed"
|
|
path = "fuzz_targets/fuzz_ed.rs"
|
|
test = false
|
|
doc = false
|
|
|
|
[[bin]]
|
|
name = "fuzz_side"
|
|
path = "fuzz_targets/fuzz_side.rs"
|
|
test = false
|
|
doc = false |