1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
//! HTML manipulation with CSS selectors.
//!
//! # Features
//!
//! * Iteration
//! * Manipulation
//! * Property
//! * Query
//! * Traversal
//!
//! # Get started
//!
//! ```
//! use nipper::Document;
//!
//! let html = r#"<div>
//! <a href="/1">One</a>
//! <a href="/2">Two</a>
//! <a href="/3">Three</a>
//! </div>"#;
//!
//! let document = Document::from(html);
//! let a = document.select("a:nth-child(3)");
//! let text: &str = &a.text();
//! assert!(text == "Three");
//! ```
//!
// #![deny(missing_docs)] // TODO: add this back in.
pub use Document;
pub use Node;
pub use NodeId;
pub use NodeRef;
pub use SerializableNodeRef;
pub use Matcher;
pub use Selection;
pub use Selections;