JustPretender / fastboot

A simple library that implements Android Fastboot protocol.
MIT License
7 stars 5 forks source link

Reduce String usage #4

Closed themadprofessor closed 5 years ago

themadprofessor commented 5 years ago

Replace command strings with byte vectors to remove UTF-8 conversion overhead at runtime. Modify reply parsing to reduce string usage. Also, utilise Vec::with_capacity to avoid multiple allocations. Update test code to 2018 edition and add rustfmt.toml.