[package]
name = "aura-anim-iced"
version = "0.2.1"
edition = "2024"
rust-version = "1.88"
authors = ["krteke"]
description = "Iced-first animation primitives."
license = "MIT"
readme = "README.md"
repository = "https://github.com/krteke/aura-anim-iced"
documentation = "https://docs.rs/aura-anim-iced"
keywords = ["iced", "animation", "ui", "motion"]
categories = ["gui", "graphics"]
include = [
    "src/**/*.rs",
    "examples/**/*.rs",
    "benches/**/*.rs",
    "tests/**/*.rs",
    "README.md",
    "CHANGELOG.md",
    "LICENSE",
    "Cargo.toml",
]

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

[[bench]]
name = "sampling"
harness = false

[features]
default = []
# testing = []
# serde = ["dep:serde"]
tracing = ["dep:tracing"]
inspector = ["tracing"]

[dependencies]
iced = { version = "0.14", features = ["tokio"] }
serde = { version = "1", optional = true, features = ["derive"] }
tracing = { version = "0.1", optional = true }
smallvec = "1.15.1"
rustc-hash = "2.1.2"
thiserror = "2"

[dev-dependencies]
criterion = { version = "0.8.2", default-features = false }
anyhow = "1"
tracing-subscriber = "0.3"
float-cmp = "0.10.0"

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

[lints.rust]
missing_docs = "warn"
rust_2018_idioms = { level = "warn", priority = -1 }
unsafe_code = "forbid"
unreachable_pub = "warn"
unused_must_use = "deny"

[lints.clippy]
all = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }
alloc_instead_of_core = "warn"
std_instead_of_core = "allow"
module_name_repetitions = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
