.vscode | ||
crates | ||
.dockerignore | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
docker-compose.dev.yml | ||
Dockerfile | ||
README.md | ||
rustfmt.toml |
Naja
Naja is a project attempting to implement most if not all of the Ariadne Signature Profile specification v0 in rust. Currently, it is updated to the latest version of the spec as of ariadne/ariadne-identity-specification@92f280bf83. This is setup as a cargo workspace with multiple crates, which are all explained below
Crates
naja-cli
The main binary crate, featuring all user-facing CLI code. This crate does not contain any actual ASP logic, but rather utilizes the naja-lib
crate for operations such as generating keys, signing profiles, etc.
naja-lib
The main libary crate, which provides APIs for interfacing with ASP keys, profiles, and exchange servers. This is mainly used by the naja-cli
CLI crate, however it could hypothetically be used by other projects (or even a future GUI!)
cli-migrations
A crate which soley contains database migrations for the naja-cli
CLI crate. It contains both a library interface and a binary which can be used to manipulate existing databases.