rdom 0.1.3

A Rust-based simulated DOM (browser-independent replacement for web_sys)
Documentation
rdom: DOM in Rust without a browser
===================================

Hello and welcome. This library provides server-side or browserless simulation of a DOM.

Is this library ready yet?
----
No, it's still a pre-alpha work in progress.

What's the difference between this library and say, web-sys or Dodrio?
-----
Rdom tries to behave like web-sys as much as possible, in that it provides a DOM
that looks and acts a lot like a DOM as a Rust programmer would see a DOM via interaction
with web-sys.

The key difference is that there is no actual browser. I mean, you could have one, but it's not
required.

Additionally, this library supports the concept of multiple sandboxes, so not all nodes belong
to one big node pool like in web-sys. Instead, each sandbox contains a single document tree and
some information about the window (like width and height).

Compared to Dodrio, this library is focused much more on the actual DOM element types. Dodrio
is basically agnostic to what different types of tags are, and is more focused on the question
of how to manipulate a DOM to match some ideal, like React's virtual DOM does. If that's still
unclear, Dodrio targets web-sys as a backend (it's a dependency), and in theory, this library
could also be a backend for Dodrio someday.

Not all of the DOM has been implemented. How did you decide what parts to implement?
----

The reason for developing this library was to enable SSR support for Yew. That was the entire
purpose, so while it is built to be as versatile as reasonable, that is the main use case that
we are serving right now, although applications to become a maintainer are certainly welcome.