Source code

Revision control

Other Tools

1
rust-selectors
2
==============
3
6
* [Documentation](https://docs.rs/selectors/)
8
9
CSS Selectors library for Rust.
10
Includes parsing and serilization of selectors,
11
as well as matching against a generic tree of elements.
12
Pseudo-elements and most pseudo-classes are generic as well.
13
14
**Warning:** breaking changes are made to this library fairly frequently
15
(13 times in 2016, for example).
16
However you can use this crate without updating it that often,
17
old versions stay available on crates.io and Cargo will only automatically update
18
to versions that are numbered as compatible.
19
20
To see how to use this library with your own tree representation,
22
(Note however that Kuchiki is not always up to date with the latest rust-selectors version,
23
so that code may need to be tweaked.)
24
If you don’t already have a tree data structure,
25
consider using [Kuchiki](https://github.com/SimonSapin/kuchiki) itself.