• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..17-Mar-2022-

.cargo-checksum.jsonH A D03-May-202289 11

Cargo.tomlH A D17-Mar-20221.3 KiB5947

README.mdH A D17-Mar-20221.1 KiB2621

attr.rsH A D17-Mar-20226.7 KiB204173

bloom.rsH A D17-Mar-202211.5 KiB423284

build.rsH A D17-Mar-20221.4 KiB7868

builder.rsH A D17-Mar-202212.9 KiB358254

context.rsH A D17-Mar-20229.1 KiB292185

lib.rsH A D17-Mar-2022855 3627

matching.rsH A D17-Mar-202234.8 KiB1,011764

nth_index_cache.rsH A D17-Mar-20221.6 KiB5332

parser.rsH A D17-Mar-2022116.9 KiB3,3112,645

sink.rsH A D17-Mar-2022950 3215

tree.rsH A D17-Mar-20224.8 KiB14879

visitor.rsH A D17-Mar-20221.9 KiB5828

README.md

1rust-selectors
2==============
3
4* [![Build Status](https://travis-ci.com/servo/rust-selectors.svg?branch=master)](
5  https://travis-ci.com/servo/rust-selectors)
6* [Documentation](https://docs.rs/selectors/)
7* [crates.io](https://crates.io/crates/selectors)
8
9CSS Selectors library for Rust.
10Includes parsing and serialization of selectors,
11as well as matching against a generic tree of elements.
12Pseudo-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).
16However you can use this crate without updating it that often,
17old versions stay available on crates.io and Cargo will only automatically update
18to versions that are numbered as compatible.
19
20To see how to use this library with your own tree representation,
21see [Kuchiki’s `src/select.rs`](https://github.com/kuchiki-rs/kuchiki/blob/master/src/select.rs).
22(Note however that Kuchiki is not always up to date with the latest rust-selectors version,
23so that code may need to be tweaked.)
24If you don’t already have a tree data structure,
25consider using [Kuchiki](https://github.com/kuchiki-rs/kuchiki) itself.
26