Electron100 / butane

An ORM for Rust with a focus on simplicity and on writing Rust, not SQL
Apache License 2.0
100 stars 13 forks source link

Clean up AsyncAdapter #277

Closed Electron100 closed 2 weeks ago

Electron100 commented 2 weeks ago

Address TODOs, and improve comments including about why I believe the unsafe usage to be sound. That said, I welcome additional eyes on the unsafe sections here . In some ways I find unsafe in Rust even harder to reason about than memory safety in C++ as Rust has a greater expectation that objects may be allowed to move.