gquintard / varnish-rs

Rust bindings for the Varnish Cache project
BSD 3-Clause "New" or "Revised" License
22 stars 4 forks source link

Consider disabling `bindgen::derive_copy(true)` #50

Open nyurik opened 2 months ago

nyurik commented 2 months ago

I am not certain, but this feels like it may lead to many unexpected copying of the underlying data, esp for larger structs. If needed for the specific items, it can be added with the regexes. Just a thought, adding here to keep it in mind.

gquintard commented 2 months ago

sounds safer indeed