Commit graph

12 commits

Author SHA1 Message Date
Paul Stemmet ee8c93eb3d chore: bump v0.1.1
This is the first published version of this crate. Quite a milestone for
me, as I have started work on this library multiple times over the last
3 years, never getting enough traction to find something that worked for
my project goals.

This version contains the lowest level API that will be supported by
this crate: lib/event; which allows callers to directly consume YAML
stream events as the occur, with no help or storage apparatus.

I have some CI/CD issues to figure out -- testing docs, automating
crates.io publishes, improving test spread and speed, adding a recipe
runner (Make/just). After which I'll start working away on the in memory
graph representation of YAML, which will allow me to provide a Value
abstraction for handling arbitrary YAML, similar to serde_json::Value.

Its secondary purpose will be as storage for aliasing trees... during
serde::Deserialization, which will be a feature gated API that may
eventually take the place of serde_yaml.
2022-03-27 16:51:52 +01:00
Paul Stemmet fa821cbf81 build: add pre-publish fields to Cargo.toml
- readme
- description
- repository
- keywords
- categories

and reorganize field layout, better grouping important fields together.
2022-03-19 10:04:02 +00:00
Paul Stemmet ccc1bc16ab
license/mpl2
* LICENSE: MPL 2.0

* lib/**: add MPL 2.0 header to source code

* Cargo: license = "MPL-2.0"
2021-09-17 17:32:30 +01:00
Paul Stemmet 8d01532b1f Cargo: add feature.test_lazy
For testing the Scanner with O_LAZY active
2021-09-17 17:03:13 +01:00
Paul Stemmet 70fea619cb Cargo: dev-dependencies.cfg-if = 1 2021-09-09 20:29:29 +01:00
Paul Stemmet 6147424c30 Cargo: add dependencies.bitflags = 1 2021-09-09 20:29:29 +01:00
Paul Stemmet c1aeb0d3f0 Cargo: dependencies.anyhow -> dev-dependencies.anyhow
anyhow is used for testing, not in library code.
2021-09-07 18:32:26 +01:00
Paul Stemmet 2768e5c86c lib/deps: add atoi
for fast slice -> ascii conversions
2021-06-06 08:44:15 +01:00
Paul Stemmet b541afbf91 lib/error: use anyhow as an error stub 2021-06-03 17:52:32 +01:00
Paul Stemmet 68cc3f7342 lib/scanner: improve tokens! macro error reporting 2021-06-02 19:34:12 +01:00
Paul Stemmet bdc70312f1
scanner: add Scanner struct + tokens! macro
The scanner is the engine that will drive the underlying byte stream,
converting it to tokens. This struct will not attempt to impose semantic
restrictions on token ordering, that will be for high level data
structures.
2021-06-01 19:07:47 +00:00
Paul Stemmet 847cf54400
Genesis 2021-06-01 13:31:00 +00:00