Skip to content

Tags: placrosse/rust-cssparser

Tags

v0.32.0

Toggle v0.32.0's commit message
v0.32.0

 * Some color APIs have changed. RGBA is now RgbaLegacy.
 * Output of ascii_case_insensitive_phf_map is changed to expose
   entries() too.
 * Named colors are exposed directly.

v0.31.1

Toggle v0.31.1's commit message
v0.31.1

 * Nesting fixes
 * Update to syn 2

v0.31.0

Toggle v0.31.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Auto merge of servo#335 - nicoburns:encapsulate-unsafe-in-macro, r=Si…

…monSapin

Encapsulate unsafe in `_cssparser_internal_to_lowercase` macro

# Objective

- Allow the `_cssparser_internal_to_lowercase` macro to be used in crates that set `#[forbid(unsafe)]`.
- Document the safety invariant for this unsafe block

## Changes made

- Wrap the `unsafe` block in the `_cssparser_internal_to_lowercase` macro in an `#[inline(always)]` function.
-  Add comments

## Context

- DioxusLabs/taffy#460 (comment)

v0.29.1

Toggle v0.29.1's commit message
v0.29.1

Add support for hwb colors.