Commit graph

123 commits

Author SHA1 Message Date
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
David Tolnay
7f726a96a4
Resolve unnecessary_cast lints 2022-07-08 12:54:42 -07:00
David Tolnay
501b058987
Make C primitives reexports instead of type aliases 2022-07-08 12:54:42 -07:00
David Tolnay
24d4a7671a
Switch to panic-in-panic for C assertion failures 2022-07-08 12:54:42 -07:00
David Tolnay
4b6e1ab5cb
Update imports that don't need to come from std 2022-07-08 12:54:42 -07:00
David Tolnay
eceedff226
Inline c_offset implementation 2022-07-08 12:54:42 -07:00
David Tolnay
6a9ed3ee68
Eliminate integer-to-pointer cast in offset implementation 2022-07-08 12:54:42 -07:00
David Tolnay
9951855ff3
Avoid mutable borrow reservation conflicts 2022-07-08 12:54:42 -07:00
David Tolnay
9587d26afe
Uninitialize more local variables 2022-07-08 12:54:42 -07:00
David Tolnay
d05ef52665
Import individual items from mem and ptr 2022-07-08 12:54:41 -07:00
David Tolnay
4c6b230ddf
Clean up redundant local variable types 2022-07-08 12:54:41 -07:00
David Tolnay
3710f11929
Flatten unneeded block expressions 2022-07-08 12:54:41 -07:00
David Tolnay
0d1349aeec
Remove loader_ctx from public API 2022-07-08 12:54:41 -07:00
David Tolnay
cdc0fb3956
Delete _e and _t suffixed types 2022-07-08 12:54:41 -07:00