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

Fix woff2 error conversion issues for modern Rust compatibility #9

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

msarcev
Copy link

@msarcev msarcev commented Feb 25, 2025

  • Implemented explicit error type conversions using map_err() where the ? operator was failing
  • Fixed incompatibility between TryGetError and various error types (Base128Error, Truncated, etc.)
  • Resolved ambiguous try_get_u8() method calls
  • Addressed error handling in collection_directory.rs and table_directory.rs

These changes allow the woff2 crate to compile with current Rust toolchains and dependencies.

- Implemented explicit error type conversions using map_err() where the ? operator was failing
- Fixed incompatibility between TryGetError and various error types (Base128Error, Truncated, etc.)
- Resolved ambiguous try_get_u8() method calls
- Addressed error handling in collection_directory.rs and table_directory.rs

These changes allow the woff2 crate to compile with current Rust toolchains and dependencies.
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