embassy-rs / trouble

A Rust Host BLE stack with a future goal of qualification.
Apache License 2.0
87 stars 11 forks source link

Use heapless::Vec where possible #100

Open nm17 opened 2 weeks ago

nm17 commented 2 weeks ago

Example of a struct that can be replaced with a heapless vec (in my opinion):

https://github.com/embassy-rs/trouble/blob/ad1c71ed221007e793521b3b60ff93a74eed62d9/host/src/attribute.rs#L251-L254