cranpose

Crates.iocranpose
lib.rscranpose
version0.0.32
created_at2026-01-19 18:28:49.772157+00
updated_at2026-01-20 07:57:05.646901+00
descriptionCranpose runtime and UI facade
homepagehttps://samoylenkodmitry.github.io/cranpose/
repositoryhttps://github.com/samoylenkodmitry/cranpose
max_upload_size
id2055075
size227,939
Dmitry Samoylenko (samoylenkodmitry)

documentation

README

Cranpose

Cranpose is a Jetpack Compose-inspired declarative UI framework for Rust.

Install

cargo add cranpose

Compose import

use cranpose::prelude::*;

#[composable]
fn MyApp() {
    Text("Hello, Cranpose!");
}

Desktop starter

use cranpose::prelude::*;

fn main() {
    AppLauncher::new()
        .with_title("My Cranpose App")
        .with_size(800, 600)
        .run(MyApp);
}

#[composable]
fn MyApp() {
    Text("Hello, Cranpose!");
}

Default features enable the desktop + wgpu stack. For other targets, disable default features and enable the platform/renderer features you need.

Commit count: 465

cargo fmt