[package]
edition = "2024"
rust-version = "1.89"
name = "animato-js"
version = "1.4.0"
authors = ["Aarambh Dev Hub"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "WASM bindings for Animato, published to NPM as @animato/core."
readme = "README.md"
keywords = [
"animation",
"wasm",
"javascript",
"npm",
"web",
]
categories = [
"wasm",
"web-programming",
"gui",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/AarambhDevHub/animato"
resolver = "2"
[features]
default = [
"dom",
"panic-hook",
]
dom = ["animato-wasm/wasm-dom"]
panic-hook = ["dep:console_error_panic_hook"]
[lib]
name = "animato_js"
crate-type = [
"cdylib",
"rlib",
]
path = "src/lib.rs"
[[test]]
name = "wasm"
path = "tests/wasm.rs"
[dependencies.animato-core]
version = "1.4"
features = ["std"]
[dependencies.animato-driver]
version = "1.4"
[dependencies.animato-path]
version = "1.4"
features = ["std"]
[dependencies.animato-physics]
version = "1.4"
features = ["std"]
[dependencies.animato-spring]
version = "1.4"
features = ["std"]
[dependencies.animato-timeline]
version = "1.4"
features = ["std"]
[dependencies.animato-tween]
version = "1.4"
features = ["std"]
[dependencies.animato-wasm]
version = "1.4"
[dependencies.console_error_panic_hook]
version = "0.1"
optional = true
[dependencies.js-sys]
version = "0.3"
[dependencies.wasm-bindgen]
version = "0.2"
[dependencies.web-sys]
version = "0.3"
features = [
"CssStyleDeclaration",
"Document",
"DomRect",
"Element",
"EventTarget",
"HtmlElement",
"Node",
"Performance",
"PointerEvent",
"Text",
"WheelEvent",
"Window",
]
[dev-dependencies.wasm-bindgen-test]
version = "0.3"