Skip to content
This repository was archived by the owner on Dec 1, 2025. It is now read-only.

Latest commit

 

History

History
43 lines (29 loc) · 1.04 KB

File metadata and controls

43 lines (29 loc) · 1.04 KB

Rust Samples

This is an experimental project, trying different frameworks and technics on Rust.

For development, I use cargo with:

cargo install cargo-watch
cargo watch -q -c -w src/ -x run

Todo Rust (rbatis)

A simple Todo Backend API based on actix with benchmarks and based on https://github.com/rbatis/rbatis. If you look more for a JPA like approach, take a look on https://diesel.rs/guides/getting-started.

Rework: Review how to instantiate the TodoService in a correct Rust way.

Rust Kafka

A simple Rust Producer/Consumer application.

Creation of a Kafka queue after starting the docker service:

kafka-topics --create \
--replication-factor 1 \
--partitions 5 \
--topic learning-rust-topic \
--bootstrap-server kafka:9092

Rust Authorisation

Extending the ToDo application with Token validation provided from KeyCloak.

The authentication.http file contains the different requests for the Public Key and Tokens.