day-build 0.6.3

Declarative app development API using native UI toolkits
Documentation

day-build

Generate typed resource and localization accessors for a Day app’s build script.

Day is a Rust framework for building apps with native desktop and mobile controls, plus HTML controls on the web.

It scans the app’s resource catalogs and produces symbolic accessors for strings, images, vectors, fonts, and assets. It also generates native-language bindings used by Day extensions. Projects created by day-cli already include the build-script setup.

Use

Add it as a build dependency:

cargo add --build day-build

A build.rs entry point:

fn main() -> Result<(), Box<dyn std::error::Error>> {
    day_build::prebuild_project()?;
    Ok(())
}

Documentation

Source · Contributing · MPL-2.0 license