Skip to content

Animato v1.7.3

Latest

Choose a tag to compare

@github-actions github-actions released this 21 Oct 07:19
fd9d719

Animato v1.7.3 — Facade no_std Fix

Animato v1.7.3 is a focused patch release that makes the animato facade
itself no_std-capable. It resolves the failure reported through
scenix #21: with
std disabled, the facade always compiled as a std crate and could not
build for bare-metal targets, forcing no_std consumers onto the
sub-crates even when the facade features they enabled were no_std-safe.

Highlights

  • The facade lib.rs now declares #![cfg_attr(not(feature = "std"), no_std)],
    matching the sub-crates it re-exports.
  • animato --no-default-features (core only) and
    animato --no-default-features --features tween,spring both compile for
    thumbv7m-none-eabi.
  • animato --no-default-features --features tween,spring,physics,color
    compiles for thumbv7m-none-eabi too.
  • timeline and path remain std-only (unchanged from v1.7.2); their
    internal dependency trees enable animato-core/std on bare metal.
  • The bare-metal lanes in ci.yml and publish.yml now include the
    facade itself, so it can no longer silently require std.
  • No public API changed: std-mode users are untouched, and no_std
    consumers that used the sub-crates directly may now use the facade.

Building for bare metal

[dependencies]
animato = { version = "1.7.3", default-features = false, features = ["tween", "spring"] }
rustup target add thumbv7m-none-eabi
cargo check -p animato --no-default-features --features tween,spring --target thumbv7m-none-eabi

Scenix integration

scenix-animato (the scenix facade bridge) depends on
animato = "1.7.3" with only tween/spring enabled, so the earlier
scenario compiles for thumbv7m-none-eabi exactly like the scenix
one-liner above.


All workspace crates are versioned together at 1.7.3 in this release.

What's Changed

Full Changelog: v1.7.2...v1.7.3