Skip to content

Gate js-sys and wasm-bindgen dependency behind a js feature #184

@jedel1043

Description

@jedel1043

Compiling any library that uses iana-time-zone on wasm32-unknown-unknown always imports the js-sys and wasm-bindgen dependencies. This is fine for Wasm binaries running in JS, but for standalone Wasm libraries it is pretty much impossible to compile a Wasm binary that does not require binding against JS APIs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions