gadomski / las-rs

Read and write ASPRS las files, Rust edition.
MIT License
73 stars 32 forks source link

Remove static lifetime #48

Closed froody closed 2 years ago

froody commented 2 years ago

With the current implementation, you must either create las::Reader with File or &'static File, which means you have to open a file twice in order to use laz-rs to decompress the points in parallel. This change replaces 'static with 'a so that a locally scoped &File can be used.

gadomski commented 2 years ago

Thanks!