Fangdun Tsai
Fangdun Tsai
Thank you for your reply. Yes, they are somewhat similar. We can extract some common functions. I'll wait for you to finish that PR and refactor this one. It feels...
@gbj I have merged the latest changes and only keep the sqlite example. If you come across viz related later, you can tell me and I can maintain this part...
@gbj It has been fixed.
I think the [`Limited`](https://github.com/hyperium/http-body/blob/master/http-body-util/src/limited.rs) struct has handle that in 1.0.
List a few of Rust's performance optimizations. In a real production environment, several approaches can be tried to optimize the application: 1. Specify **memory allocators** - [`mimalloc`](https://crates.io/crates/mimalloc) - [`snmalloc-rs`](https://crates.io/crates/snmalloc-rs) -...
Dioxus is a Rust library for building apps that run on desktop, web, mobile, and more. So in web scenarios, you can use it just as you would react, nextjs...
Should integrate well with jsonrpc-v2. But needs to be adapted to hyper v1.
`jsonrpc` supports to convert it into hyper service. So it is possible to use middleware from other frameworks. https://github.com/kardeiz/jsonrpc-v2/blob/16ec062ec3e9f83f95458bbb5e5bc6a599adbf75/examples/hyper.rs#L38
In jsonrpc, there are some examples about actix. You can follow [actix's middleware](https://actix.rs/docs/middleware) guide.
https://github.com/viz-rs/viz/blob/main/examples/routing/openapi/src/main.rs 看了这个例子,如果支持的话,确实方便些。我考虑下,怎么好集成。