spot
Spot is a concise, developer-friendly way to describe your API contract. (by airtasker)
validator
Simple validation for Rust structs (by Keats)
Our great sponsors
spot | validator | |
---|---|---|
2 | 18 | |
533 | 1,802 | |
2.3% | - | |
8.7 | 6.8 | |
10 days ago | 5 days ago | |
TypeScript | Rust | |
GNU General Public License v3.0 or later | 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.
spot
Posts with mentions or reviews of spot.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-01-31.
-
Show /r/rust: a Rust implementation of the Realworld demo app spec using Axum and SQLx, written by a co-author of SQLx.
That's obviously not a great situation, so I've started experimenting with airtasker/spot which uses a Typescript-based DSL to generate OpenAPI specs. It's a decent stopgap, although I would love it if we could adapt something like this to Rust using doc-comments and attributes or something so the documentation can live in the code itself.
-
Anyone using decorators, or some other form of inline documentation, to generate an openapi spec file based on a typescript library?
https://github.com/grantila/typeconv/ https://github.com/airtasker/spot https://github.com/vega/ts-json-schema-generator
validator
Posts with mentions or reviews of validator.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-08-23.
- Choosing the Right Rust Web Framework: An Overview
-
Is implicit typing in Rust always guaranteed to have the same behavior?
(That's how certain kinds of extensibility work in the validator crate. You just impl a method and validator won't care where it comes from as long as it's in scope because it's built using declarative macros.)
-
Incomprehensible Performance Issues unraveled with Kubernetes Tracing Tools
The rust proc macro system is my absolute favorite feature of the language. One of my other favorite libraries is https://github.com/Keats/validator
-
garde: a validation library
Hi! I'm happy to announce the release of garde. In summary, this is a rewrite of the validator crate.
- Why use Rust on the back end?
-
Form Validation in Rust (Actix-Web)
Validator : Macros 1.1 custom derive to simplify struct validation inspired by marshmallow and Django validators
-
Any active open source repos built using Rust that need development ?
https://github.com/Keats/validator needs some help, it's a validation library that easily plugs into Web Development.
-
Is it possible to get both vector and string from single variable with serde_yaml?
(The validate attribute is from the validator crate.)
-
venial 0.1 - A lightweight alternative to syn
Would love to use it in https://github.com/Keats/validator when it's ready!
-
Show /r/rust: a Rust implementation of the Realworld demo app spec using Axum and SQLx, written by a co-author of SQLx.
Actually, /u/mehcode just reminded me that this exists: https://github.com/Keats/validator
What are some alternatives?
When comparing spot and validator you can also consider the following projects:
trpc-openapi - OpenAPI support for tRPC 🧩
axum - Ergonomic and modular web framework built with Tokio, Tower, and Hyper
realworld-axum-sqlx - A Rust implementation of the Realworld demo app spec using Axum and SQLx.
strictyaml - Type-safe YAML parser and validator.
docker-rust - The official Docker images for Rust
typeconv - Convert between JSON Schema, TypeScript, GraphQL, Open API and SureType
PyO3 - Rust bindings for the Python interpreter
ts-json-schema-generator - Generate JSON schema from your Typescript sources
null - Nullable Go types that can be marshalled/unmarshalled to/from JSON.
ji-cloud
mirrord - Connect your local process and your cloud environment, and run local code in cloud conditions.