Skip to content

Stabilize Web Animations API functions #3988

Open
@luxalpa

Description

@luxalpa

Motivation

I am not entirely sure what the process is for removing cfg(web_sys_unstable_apis) or how the WebIDL works, but according to MDN, parts of the Web Animations API such as animate are in Baseline since 1.5 years ago and not experimental.

Proposed Solution

Remove #[cfg(web_sys_unstable_apis)] from the supposedly stable Web Animations API functions such as animate and KeyframeOptions

Alternatives

I am currently using these functions with the unstable flag, but the flag itself is a big hassle to deal with, resulting in bugs from rust-analyzer on VSCode, RustRover and Cranelift. While this is more of a problem of those respective tools, I'd like to avoid having to deal with those issues if I can.

Additional Context

I'm using these for building a crate for Animation components for the Leptos web framework.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions