Commit graph

136 commits

Author SHA1 Message Date
David Tolnay
f55f31b57a
Make get_version_string safe to call 2022-07-08 15:36:17 -07:00
David Tolnay
c7fbdd3269
Add must_use on functions that return errors 2022-07-08 14:04:22 -07:00
David Tolnay
9b37e7a052
Release 0.1.0 2022-07-08 12:54:47 -07:00
David Tolnay
52958a5d87
Add crosslink icons to top of rustdoc 2022-07-08 12:54:46 -07:00
David Tolnay
c990cfb389
Add badges to readme 2022-07-08 12:54:46 -07:00
David Tolnay
a1907c2d27
Write readme 2022-07-08 12:54:46 -07:00
David Tolnay
2204c7ea3a
Resolve ptr_offset_with_cast clippy lint 2022-07-08 12:54:46 -07:00
David Tolnay
c69e847a68
Add CI build to cover fuzz target 2022-07-08 12:54:46 -07:00
David Tolnay
5b48860450
Detect warnings in CI 2022-07-08 12:54:46 -07:00
David Tolnay
5e5bed5d21
Add actions job to notice outdated dependencies 2022-07-08 12:54:46 -07:00
David Tolnay
2c9d723706
Add a miri test job in CI 2022-07-08 12:54:46 -07:00
David Tolnay
9741a6dd27
Run clippy in CI 2022-07-08 12:54:46 -07:00
David Tolnay
d984aed5af
Set up GitHub Actions 2022-07-08 12:54:46 -07:00
David Tolnay
00d4773f87
Fill in crates.io metadata 2022-07-08 12:54:46 -07:00
David Tolnay
243a66c6f4
Set html_root_url 2022-07-08 12:54:46 -07:00
David Tolnay
4f2a69d4c8
Select a single docs.rs build target 2022-07-08 12:54:46 -07:00
David Tolnay
0052fcf361
Upgrade to 2021 edition 2022-07-08 12:54:45 -07:00
David Tolnay
df24355436
Clean up run-emitter-test-suite implementation 2022-07-08 12:54:45 -07:00
David Tolnay
9d367c1b68
Clean up run-parser-test-suite implementation 2022-07-08 12:54:45 -07:00
David Tolnay
e599e2ee58
Derive more traits for enums 2022-07-08 12:54:45 -07:00
David Tolnay
966ef05f32
Add CStr that can be lossy formatted without allocation 2022-07-08 12:54:45 -07:00
David Tolnay
47ad13e63c
Add space between items 2022-07-08 12:54:45 -07:00
David Tolnay
92093d8f4f
Remove pub visibility of fields that are documented as internal 2022-07-08 12:54:45 -07:00
David Tolnay
6214b6f64e
Copy docs 2022-07-08 12:54:45 -07:00
David Tolnay
368d07a929
Reduce visibility of internal APIs 2022-07-08 12:54:45 -07:00
David Tolnay
73da3e1b64
Include argument names in handler_t signatures 2022-07-08 12:54:45 -07:00
David Tolnay
345533125d
Use rust enum to implement libyaml's enums 2022-07-08 12:54:44 -07:00
David Tolnay
97997e23e3
Remove APIs not in yaml.h from crate root 2022-07-08 12:54:44 -07:00
David Tolnay
13fb66f124
Add parser fuzz target 2022-07-08 12:54:44 -07:00
David Tolnay
e97238de1a
Remove externs from public API 2022-07-08 12:54:44 -07:00
David Tolnay
b216891aad
Remove libc from public API 2022-07-08 12:54:44 -07:00
David Tolnay
b33a3f29dd
Rename type_0 field to type_ 2022-07-08 12:54:44 -07:00
David Tolnay
a67689123f
Inline some unnamed types 2022-07-08 12:54:44 -07:00
David Tolnay
caad63746c
Deal with clippy lints 2022-07-08 12:54:44 -07:00
David Tolnay
b41753a13d
Remove unneeded parens 2022-07-08 12:54:44 -07:00
David Tolnay
cc30826669
Unexport __assert macro 2022-07-08 12:54:44 -07:00
David Tolnay
144f9a1659
Remove integer type aliases from crate root 2022-07-08 12:54:44 -07:00
David Tolnay
a99a868416
Fix leak on error in test bins 2022-07-08 12:54:43 -07:00
David Tolnay
eef6bb4b5f
More uninitialized local variables 2022-07-08 12:54:43 -07:00
David Tolnay
c6c368f5a3
Fix constructed name of unnamed types 2022-07-08 12:54:43 -07:00
David Tolnay
d1a5075546
Make test suite runnable in miri 2022-07-08 12:54:43 -07:00
David Tolnay
a6de143358
Make parser test read input from io::Read 2022-07-08 12:54:43 -07:00
David Tolnay
75ef3415bd
Move argument parsing of bins to safe main code 2022-07-08 12:54:43 -07:00
David Tolnay
c1b8c6e6b7
Make unconditionally no_std 2022-07-08 12:54:43 -07:00
David Tolnay
0c9952c9a1
Drop CStr dependency 2022-07-08 12:54:43 -07:00
David Tolnay
17872c0728
Make a fmt::Write impl for pointer writes 2022-07-08 12:54:43 -07:00
David Tolnay
eb854c860b
Pass through zero sized mallocs 2022-07-08 12:54:43 -07:00
David Tolnay
43b0129bc7
Reduce alloc repetition 2022-07-08 12:54:42 -07:00
David Tolnay
a0d51c55f6
Eliminate redundant integer casts 2022-07-08 12:54:42 -07:00
David Tolnay
d28ea5887b
Resolve identity_op lints 2022-07-08 12:54:42 -07:00