dropshot
hkts
dropshot | hkts | |
---|---|---|
11 | 3 | |
745 | 19 | |
1.9% | - | |
9.4 | 8.5 | |
7 days ago | almost 3 years ago | |
Rust | TypeScript | |
Apache License 2.0 | MIT License |
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.
dropshot
- Dropshot – expose REST APIs from a Rust program
- Expose REST APIs from a Rust Program
-
Tips on Creating a Design-First API Using Rust
Try dropshot by the Oxide Computer team. It generates an open api spec from your rust code directly.
-
Warp or Rocket.rs or Actix Web?
What about dropshot. Not much features but very simple and auto generates swagger https://github.com/oxidecomputer/dropshot
-
What made you choose the rust web framework you're currently using?
I have used dropshot mostly because of its simplicity.
- Seed – A Rust front-end framework for creating fast and reliable web apps
-
New Tokio blog post: Announcing Axum - Web framework that focuses on ergonomics and modularity
i haven't tried it yet, but https://github.com/oxidecomputer/dropshot apparently offers automated OpenAPI generation: https://docs.rs/dropshot/0.5.1/dropshot/struct.ApiDescription.html
-
Rust for backend development?
At Oxide we are doing backend development in Rust, with our own framework: https://github.com/oxidecomputer/dropshot/#dropshot
- Dropshot a general-purpose Rust crate for exposing REST APIs
-
A web framework I desperately wish there was a Rust equivalent for: FastAPI
Dropshot from Oxide Computer includes openapi generation from code.
hkts
-
Hey Come Help Out And Learn Some Stuff
We need to be able to parse incoming json/xml/etc into typescript types. This is done or doable with the hkts decoder which is a partial port of io-ts.
-
Higher Kinded Deno
Before diving into the nitty gritty of how hkts implements higher kinded types, how hkts handles type-class constructor lengths, or how one might implement Monad for These, I will begin at the end. This is to say, I will be starting with examples of how to use Option, Either, Task, and more. Then I will endeavor to explain what type classes like Functor, Monad, Traverse, and Monoid mean. Lastly, I'll get into the typescript abstractions that make hkts possible.
What are some alternatives?
axum - Ergonomic and modular web framework built with Tokio, Tower, and Hyper
static-land - Specification for common algebraic structures in JavaScript based on Fantasy Land
juniper - GraphQL server library for Rust
mostly-adequate-guide - Mostly adequate guide to FP (in javascript)
rust-dominator - Zero-cost ultra-high-performance declarative DOM library using FRP signals for Rust!
fp-ts-routing - A type-safe bidirectional routing library for TypeScript
tonic - A native gRPC client & server implementation with async/await support.
fnts - λ Minimal Functional Programming Utilities for TypeScript & JavaScript
prae - prae is a crate that aims to provide a better way to define types that require validation.
jsonschema - Generate JsonSchema and TypeScript types at the same time
rust-rdom - 🍂 A Rust-based simulated DOM (browser-independent replacement for web_sys)
sums_up - Sum types for Ruby