hkts
dropshot
hkts | dropshot | |
---|---|---|
3 | 11 | |
19 | 745 | |
- | 1.9% | |
8.5 | 9.4 | |
almost 3 years ago | 7 days ago | |
TypeScript | Rust | |
MIT License | Apache License 2.0 |
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.
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.
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.
What are some alternatives?
static-land - Specification for common algebraic structures in JavaScript based on Fantasy Land
axum - Ergonomic and modular web framework built with Tokio, Tower, and Hyper
mostly-adequate-guide - Mostly adequate guide to FP (in javascript)
juniper - GraphQL server library for Rust
fp-ts-routing - A type-safe bidirectional routing library for TypeScript
rust-dominator - Zero-cost ultra-high-performance declarative DOM library using FRP signals for Rust!
fnts - λ Minimal Functional Programming Utilities for TypeScript & JavaScript
tonic - A native gRPC client & server implementation with async/await support.
jsonschema - Generate JsonSchema and TypeScript types at the same time
prae - prae is a crate that aims to provide a better way to define types that require validation.
sums_up - Sum types for Ruby
rust-rdom - 🍂 A Rust-based simulated DOM (browser-independent replacement for web_sys)