# 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.89"
name = "animato-wasm"
version = "1.1.0"
authors = ["Aarambh Dev Hub"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "WASM, requestAnimationFrame, DOM integration, and layout animation for Animato."
readme = "README.md"
keywords = [
    "animation",
    "wasm",
    "web",
    "dom",
    "layout",
]
categories = [
    "wasm",
    "web-programming",
    "gui",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/AarambhDevHub/animato"
resolver = "2"

[features]
default = []
wasm-dom = [
    "dep:animato-physics",
    "dep:animato-tween",
    "dep:wasm-bindgen",
    "dep:web-sys",
]

[lib]
name = "animato_wasm"
path = "src/lib.rs"

[dependencies.animato-core]
version = "1.1"

[dependencies.animato-driver]
version = "1.1"

[dependencies.animato-physics]
version = "1.1"
features = ["alloc"]
optional = true

[dependencies.animato-tween]
version = "1.1"
optional = true

[dependencies.wasm-bindgen]
version = "0.2"
optional = true

[dependencies.web-sys]
version = "0.3"
features = [
    "CssStyleDeclaration",
    "Document",
    "DomRect",
    "Element",
    "EventTarget",
    "HtmlElement",
    "Node",
    "PointerEvent",
    "Text",
    "WheelEvent",
]
optional = true

[dev-dependencies.animato-tween]
version = "1.1"
