- updated dependencies to latest versions
- attempt to improve performance by turning the
Tokenizer
into an iterator, performance worsened, so I reverted to the current implementation
- replace hardcoded whitespace characters to configurable
Duo
struct replacingduos
macroTokenizer::next
is nowTokenizer::seek
Tokenizer::seek
returnsSeekResult
SeekResult
nukedTokenizer::seek
renamed toTokenizer::consume
Tokenizer::consume
now returnsResult<Option<Token>>
- prevent compiler from optimizing away benchmarks properly
- tests are now in separate files
- futurproofing tests by expect matching the whole
Token
struct serialization
feature nuked- fixed
Tokenizer::tokenize_all
not returning errors properly
- implemented
Tokenizer::seek
- renamed
Tokenizer::tokenize_all
toTokenizer::consume_all
- replace
lazy_static
withOnceLock
, removing a dependency