Skip to content

bindstone/rust-samples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Rust Samples for learning

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published