victoria-dom
HTML parser with CSS selectors written in Rust (by khvzak)
differential-datalog
An in-memory incremental Datalog engine based on Differential Dataflow (by ddlog-dev)
Our great sponsors
victoria-dom | differential-datalog | |
---|---|---|
1 | 1 | |
45 | 1 | |
- | - | |
10.0 | 2.6 | |
over 4 years ago | over 2 years ago | |
Rust | Rust | |
Apache License 2.0 | MIT License |
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.
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
differential-datalog
Posts with mentions or reviews of differential-datalog.
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?
If the css syntax is not required, but a question is about a flexible and performant rule engine, I would suggest Differential Datalog - I had a great experience, when I tried to implement a system with entities, with multiple inheritance, where the inherited fields - can be specified runtime - even that can be changed that which entity extend what other entities. It has a great documentation and integration with Rust (and Java, and others...). I had to define how inheritance works in my entities, and ddlog could generate Rust code, which continuously evaluates the rules, and updates my program about what fields do my entities have.
What are some alternatives?
When comparing victoria-dom and differential-datalog you can also consider the following projects:
grass - A Sass compiler written purely in Rust
jsonnet - Jsonnet - The data templating language
eww - ElKowars wacky widgets
json-rust - JSON implementation in Rust
kuchiki - (朽木) HTML/XML tree manipulation library for Rust