Skip to content

Update web-codecs for web-sys 0.3.91 - #36

Merged
kixelated merged 1 commit into
mainfrom
fix/web-sys-091
Mar 3, 2026
Merged

Update web-codecs for web-sys 0.3.91#36
kixelated merged 1 commit into
mainfrom
fix/web-sys-091

Conversation

@kixelated

Copy link
Copy Markdown
Owner

Summary

  • Update web-codecs to work with web-sys 0.3.91 breaking changes: typed *Support return types for is_config_supported, Option<T> wrappers for VideoColorSpaceInit setters, u32 bitrate (was f64), and required args for AudioEncoderConfig::new
  • Bump minimum web-sys version to 0.3.91 and add *Support feature flags
  • Remove cargo-audit from CI (broken by CVSS v4.0 advisory format)

Test plan

  • just check passes locally (cargo check, clippy, fmt, shear, sort)

🤖 Generated with Claude Code

- Use typed *Support return types for is_config_supported methods
- Wrap VideoColorSpaceInit setters in Some() (now Option<T>)
- Fix set_bitrate to pass u32 directly (no longer f64)
- AudioEncoderConfig::new now requires channel_count and sample_rate
- Add *Support feature flags, bump minimum web-sys to 0.3.91
- Remove cargo-audit from CI checks

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@kixelated
kixelated merged commit f656f9f into main Mar 3, 2026
1 check passed
@kixelated
kixelated deleted the fix/web-sys-091 branch March 3, 2026 02:41
@github-actions github-actions Bot mentioned this pull request Mar 3, 2026
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