sarah-quinones / faer-rs

Linear algebra foundation for the Rust programming language
https://faer-rs.github.io
MIT License
1.82k stars 61 forks source link

feat: support visit_seq for Deserialize #152

Closed kemingy closed 1 week ago

kemingy commented 3 weeks ago

visit_seq is required if people want to use serde + faer with bincode.

See:

Basically, this PR only changed the position of MatrixOrVecDeserializer + MatrixOrVec and added the visit_seq method.

cargo +nightly fmt changed some code. Let me know if I need to revert these changes.