Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
In one of the first lines in the screenshot, you can see that one of the examples is basically a binary you can use as-is.
Since difference.rs is unmaintained (to the point where cargo-audit complains) and I could not find a good replacement for it, I started investing some time into building something I can use in a few places.
Does this support higher level structures a la treediff? Would be great to use this for json patch and friends.
You also have delta for viewing git diffs.
What’s called a “character” in this case will be a Unicode scalar value. Note that Unicode deliberately avoids the term “character” because it’s been used to mean so many different things, so you get the more precise terms “code point” and “scalar value” instead. (The difference between those two is that “scalar value” excludes the monstrosity that is the surrogate code points, which are an awful hack to support UTF-16 which should never have been invented. As is usual, precise technical terms like this get abused over time too, so that you’ll often see “codepoint” (the two words glommed) misused to refer to scalar values rather than code points.) Rust named its scalar value type “char” for familiarity’s sake, despite misgivings.
I wonder if this can be used by Gitoxide. I've wanted to try to contribute to the missing blame functionality, but that requires diffing abilities.