Skip to content

Animato v0.3.0 — Control

Choose a tag to compare

@github-actions github-actions released this 07 May 09:33
· 37 commits to main since this release

Animato v0.3.0 — Control

The third release of the Animato animation library for Rust, adding runtime control, callbacks, async completion waiting, and CSS-compatible easing.

Crates published to crates.io

Crate Version Description
animato-core v0.3.0 Traits + 33 easing variants, no_std
animato-tween v0.3.0 Tween<T>, Loop, builder pattern, no_std, KeyframeTrack, serde
animato-spring v0.3.0 Spring, SpringN<T>, 5 presets, no_std
animato-driver v0.3.0 AnimationDriver, Clock variants
animato-timeline v0.3.0 Timeline, Sequence, stagger, time scale, callbacks, async wait
animato v0.3.0 Facade — re-exports all of the above

Quick Start

[dependencies]
animato = { version = "v0.3.0", features = ["timeline", "tokio"] }
use animato::{At, Timeline, Tween, Easing, Update};

let tween = Tween::new(0.0_f32, 100.0)
    .duration(1.0)
    .easing(Easing::EaseOutCubic)
    .build();

let mut timeline = Timeline::new()
    .add("move", tween, At::Start)
    .time_scale(1.0)
    .on_complete(|| println!("timeline complete"));

timeline.play();
timeline.update(0.016);

What's New in v0.3.0

  • ✅ Timeline time scale via .time_scale() and .set_time_scale()
  • ✅ Timeline callbacks via .on_entry_complete() and .on_complete()
  • ✅ Tokio completion waiting via .wait().await
  • ✅ CSS-compatible CubicBezier(...) and Steps(...) easing variants
  • ✅ Serde trait re-exports and expanded serde coverage
  • ✅ 200+ tests passing across all crates

What's Included

  • ✅ no_std support for animato-core, animato-tween, animato-spring
  • ✅ Criterion benchmarks for easing, tween, spring, and timeline
  • ✅ CI: stable + beta + nightly toolchains

See CHANGELOG.md and ROADMAP.md for details.