tafia / quick-protobuf

A rust implementation of protobuf parser
MIT License
446 stars 82 forks source link

support Vec in no_std with alloc #168

Closed benma closed 4 years ago

benma commented 4 years ago

I'd like to use serialize_into_vec etc., but they are only available with the std feature.

It should be possible to use them anyway with use alloc::vec::Vec;. This could be enabled with another feature.

benma commented 4 years ago

Nevermind, this function prefixes a length which I don't need. Sorry for the noise.