Commit Graph

5 Commits

Author SHA1 Message Date
Manish Goregaokar 933ee7948f Merge pull request #64 from sunfishcode/sunfishcode/nfd-buffering
Make the decompose iterator avoid buffering elements past a starter.
2020-11-18 13:32:05 -08:00
Dan Gohman 49654fcb12 Make the decompose iterator avoid buffering elements past a starter.
Once the decompose iterator sees a starter, it should immediately start
returning characters from the preceeding sequence. If the input happens
to be stream-safe, it should never get more than MAX_NONSTARTERS + plus
boundary values ahead of its inner iterator.
2020-11-18 11:16:13 -08:00
Dan Gohman 960ac7fd7d Use a local path dependency for unicode-normalization.
And update the libfuzzer-sys dependency while here.
2020-11-18 10:30:11 -08:00
Dan Gohman 00e2834d24 Use assert_ne! instead of assert! and !=. 2020-11-18 10:29:32 -08:00
Dan Gohman 8a24c56ae7 Add a fuzz target. 2020-11-17 21:58:20 -08:00