martinthomson / ohttp

Rust library for encapsulating HTTP messages in a cryptographic wrapper
Apache License 2.0
30 stars 23 forks source link

avoid Pin in ParamItem #28

Closed mozkeeler closed 2 years ago

mozkeeler commented 2 years ago

Since ParamItem doesn't appear to be long-lived anyway, we should be able to use lifetimes to ensure that the data being pointed to doesn't go away or move before we're done with it.

This addresses #27.