Thanks to visit codestin.com
Credit goes to lib.rs

#desktop #css #svg #svg-graphics

azul-css

Common datatypes used for styling applications using the Azul desktop GUI framework

5 releases

new 0.0.8 May 23, 2026
0.0.7 Feb 17, 2026
0.0.6 Jan 29, 2026
0.0.5 Mar 18, 2025
0.0.1 May 11, 2020

#70 in GUI

Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App

25,578 downloads per month
Used in 15 crates (11 directly)

MPL-2.0 license

2MB
41K SLoC

Provides datatypes used to describe an application's style using the Azul GUI framework.

Modules

  • [css]: Stylesheet types (rules, selectors, declarations).
  • props: Typed CSS property values (colors, lengths, layout properties).
  • parser2: CSS string parsing (feature-gated behind "parser").
  • system: Native OS theme discovery and system colors.
  • shape: Text shaping and glyph layout.
  • shape_parser: Font and shape metric parsing.
  • dynamic_selector: Runtime selector matching helpers.
  • compact_cache: Compact caching utilities for resolved styles.
  • corety: Core type aliases re-exported at crate root.

AZUL - Desktop GUI framework

CI Coverage LICENSE Rust Compiler Version dependency status

Azul is a free, functional, reactive GUI framework for Rust, C and C++, built using the WebRender rendering engine and a CSS / HTML-like document object model for rapid development of beautiful, native desktop applications

Website | Releases | User guide | API documentation | Discord

Screenshots

image image image image

Current Status

Warning

This repository is currently under heavy development. Azul is NOT usable yet.

APIs may change frequently and features may be incomplete or unstable.

If you are looking for the old README, see README-OLD.md

The current release is from 2+ years ago, see the releases page.

Visit https://azul.rs/reftest in order to see the current testing and development of the core rendering / HTML layouting engine.

Building

Quick Start (macOS Native)

cd dll
cargo build --release

Cross-Compilation (macOS → Linux/Windows)

Azul supports cross-compilation from macOS to Linux and Windows targets. See CROSS_COMPILATION.md for detailed instructions.

Quick setup:

# Install toolchains
brew tap messense/macos-cross-toolchains
brew install x86_64-unknown-linux-gnu mingw-w64

# Add Rust targets
rustup target add x86_64-unknown-linux-gnu x86_64-pc-windows-gnu

# Build for all platforms
cd dll
cargo build --release --target x86_64-unknown-linux-gnu  # Linux
cargo build --release --target x86_64-pc-windows-gnu     # Windows
cargo build --release                                     # macOS (native)

Dependencies