allow for nalgebra objects to be their own rkyv::Archive
make it so that nalgebra objects archive as themselves. Allows for implementations on Matrix and other types to also work in a zero-copy environment.
Draft PR, I will extend this to the other types soon. Any critiques or help with figuring out why I can't allow(unused_qualifications) in cfg_attr are welcome.
Currently blocking on rust-num/num-complex#110 Once that is merged and relevant API usage of num-complex is fixed, this PR should be good to review.
Thank you for this PR! Let’s not wait any further for num-complex and merge this without Complex support for now.
Since we can’t have git dependencies, I copied the implementation of CustomPhantom into the nalgebra codebase (which is a fairly small piece. I added a reference to its original rkyv_wrappers repository).
I merged that by mistake (I mixed up remotes). I’ll make a new PR with the necessary CI fixes.
rust-num/num-complex#110 was merged! Should I open another PR?