Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Schema for nalgebra matrix type #175

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

avsaase
Copy link

@avsaase avsaase commented Sep 29, 2024

I want to send some nalgebra types over the wire using postcard-rpc so I needed to implement the Schema trait. Initially I used a newtype to get around the orphan rule but in this case that's quite annoying because it requires copying a huge API into my own project.

I figured nalgebra is a somewhat foundational crate in the Rust ecosystem to I think it is acceptable to add it an an optional dependency here.

Copy link

netlify bot commented Sep 29, 2024

Deploy Preview for cute-starship-2d9c9b canceled.

Name Link
🔨 Latest commit da9c078
🔍 Latest deploy log https://app.netlify.com/sites/cute-starship-2d9c9b/deploys/67044a912eb27e0008d24b30

jamesmunns added a commit that referenced this pull request Oct 15, 2024
jamesmunns added a commit that referenced this pull request Oct 15, 2024
* Start introducing postcard-schema crate

* Break out impls, remove Varint

* Switch up enum variants, cargo fmt

* Take nalgebra changes from #175

* More cleanup of the schema crate

* Correct some CI checks

* Restore the rest of CI

* Rev versions, prepare for partial release
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants