Commit graph

477 commits

Author SHA1 Message Date
Simon Ask Ulsnes
092bf829a7 Release 0.1.1 2024-02-11 09:27:00 +01:00
Simon Ask Ulsnes
36e62f40b0 Fix marks in tokens 2024-02-11 09:22:27 +01:00
Simon Ask Ulsnes
82b38c2b47 Simplify/Rustify Document::load functions 2024-02-09 09:49:05 +01:00
Simon Ask Ulsnes
79350cd506 Cleanup 2024-02-09 09:29:42 +01:00
Simon Ask Ulsnes
4f9ef3221e Box errors, remove thiserror 2024-02-08 10:49:36 +01:00
Simon Ask Ulsnes
8f6ce4bf4a Add note about performance 2024-02-04 15:30:39 +01:00
Simon Ask Ulsnes
047bb8dfcb Add benchmark 2024-02-04 15:16:58 +01:00
Simon Ask Ulsnes
f096658622 Remove unused CStr implementation 2024-02-04 14:31:31 +01:00
Simon Ask Ulsnes
584257f419 Don't implicate innocents 2024-02-04 14:28:56 +01:00
Simon Ask Ulsnes
417a4baccc Fix fuzzer 2024-02-04 14:27:19 +01:00
Simon Ask Ulsnes
9b41218d0f Cleanup 2024-02-04 14:24:25 +01:00
Simon Ask Ulsnes
5ef7d51da0 Use char rather than raw bytes where possible 2024-02-04 14:18:13 +01:00
Simon Ask Ulsnes
4d90f9a429 Unallow snake case warning 2024-02-04 14:06:15 +01:00
Simon Ask Ulsnes
1dac7033b3 Change macro-like emitter functions to methods 2024-02-04 14:05:44 +01:00
Simon Ask Ulsnes
33381d5545 Change macro-like scanner internals to methods 2024-02-04 13:58:22 +01:00
Simon Ask Ulsnes
6c699d8489 Clean up scanner "macros" 2024-02-04 13:49:58 +01:00
Simon Ask Ulsnes
98d55dc4e0 Remove redundant unread field 2024-02-04 13:44:15 +01:00
Simon Ask Ulsnes
c8a7bec2ae Change macro-like scanner functions into regular methods 2024-02-04 13:34:21 +01:00
Simon Ask Ulsnes
882327162b Remove unnecessary impl Default for Event 2024-02-04 12:15:56 +01:00
Simon Ask Ulsnes
873ccb3760 Remove unnecessary impl Default for Token 2024-02-04 12:08:29 +01:00
Simon Ask Ulsnes
c83b6835d8 Convert yaml_emitter_flush() to member function 2024-02-04 11:55:10 +01:00
Simon Ask Ulsnes
fec143f0c0 Implement Iterator for Parser and Scanner 2024-02-04 11:51:08 +01:00
Simon Ask Ulsnes
a171e0013a Convert scanning functions to methods on Scanner 2024-02-04 11:42:48 +01:00
Simon Ask Ulsnes
6d83c59100 Separate Scanner and Parser 2024-02-04 11:22:11 +01:00
Simon Ask Ulsnes
15b3e412f5 Fix doc links 2024-02-04 11:09:18 +01:00
Simon Ask Ulsnes
1df2e6f998 Move yaml_emitter_dump to Document 2024-02-04 11:04:25 +01:00
Simon Ask Ulsnes
eae9fe8a4c Move yaml_parser_load to Document::load 2024-02-04 10:55:28 +01:00
Simon Ask Ulsnes
dc69732a25 Fix lints 2024-02-04 10:40:24 +01:00
Simon Ask Ulsnes
3e3a844aa5 Convert yaml_emitter_ functions to member functions 2024-02-04 10:38:40 +01:00
Simon Ask Ulsnes
a840beafb0 Convert yaml_parser_ functions to member functions 2024-02-04 10:22:38 +01:00
Simon Ask Ulsnes
949c8082cb Add note 2024-02-04 10:08:08 +01:00
Simon Ask Ulsnes
0d9097344a Allow non-mutable access to Document nodes 2024-02-04 10:05:48 +01:00
Simon Ask Ulsnes
5b9dcd7a15 Rustify module organization 2024-02-04 10:03:36 +01:00
Simon Ask Ulsnes
1ffb036601 Stylistic: Prefer let-else 2024-02-04 09:43:06 +01:00
Simon Ask Ulsnes
7071ddd276 Get rid of some unnecessary clones 2024-02-04 09:38:59 +01:00
Simon Ask Ulsnes
d94eff3861 Stylistic changes 2024-02-04 09:27:40 +01:00
Simon Ask Ulsnes
784b874007 Fix intra-doc links 2024-02-04 09:11:40 +01:00
Simon Ask Ulsnes
d64879c3f1 Update README, doc links 2024-02-04 09:02:16 +01:00
Simon Ask Ulsnes
2bff17e0b8 Minor reorganization 2024-02-04 09:01:56 +01:00
Simon Ask Ulsnes
6f7b184678 Fix license 2024-02-04 09:00:36 +01:00
Simon Ask Ulsnes
5ebedb67ec More lints 2024-02-03 10:39:04 +01:00
Simon Ask Ulsnes
c3d1aba783 Update fuzz testers 2024-02-03 10:35:21 +01:00
Simon Ask Ulsnes
b865e1459b Lint: &mut Vec to &[] 2024-02-03 10:24:14 +01:00
Simon Ask Ulsnes
1e8de81f66 Lint 2024-02-03 10:21:09 +01:00
Simon Ask Ulsnes
f46efd6a29 CI: Update required Rust versions 2024-02-03 09:56:37 +01:00
Simon Ask Ulsnes
ae66ae2f6c Lint: clippy --fix 2024-02-03 09:54:38 +01:00
Simon Ask Ulsnes
9cc9513c2b Remove unneeded #[allow]s 2024-02-03 09:49:20 +01:00
Simon Ask Ulsnes
6fcb075289 Fixup const doc comments 2024-02-03 09:46:56 +01:00
Simon Ask Ulsnes
b65896d04b Rustify constants 2024-02-03 09:45:44 +01:00
Simon Ask Ulsnes
b394312eda Rustify enums 2024-02-03 09:43:57 +01:00