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

Seal #9

Merged
merged 19 commits into from
Jun 12, 2024
Merged

Seal #9

merged 19 commits into from
Jun 12, 2024

Conversation

malcolmstill
Copy link
Owner

@malcolmstill malcolmstill commented Mar 31, 2024

Description

  • Move parser.zig into biscuit-builder
  • Cleans up some of the lifetime stuff:
    • Biscuit.fromBytes can now take any mem.Allocator
    • Internally it now creates an ArenaAllocator (this is heap allocated because some objects created during Biscuit.fromBytes retain their allocator which would be the arena in Biscuit.fromBytes that is pointing to the stack-allocated ArenaAllocator)
    • A similar change is made to SerializedBiscuit
  • Adds fn seal to SerializedBiscuit that does the sealing (but doesn't serialize)

@malcolmstill malcolmstill merged commit e733306 into master Jun 12, 2024
6 checks passed
@malcolmstill malcolmstill deleted the malcolm/attenuate-seal-build branch June 12, 2024 00:47
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.

1 participant