dax

Crates.iodax
lib.rsdax
version0.1.0
sourcesrc
created_at2024-06-04 22:49:05.839742
updated_at2024-06-04 22:49:05.839742
descriptionDecentralized online identity verification for Rust
homepagehttps://keyoxide.org
repositoryhttps://codeberg.org/keyoxide/dax-rs
max_upload_size
id1262177
size18,857
Yarmo (YarmoM)

documentation

https://docs.rs/dax

README

dax-rs

Decentralized online identity verification for Rust

Example

To verify an online identity:

use dax::{
    claim::Claim, proof::Proof, verify_claim
};

fn main() {
    // Prepare
    let claim = Claim::new("http://localhost/user/repo");
    let proofs = vec![Proof::new(
        "openpgp4fpr:1234567890123456789012345678901234567890",
    )];

    // Verify the claim
    let result = verify_claim(&claim, &proofs);
}

About

This repo is compliant with version 3.0 of the REUSE Specification.

Commit count: 0

cargo fmt