[package]
edition = "2021"
name = "leptos_animate"
version = "0.1.10"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Animation utilities for Leptos. FLIP, in/out transitions, and helpers for custom animations."
readme = "README.md"
license = "MIT"
repository = "https://github.com/brofrain/leptos-animate"
[lib]
name = "leptos_animate"
path = "src/lib.rs"
[dependencies.anyhow]
version = "1.0.100"
[dependencies.bon]
version = "3.8.2"
[dependencies.futures]
version = "0.3.31"
[dependencies.leptos]
version = "0.8.15"
[dependencies.paste]
version = "1.0.15"
[dependencies.reactive_stores]
version = "0.3.1"
[dependencies.reactive_stores_macro]
version = "0.2.6"
[dependencies.send_wrapper]
version = "0.6.0"
[dependencies.wasm-bindgen]
version = "0.2.108"
[dependencies.wasm-bindgen-futures]
version = "0.4.58"
[dependencies.web-sys]
version = "0.3.85"
features = [
"Animation",
"AnimationEffect",
"AnimationPlayState",
"ComputedEffectTiming",
"DomRect",
"GetAnimationsOptions",
"KeyframeAnimationOptions",
"MutationObserver",
"MutationObserverInit",
"MutationRecord",
"Node",
]
[lints.clippy]
cast_possible_truncation = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
clone_on_ref_ptr = "warn"
deref_by_slicing = "warn"
empty_drop = "warn"
fallible_impl_from = "warn"
float_cmp_const = "warn"
fn_to_numeric_cast_any = "warn"
get_unwrap = "warn"
implicit_clone = "warn"
missing_const_for_fn = "warn"
missing_panics_doc = "allow"
mod_module_files = "warn"
module_name_repetitions = "warn"
multiple_inherent_impl = "warn"
must_use_candidate = "allow"
mutex_atomic = "warn"
partial_pub_fields = "warn"
pub_without_shorthand = "warn"
rc_mutex = "warn"
redundant_clone = "warn"
redundant_type_annotations = "warn"
ref_patterns = "warn"
rest_pat_in_fully_bound_structs = "warn"
semicolon_inside_block = "warn"
str_to_string = "warn"
suspicious_operation_groupings = "warn"
trait_duplication_in_bounds = "warn"
try_err = "warn"
unnecessary_self_imports = "warn"
unneeded_field_pattern = "warn"
unseparated_literal_suffix = "warn"
use_self = "warn"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "forbid"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(web_sys_unstable_apis)"]