rust-rocksdb
axum
Our great sponsors
rust-rocksdb | axum | |
---|---|---|
4 | 140 | |
1,556 | 12,352 | |
2.8% | 8.4% | |
7.0 | 0.0 | |
9 days ago | 9 days ago | |
Rust | Rust | |
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.
rust-rocksdb
- Some key-value storage engines in Rust
-
What's everyone working on this week (44/2021)?
Final touches for lila-openingexplorer, a new chess opening database for lichess.org. Uses axum and rocksdb.
-
Persisting data that has revisions for values
The most control you can probably get is from embeddable kv store, like https://github.com/spacejam/sled or https://github.com/rust-rocksdb/rust-rocksdb . Then you can encode entity version as a key.
-
Portal - full-text search web service
I just released portal a full-text search web service that is a competitor for ElasticSearch and MeiliSearch written in Rust. It is simple, blazing fast, and under 500 LOC! Portal supports 87 natural languages, JWTs, SSL, and JSON clients. It is built on Sonic, Broker, Tide, and RocksDB.
axum
-
Proper type for axum SSE stream
I am trying to stream a response from the OpenAI API as an SSE with axum. I have combined the following examples from the async-openai and axum repos to produce the below code I've used iterators in Rust but have not used streams, I have no idea how to reconcile the types here and don't know where to start to solve the problem. A solution or any pointers would be greatly appreciated. https://github.com/tokio-rs/axum/tree/axum-v0.6.20/examples/sse https://github.com/64bit/async-openai/tree/main/examples/chat-stream ``rust async fn sse_handler( TypedHeader(user_agent): TypedHeader, ) -> Sse>> { println!("{}` connected", user_agent.as_str());
-
Introduction to the Tower library
-- axum README
-
Building a Rust app with Perseus
Perseus applications also make use of tokio, a Rust asynchronous runtime, and perseus-axum — an integration that streamlines the use of the Perseus frontend framework with the Axum web framework, specifically on the engine side. The configuration file also shows a section for browser-only dependencies. Even though there are no default dependencies in this section, it indicates a place where such dependencies could be added as your application evolves.
-
Eagerly anticipate the code reviews from Rust experts
Take a look at some well designed project structure https://github.com/tokio-rs/axum
-
I want to learn how to build microservices in rust
Axum https://github.com/tokio-rs/axum has great examples for quick start.
-
Server-side rendering in Rust - a Dall.E use-case
Tokio is a runtime for asynchronous programming for Rust; Axum is a web framework that leverages the former. I already used Axum for the previous REST API, so I decided to continue.
-
What other programming languages/frameworks do you enjoy besides c#/dotnet?
The environment is not as mature as in dotnet, but there are some hidden gems like Axum: check it out if you have time :)
-
Is Rust suitable for full-stack web development as a web dev beginner (but already familiar with programming) ?
I would start with the rust book. But for backend web dev zero2prod is also a good place to start. For backend frameworks axum is the general recommendation these days, followed by actix-web.
- Hey Rustaceans! Got a question? Ask here (15/2023)!
-
I want to implement cookies-sessions auth , with session table in postgres . Knowing that I’m using axum.
https://github.com/tokio-rs/axum/tree/main/examples/sessions and https://github.com/tokio-rs/axum/tree/main/examples/diesel-postgres
What are some alternatives?
actix-web - Actix Web is a powerful, pragmatic, and extremely fast web framework for Rust.
Rocket - A web framework for Rust.
poem - A full-featured and easy-to-use web framework with the Rust programming language.
warp - A super-easy, composable, web server framework for warp speeds.
rust-web-framework-comparison - A comparison of some web frameworks and libs written in Rust
rust-web-benchmarks - Benchmarking web frameworks written in rust with rewrk tool.
ntex - framework for composable networking services
tonic - A native gRPC client & server implementation with async/await support.
PickleDB - PickleDB-rs is a lightweight and simple key-value store. It is a Rust version for Python's PickleDB
tikv - Distributed transactional key-value database, originally created to complement TiDB
hyper-tls
sled - the champagne of beta embedded databases