| Crates.io | cranpose |
| lib.rs | cranpose |
| version | 0.0.32 |
| created_at | 2026-01-19 18:28:49.772157+00 |
| updated_at | 2026-01-20 07:57:05.646901+00 |
| description | Cranpose runtime and UI facade |
| homepage | https://samoylenkodmitry.github.io/cranpose/ |
| repository | https://github.com/samoylenkodmitry/cranpose |
| max_upload_size | |
| id | 2055075 |
| size | 227,939 |
Cranpose is a Jetpack Compose-inspired declarative UI framework for Rust.
cargo add cranpose
use cranpose::prelude::*;
#[composable]
fn MyApp() {
Text("Hello, Cranpose!");
}
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.