Skip to main content

takumi_css/
lib.rs

1//! CSS parsing and computed-style layer for takumi.
2//!
3//! Holds the (cold) CSS parsing, cascade, and value types so they can be
4//! compiled independently from the hot rendering paths in `takumi`. Selector
5//! *matching* against the node tree lives in `takumi` (`layout::matching`),
6//! not here, keeping this crate free of any node/render dependency.
7
8pub mod error;
9pub mod keyframes;
10pub mod style;
11mod viewport;
12
13// Public surface re-exported at the crate root (e.g. `takumi_css::Display`).
14pub use style::*;
15pub use viewport::*;