Commit Graph

19 Commits

Author SHA1 Message Date
Michael Pfaff 5c1446df00
Replace cfg!(debug_assertions) with debug_assert! 2022-03-03 07:46:12 -05:00
KAMADA Ken'ichi a2596027c8 Simplify length-specified reads. 2021-02-23 22:20:01 +09:00
KAMADA Ken'ichi 1b05eab57e Merge the fix for an infinite loop in reading PNG files. 2021-01-05 17:55:31 +09:00
KAMADA Ken'ichi f21df24616 Fix an infinite loop in reading PNG files. 2021-01-04 11:06:15 +09:00
KAMADA Ken'ichi a406139859 Remove unnecessary use of Cursor in tests. 2020-12-02 21:48:40 +09:00
KAMADA Ken'ichi 7c113302de ErrorKind::Interrupted should be handled by discard_exact. 2020-09-06 15:23:36 +09:00
KAMADA Ken'ichi 4b18cbfe92 Move discard_exact into BufReadExt trait. 2020-08-12 23:35:00 +09:00
KAMADA Ken'ichi 6e3c37d591 Support Exif in PNG. 2020-08-03 22:57:50 +09:00
KAMADA Ken'ichi 0e398cd63a Support reading the Exif data from the HEIF container. 2020-01-19 20:48:04 +09:00
KAMADA Ken'ichi eb4723a8a9 Migrate to Rust 2018. 2019-04-01 21:11:54 +09:00
KAMADA Ken'ichi f9c4ff475b Use u8::is_ascii_uppercase() stabilized in Rust 1.24. 2019-03-27 23:16:05 +09:00
KAMADA Ken'ichi d04939182d Use from_be_bytes in one more place. 2019-03-26 23:25:46 +09:00
kpcyrd 288a7e85c5 Remove some usage of unsafe rust 2019-03-17 23:55:10 +09:00
Kornel 9c45d1903a Replace try!() with ? 2018-04-17 23:21:40 +09:00
KAMADA Ken'ichi 1ad83d8a82 Add nanosecond and time_offset fields in struct DateTime. 2017-10-01 21:17:17 +09:00
KAMADA Ken'ichi 561e801c88 Stringify GPS directions (N/W/S/E) as unquoted. 2017-07-23 21:43:02 +09:00
KAMADA Ken'ichi 5600fb205f Add DateTime parser.
This change introduces a new variant to Error and breaks the API
compatibility.
2017-03-24 22:57:38 +09:00
KAMADA Ken'ichi a0621d2ebe Test read8() and read16(). 2016-10-09 09:11:10 +09:00
KAMADA Ken'ichi e6e759af11 Extract Exif attribute information segment from a JPEG file. 2016-10-06 22:36:23 +09:00