#credentials #identity #cryptography

rebase_vc_witness_axum

This is a library that exposes a Rebase witness as an Axum Service

1 unstable release

0.1.0 Oct 18, 2023

#103 in #credentials

Apache-2.0 OR MIT and Apache-2.0…

89KB
1K SLoC

Rebase VC Witness Axum

This repository is a Witness and Credential Issuing service similar to the Cloudflare Worker project found here. It has the same external API but internally is an Axum service for easy integration into Rust Axum servers.

A dead-simple example is found in examples/server_example.rs and can be run via cargo in the normal way to run project examples.

Because it's written as an Axum Router, it can be used anywhere a Axum/Tower Service can, so it should be very flexible.

The example requires a rebase.json file to exist and it's contents must match the example_rebase.json file provided in structure, though much of the config is optional. See the source / the CF worker's source for more details.

Dependencies

~45–62MB
~1M SLoC