# 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.88"
name = "aura-anim-iced"
version = "0.2.1"
authors = ["krteke"]
build = false
include = [
    "src/**/*.rs",
    "examples/**/*.rs",
    "benches/**/*.rs",
    "tests/**/*.rs",
    "README.md",
    "CHANGELOG.md",
    "LICENSE",
    "Cargo.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Iced-first animation primitives."
documentation = "https://docs.rs/aura-anim-iced"
readme = "README.md"
keywords = [
    "iced",
    "animation",
    "ui",
    "motion",
]
categories = [
    "gui",
    "graphics",
]
license = "MIT"
repository = "https://github.com/krteke/aura-anim-iced"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = []
inspector = ["tracing"]
tracing = ["dep:tracing"]

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

[[example]]
name = "animated_button"
path = "examples/animated_button.rs"

[[example]]
name = "behavior_width"
path = "examples/behavior_width.rs"

[[example]]
name = "keyframes_popup"
path = "examples/keyframes_popup.rs"

[[example]]
name = "route_transition"
path = "examples/route_transition.rs"

[[example]]
name = "timeline_toast"
path = "examples/timeline_toast.rs"

[[test]]
name = "end_to_end_animation"
path = "tests/end_to_end_animation.rs"

[[test]]
name = "feature_flags_compile"
path = "tests/feature_flags_compile.rs"

[[test]]
name = "iced_integration_compile"
path = "tests/iced_integration_compile.rs"

[[test]]
name = "prelude_smoke"
path = "tests/prelude_smoke.rs"

[[test]]
name = "property_transition"
path = "tests/property_transition.rs"

[[test]]
name = "route_transition"
path = "tests/route_transition.rs"

[[test]]
name = "runtime_target_scope"
path = "tests/runtime_target_scope.rs"

[[test]]
name = "state_transition"
path = "tests/state_transition.rs"

[[bench]]
name = "sampling"
path = "benches/sampling.rs"
harness = false

[dependencies.iced]
version = "0.14"
features = ["tokio"]

[dependencies.rustc-hash]
version = "2.1.2"

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

[dependencies.smallvec]
version = "1.15.1"

[dependencies.thiserror]
version = "2"

[dependencies.tracing]
version = "0.1"
optional = true

[dev-dependencies.anyhow]
version = "1"

[dev-dependencies.criterion]
version = "0.8.2"
default-features = false

[dev-dependencies.float-cmp]
version = "0.10.0"

[dev-dependencies.tracing-subscriber]
version = "0.3"

[lints.clippy]
alloc_instead_of_core = "warn"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
std_instead_of_core = "allow"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_docs = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"
unused_must_use = "deny"

[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1
