Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

A axum server app to test and learn features on, which happens to support Aries mediation :)

Notifications You must be signed in to change notification settings

nain-F49FF806/axum-test-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Aries mediator service (http)

History

This repo was intended to be a test project to try Rust and Axum features.

Over time it has turned into a ~fully functional aries mediator service supporting the following Aries concepts over http endpoints.

Caveat: Authentication must be handled at another layer. Integration with aries-vcx is intended to enable this.

Original readme is available below.

axum-test-server

A axum server app to test and learn Rust and Axum features.

The commits are made in such a way as to demonstrate and try one feature or workflow (refactoring) at a time.
So the git log could be educative.

Some Interesting commits

  1. feat(main.rs): 🧵 Demo server as in axum docs

  2. refactor: use too bring names into local namespace

  3. refactor: break off some code into module and load module in main

  4. refactor: Use functions in sibling module by declaring their path from root crate

  5. refactor: modules can have sub-modules, which can then be loaded by others using path from root crate (if made public)

  6. feat(json): serde macros help with serializing, deserializing from Rust structs to JSON wire format

Notess

You can also look at a blog post with some personal notes (mostly for the Rust side) here : running-notes-on-rust-and-axum-framework

About

A axum server app to test and learn features on, which happens to support Aries mediation :)

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages