# 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"
version = "1.2.0"
authors = ["Aarambh Dev Hub"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Professional-grade, renderer-agnostic animation library for Rust. Zero mandatory dependencies. no_std-ready."
readme = "README.md"
keywords = [
    "animation",
    "tween",
    "spring",
    "easing",
    "game-development",
]
categories = [
    "game-development",
    "graphics",
    "no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/AarambhDevHub/animato"
resolver = "2"

[features]
bevy = [
    "dep:animato-bevy",
    "tween",
    "spring",
    "std",
]
color = [
    "dep:animato-color",
    "dep:palette",
]
default = [
    "std",
    "tween",
    "timeline",
    "spring",
    "driver",
]
dioxus = ["dep:animato-dioxus"]
dioxus-desktop = [
    "dioxus",
    "animato-dioxus/desktop",
]
dioxus-native = [
    "dioxus",
    "animato-dioxus/native",
]
dioxus-router = [
    "dioxus",
    "animato-dioxus/router",
]
dioxus-web = [
    "dioxus",
    "animato-dioxus/web",
]
driver = ["dep:animato-driver"]
gpu = [
    "dep:animato-gpu",
    "tween",
    "std",
]
leptos = ["dep:animato-leptos"]
leptos-csr = [
    "leptos",
    "animato-leptos/csr",
]
leptos-hydrate = [
    "leptos",
    "animato-leptos/hydrate",
]
leptos-ssr = [
    "leptos",
    "animato-leptos/ssr",
]
path = [
    "dep:animato-path",
    "animato-path/std",
]
physics = [
    "dep:animato-physics",
    "animato-physics/alloc",
]
serde = [
    "dep:serde",
    "animato-core/serde",
    "animato-tween?/serde",
    "animato-timeline?/serde",
    "animato-spring?/serde",
    "animato-path?/serde",
    "animato-physics?/serde",
    "animato-color?/serde",
]
spring = [
    "dep:animato-spring",
    "animato-spring?/alloc",
]
std = [
    "animato-core/std",
    "dep:animato-driver",
    "animato-tween?/std",
    "animato-timeline?/std",
    "animato-spring?/std",
    "animato-path?/std",
    "animato-physics?/std",
    "animato-color?/std",
    "palette?/std",
]
timeline = ["dep:animato-timeline"]
tokio = [
    "timeline",
    "animato-timeline/tokio",
]
tween = [
    "dep:animato-tween",
    "animato-tween/alloc",
]
wasm = [
    "dep:animato-wasm",
    "driver",
]
wasm-dom = [
    "wasm",
    "animato-wasm/wasm-dom",
]

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

[dependencies.animato-bevy]
version = "1.2"
optional = true

[dependencies.animato-color]
version = "1.2"
optional = true

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

[dependencies.animato-dioxus]
version = "1.2"
optional = true

[dependencies.animato-driver]
version = "1.2"
optional = true

[dependencies.animato-gpu]
version = "1.2"
optional = true

[dependencies.animato-leptos]
version = "1.2"
optional = true

[dependencies.animato-path]
version = "1.2"
optional = true

[dependencies.animato-physics]
version = "1.2"
optional = true

[dependencies.animato-spring]
version = "1.2"
optional = true

[dependencies.animato-timeline]
version = "1.2"
optional = true

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

[dependencies.animato-wasm]
version = "1.2"
optional = true

[dependencies.palette]
version = "0.7"
features = ["libm"]
optional = true
default-features = false

[dependencies.serde]
version = "1"
features = ["derive"]
optional = true

[dev-dependencies.animato-bevy]
version = "1.2"

[dev-dependencies.animato-color]
version = "1.2"

[dev-dependencies.animato-core]
version = "1.2"

[dev-dependencies.animato-dioxus]
version = "1.2"

[dev-dependencies.animato-driver]
version = "1.2"

[dev-dependencies.animato-gpu]
version = "1.2"

[dev-dependencies.animato-leptos]
version = "1.2"

[dev-dependencies.animato-path]
version = "1.2"
features = ["std"]

[dev-dependencies.animato-physics]
version = "1.2"
features = ["alloc"]

[dev-dependencies.animato-spring]
version = "1.2"
features = ["alloc"]

[dev-dependencies.animato-timeline]
version = "1.2"

[dev-dependencies.animato-tween]
version = "1.2"
features = ["alloc"]

[dev-dependencies.animato-wasm]
version = "1.2"

[dev-dependencies.bevy_app]
version = "0.18.1"
default-features = false

[dev-dependencies.bevy_ecs]
version = "0.18.1"
default-features = false

[dev-dependencies.bevy_time]
version = "0.18.1"
default-features = false

[dev-dependencies.bevy_transform]
version = "0.18.1"
features = [
    "bevy-support",
    "libm",
]
default-features = false

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.crossterm]
version = "0.29.0"

[dev-dependencies.ratatui]
version = "0.30.0"
