#gui-framework #declarative-ui #framework #declarative #ui-framework

cranpose-runtime-std

Standard library backed runtime services for Cranpose

48 releases

new 0.1.12 Jun 8, 2026
0.1.7 May 21, 2026
0.1.0 Jan 18, 2026

#1 in #framework

Download history 14/week @ 2026-04-23 37/week @ 2026-04-30 25/week @ 2026-05-07 81/week @ 2026-05-14 46/week @ 2026-05-21 19/week @ 2026-05-28

185 downloads per month
Used in 4 crates

Apache-2.0

16KB
331 lines

Cranpose Runtime Std

Platform-agnostic standard library implementations for Cranpose runtime interfaces.

When to Use

This crate is used by application shells (like cranpose-app-shell or custom embedding layers) to provide standard clock and scheduling capabilities to the cranpose-core runtime. You typically do not need to interact with this crate unless you are:

  • Porting Cranpose to a new platform that supports Rust std.
  • Implementing a custom AppLauncher or event loop.

Key Concepts

  • FrameClock (internal feature): Abstraction for synchronizing updates with the display refresh rate (VSync). Exposed only when the internal feature is enabled.
  • RuntimeScheduler: Interface for scheduling future tasks. This implementation bridges the core runtime with standard async executors or thread pools.
  • MonotonicClock: Provides high-precision , non-decreasing time measurements critical for animations and input event timestamps.

Architecture

This crate acts as a bridge between the abstract definitions in cranpose-core and the concrete operating system capabilities provided by the Rust standard library.

Dependencies

~3MB
~61K SLoC