Skip to content

Commit e5e7b18

Browse files
committed
rename Output to XmlString, use that everywhere
In practice I found that I would often miss out on stripping ANSI escape codes from various bits. Rename `Output` to `XmlString` and use it as a newtype. Also implement a bunch of conveniences to allow `XmlString` instances to behave like `str`.
1 parent 9ac91be commit e5e7b18

File tree

4 files changed

+384
-78
lines changed

4 files changed

+384
-78
lines changed

Cargo.lock

Lines changed: 222 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,5 @@ uuid = "1.10.0"
2323
[dev-dependencies]
2424
goldenfile = "1.7.1"
2525
owo-colors = "4.0.0"
26+
proptest = "1.5.0"
27+
test-strategy = "0.4.0"

0 commit comments

Comments
 (0)