pgocaml VS realworld-axum-sqlx

Compare pgocaml vs realworld-axum-sqlx and see what are their differences.


PG'OCaml provides an interface to PostgreSQL databases for OCaml applications. It uses Camlp4 to extend the OCaml syntax, enabling one to directly embed SQL statements inside the OCaml code. (by darioteixeira)


A Rust implementation of the Realworld demo app spec using Axum and SQLx. (by launchbadge)
Our great sponsors
  • SonarLint - Clean code begins in your IDE with SonarLint
  • Scout APM - Less time debugging, more time building
  • - Download’s Tech Salary Report
pgocaml realworld-axum-sqlx
2 11
138 264
- 10.2%
0.0 6.2
9 months ago 3 months ago
OCaml Rust
GNU General Public License v3.0 or later GNU Affero General Public License v3.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.


Posts with mentions or reviews of pgocaml. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-03-27.


Posts with mentions or reviews of realworld-axum-sqlx. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-07-11.
  • Hey Rustaceans! Got a question? Ask here! (28/2022)!
    21 projects | | 11 Jul 2022
    Clap can actually load values from the environment now:
  • Entrait v0.3.2
    5 projects | | 27 Jun 2022
    I'm working on a PoC to rewrite the realworld app from launchbadge to use entrait: (work in progress), maybe it can be used as inspiration.
  • A(nother) Realworld implementation: tokio, axum, and sqlx
    2 projects | | 21 Jun 2022
    While there already exists a fantastic implementation of the spec written by the sqlx authors, I wanted to use this as a Rust playground for myself and others to poke around the ecosystem. I'm sure there's quite a bit of room for improvement, and I'm looking forward to opening this up for those in a similar boat and learning Rust.
  • Hey Rustaceans! Got a question? Ask here! (25/2022)!
    13 projects | | 20 Jun 2022
    I'm following some examples for creating a server with Axum like realworld-axum-sqlx and customize-extractor-error. The second one shows how to get request errors related to json and I'd like to know if there's anyway to make the where clause more error-proof.
  • Code review request
    2 projects | | 3 Jun 2022
    I've just migrated from actix-web to axum, so it's the backend that I'm interested in people's thoughs on. I've taken a fair amount of design inspiration from the realworld-axum-sqlx project.
  • The Rustacean way to build a complete web app?
    3 projects | | 2 May 2022
    Here is a realworld-spec in Axum:
  • Backend using rust
    2 projects | | 2 Apr 2022 is Axum based implementation of the Realworld specification
  • Tools to generate type safe code models from Postgres schema?
    3 projects | | 27 Mar 2022
    Here's an example codebase using these features:
  • Web development
    5 projects | | 6 Feb 2022
    Realworld Spec with Axum
  • Absolute Beginner: Project Ideas?
    2 projects | | 2 Feb 2022
    I recommend creating a web app as your first project. Web apps are a great choice because you can solve interesting problems by creating a web server and the skills you learn creating a web app translate into many other domains. I highly recommend looking at This is an awesome example of a web app with everything you would need to solve most issues. As for what kind of project, I can't tell you. Find something that interests you. For example,, this is a project I've been working on. It's a browser extension that lets you me other people that are searching for what you're searching for. I thought this was interesting and that motivated me to complete the project.

What are some alternatives?

When comparing pgocaml and realworld-axum-sqlx you can also consider the following projects:


workers-rs - Write Cloudflare Workers in 100% Rust via WebAssembly

zero-to-production - Code for "Zero To Production In Rust", a book on API development using Rust.

axum - Ergonomic and modular web framework built with Tokio, Tower, and Hyper

realworld - "The mother of all demo apps" β€” Exemplary fullstack clone powered by React, Angular, Node, Django, and many more πŸ…

yew - Rust / Wasm framework for building client web apps

Seed - A Rust framework for creating web apps

validator - Simple validation for Rust structs

rust-by-example - Learn Rust with examples (Live code editor included)

sycamore - A library for creating reactive web apps in Rust and WebAssembly

Clippy - A bunch of lints to catch common mistakes and improve your Rust code. Book:

spot - Spot is a concise, developer-friendly way to describe your API contract.