v0.6.1
New Features
- Add
Node::as_element()
in #8 by @arduano. - Add
Node::as_element_mut()
in #8 by @arduano. - Add
Element::into_node()
in #8 by @arduano. - Add
Queryable::query_mut()
in #8 by @arduano. - Add
Queryable::execute_for()
in #8 by @arduano. - Implement
From<Element>
forNode
in #8 by @arduano. - Derive
Clone
trait forElement
in #8 by @arduano. - Support grouping selectors (e.g.
h1, h2
)in #7 by @lomirus.
Refactor
- Refactor
Node::Element { name, attr, children }
intoNode::Element(Element)
in #8 by @arduano. - Remove
Node::into_element(self)
in #8 by @arduano. - Implement
From<&str>
instead of ordinary trait method forSelector
@lomirus.
Performance
- Improve the performance (3~10 times faster) when parsing large html file by @lomirus.