9 breaking releases

0.9.0 Nov 12, 2025
0.7.0 Sep 5, 2025
0.5.0 Jul 3, 2025
0.2.0 Mar 31, 2025
0.0.1 Apr 29, 2024

#335 in Concurrency

Download history 613/week @ 2025-08-13 4513/week @ 2025-08-20 3364/week @ 2025-08-27 1267/week @ 2025-09-03 727/week @ 2025-09-10 858/week @ 2025-09-17 686/week @ 2025-09-24 1685/week @ 2025-10-01 1085/week @ 2025-10-08 1090/week @ 2025-10-15 1083/week @ 2025-10-22 1111/week @ 2025-10-29 797/week @ 2025-11-05 846/week @ 2025-11-12 822/week @ 2025-11-19 676/week @ 2025-11-26

3,292 downloads per month
Used in 15 crates (4 directly)

MPL-2.0 license

5MB
109K SLoC

Contains (Python package, 79KB) mako-1.3.10-py3-none-any.whl

servo-style

Style system for Servo, using rust-cssparser for parsing.


lib.rs:

Calculate specified and computed values from a tree of DOM nodes and a set of stylesheets.

In particular, this crate contains the definitions of supported properties, the code to parse them into specified values and calculate the computed values based on the specified values, as well as the code to serialize both specified and computed values.

The main entry point is recalc_style_at.

A list of supported style properties can be found as docs::supported_properties

Major dependencies are the cssparser and selectors crates.

Dependencies

~15MB
~199K SLoC