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

serde data formats other than CBOR #17

Closed
laysakura opened this issue Jun 10, 2021 · 4 comments · Fixed by #88
Closed

serde data formats other than CBOR #17

laysakura opened this issue Jun 10, 2021 · 4 comments · Fixed by #88
Labels
new feature New feature or request performance
Milestone

Comments

@laysakura
Copy link
Owner

https://serde.rs/#data-formats

@laysakura laysakura added performance new feature New feature or request labels Jun 11, 2021
@laysakura laysakura modified the milestone: 0.1.0 Jun 11, 2021
@laysakura
Copy link
Owner Author

bincode would be the best choice for performance

@laysakura
Copy link
Owner Author

ah, bincode does not support no_std.
https://docs.rs/postcard/0.7.0/postcard/ would be good choice but consider it later.

@laysakura laysakura modified the milestones: 0.2.0, next-version Jun 14, 2021
@laysakura
Copy link
Owner Author

laysakura commented Jun 15, 2021

sgx requirements:

  • supports no_std
  • don't rely on alloc feature of serde (because rust-sgx-sdk does not compile with latest rustc due to alloc::AllocRef usage)

@laysakura
Copy link
Owner Author

laysakura commented Jun 17, 2021

  • serde-encrypt:
    • no_std: postcard
    • std: bincode
  • serde-ecnrypt-sgx
    • cbor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature or request performance
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant