json-rust
JSON implementation in Rust (by maciejhirsz)
victoria-dom
HTML parser with CSS selectors written in Rust (by khvzak)
Our great sponsors
json-rust | victoria-dom | |
---|---|---|
1 | 1 | |
557 | 45 | |
- | - | |
0.0 | 10.0 | |
11 days ago | over 4 years ago | |
Rust | Rust | |
Apache License 2.0 | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
json-rust
Posts with mentions or reviews of json-rust.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-09-25.
-
Are there any rust libraries implementing a CSS-like language?
You can use my crate jss which is essentially just json with field and values of a css properties. I used the json crate here since it allows omitting double quotes on fields that are valid rust identifier. The jss crate has a generated css properties which are used as lookup, transforming to and fro kebab-case properties into snake_case in order make the css code a bit cleaner, while still allowing the use of double quoted fields.
victoria-dom
Posts with mentions or reviews of victoria-dom.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-09-25.
-
Are there any rust libraries implementing a CSS-like language?
You could use https://lib.rs/crates/cssparser + https://lib.rs/crates/selectors - or, if you are willing to convert your tree to DOM just for querying, there are other libraries like https://lib.rs/crates/simplecss, https://lib.rs/crates/nipper, https://github.com/kuchiki-rs/kuchiki or https://github.com/khvzak/victoria-dom
What are some alternatives?
When comparing json-rust and victoria-dom you can also consider the following projects:
serde - Serialization framework for Rust
grass - A Sass compiler written purely in Rust
json - Strongly typed JSON library for Rust
kuchiki - (朽木) HTML/XML tree manipulation library for Rust
hjson-rust for serde - Hjson for Rust
eww - ElKowars wacky widgets
pikkr - JSON parser which picks up values directly without performing tokenization in Rust
jsonnet - Jsonnet - The data templating language
differential-datalog - An in-memory incremental Datalog engine based on Differential Dataflow