aboutsummaryrefslogtreecommitdiffstats
path: root/components/shared/base/text.rs
Commit message (Collapse)AuthorAgeFilesLines
* clippy: Fix collapsible_match warning in components/shared (#33664)tanishka2024-10-071-24/+24
| | | Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
* base: Remove `ucd` dependency (#32424)Martin Robinson2024-06-031-0/+64
Remove the `ucd` dependency which has not been updated in 8 years. In addition, replace it with a generated UnicodeBlock enum which reflects the modern Unicode standard. This is generated via a Python script which is included in the repository. The generation is not part of the build process, because the Unicode database is hosted on the web and it does not change the frequently. This is done instead of bringing in the more up-to-date `unicode_blocks` dependency. `unicode_blocks` defines each block as constant, which means that they cannot be used in match statements -- which we do in Servo. Co-authored-by: Lauryn Menard <lauryn.menard@gmail.com>