Commit Graph

4 Commits

Author SHA1 Message Date
TheDaemoness 0196a11a8a
Add some ergonomics improvements (#2)
* Generalize tokenise to any AsRef<[u8]>

* Add Line::write_to()

Also rewrites some functions in format.rs to be more Write-focused.

* Add some basic trait impls for Line and Error

* cargo fmt

---------

Co-authored-by: jesopo <github@lolnerd.net>
2023-04-08 19:32:32 +01:00
TheDaemoness 541b639f1a
Add example usage and fix some documentation nits 2023-03-23 14:22:54 -07:00
jesopo 147eeff8d1 documentation and `impl TryFrom<&[u8]> for Line` 2023-03-23 18:12:04 +00:00
jesopo 3f3892158b split out files, add Line.format() 2023-03-22 22:14:17 +00:00