Skip to content

siku2/russ

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RUSS

A hopefully soon-to-be css-in-Rust solution.

Goals

  • Type-safe. CSS is generated from Rust representations.
  • Optimized for size. CSS is stored in a compact form instead of raw strings.
  • Efficient. At runtime the CSS is only generated once.

The Plan

  1. Implement Rust equivalents for all basic CSS types (https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Values_and_Units).
  2. Add a macro that parses CSS' value definition syntax (VDS)
  3. Generate Rust code from the VDS. This should generate a rust structure that can represent valid values of the VDS and also a macro representation that parses values into said structure.
  4. Implement the the most common CSS properties.
  5. Add bindings for Yew. At this point the library starts becoming useable.
  6. Add the remaining properties.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages