diesel VS juniper-from-schema

Compare diesel vs juniper-from-schema and see what are their differences.

diesel

A safe, extensible ORM and Query Builder for Rust (by diesel-rs)

juniper-from-schema

Schema first GraphQL in Rust with Juniper (by davidpdrsn)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
diesel juniper-from-schema
82 3
11,904 227
2.3% -
9.5 0.0
7 days 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.

diesel

Posts with mentions or reviews of diesel. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-19.

juniper-from-schema

Posts with mentions or reviews of juniper-from-schema. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-02-07.
  • Exograph: build GraphQL backends in minutes with a Rust-powered runtime
    1 project | /r/rust | 22 Jun 2023
    For my part, I look at something like https://netflix.github.io/dgs/, and look to a project like https://github.com/davidpdrsn/juniper-from-schema and juniper itself (which has async support) as being more of a flexible building block for Rust projects that need GraphQL.
  • Derive away from struct definition
    1 project | /r/rust | 15 Apr 2021
    Hello! I'm running into an issue with derives. I'm using juniper-from-schema for a web server, which generates lots of Rust types based on a GraphQL schema file. Trouble is, since the types are generated via macro, I can't apply any derives to the type declaration sites. This is really annoying because I need to implement things like Clone on my types. I've done some googling on this and can't find any way to declare derives away from the type declaration -- is this possible or is it a limitation of the macro system? Is this only possible via some changes to the library to support derive declarations?
  • Svelte with Rust and a GraphQL REST API Wrapper
    3 projects | dev.to | 7 Feb 2021
    There are different ways of creating the GraphQL schema. Either schema first, where you directly define the schema or code first, where your schema is generated based on the code that you have written. Juniper uses the code first schema approach, but there is an alternative schema-to-juniper generator.

What are some alternatives?

When comparing diesel and juniper-from-schema you can also consider the following projects:

sea-orm - 🐚 An async & dynamic ORM for Rust

Svelte - Cybernetically enhanced web apps

sqlx - 🧰 The Rust SQL Toolkit. An async, pure Rust SQL crate featuring compile-time checked queries without a DSL. Supports PostgreSQL, MySQL, and SQLite.

rustorm - an orm for rust

rbatis - Rust Compile Time ORM robustness,async, pure Rust Dynamic SQL

r2d2 - A generic connection pool for Rust

rusqlite-model - Model trait and derive implementation for rusqlite

prisma-client-rust - Type-safe database access for Rust

deuterium-orm - Fully typed SQL query builder for Rust [deprecated]

tikv - Distributed transactional key-value database, originally created to complement TiDB

quaint - SQL Query AST and Visitor for Rust

treasure - ORM for rust (journey begins)