# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.92"
name = "fret-platform-web"
version = "0.1.0"
authors = ["Mingzhen Zhuang <superfrankie621@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Web platform integration for Fret on wasm32 targets."
homepage = "https://github.com/Latias94/fret"
documentation = "https://docs.rs/fret"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/Latias94/fret"
resolver = "2"

[lib]
name = "fret_platform_web"
crate-type = ["rlib"]
path = "src/lib.rs"

[dependencies]

[target.'cfg(target_arch = "wasm32")'.dependencies.fret-core]
version = "0.1.0"

[target.'cfg(target_arch = "wasm32")'.dependencies.fret-runtime]
version = "0.1.0"

[target.'cfg(target_arch = "wasm32")'.dependencies.js-sys]
version = "0.3"

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "0.2"

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-futures]
version = "0.4"

[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
version = "0.3"
features = [
    "Blob",
    "Clipboard",
    "CompositionEvent",
    "CssStyleDeclaration",
    "Document",
    "Event",
    "EventTarget",
    "File",
    "FileList",
    "FocusEvent",
    "HtmlElement",
    "HtmlInputElement",
    "HtmlTextAreaElement",
    "InputEvent",
    "KeyboardEvent",
    "Navigator",
    "Node",
    "Window",
    "console",
]
