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

feat!: add optional flatbuffer_verifier_options parameter to methods #36

Merged
merged 1 commit into from
Aug 31, 2023

Conversation

ev3nvy
Copy link
Owner

@ev3nvy ev3nvy commented Aug 31, 2023

Description

Added an optional flatbuffer_verifier_options parameter of type Option<&flatbuffers::VerifierOptions> to RiotManifest::from_path, RiotManifest::from_reader and ManifestData::parse. If set to None, it defaults to max_tables: 10_000_000 + defaults.

Motivation

Latest riot manifest 00AFF46430CFBC0C doesn't parse with the FlatbufferError(TooManyTables) error.

@ev3nvy ev3nvy added type: feature New feature or request status: completed Issue was resolved, or pull request was merged labels Aug 31, 2023
BREAKING CHANGE: adding/removing parameters on public functions is
semver-MAJOR change
@ev3nvy ev3nvy force-pushed the verifier-opts-param branch from 781da46 to 40e8d98 Compare August 31, 2023 22:49
@ev3nvy ev3nvy merged commit 1f96895 into master Aug 31, 2023
@ev3nvy ev3nvy deleted the verifier-opts-param branch August 31, 2023 22:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: completed Issue was resolved, or pull request was merged type: feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant