dax_core

Crates.iodax_core
lib.rsdax_core
version0.1.0
sourcesrc
created_at2024-06-04 22:25:06.632313
updated_at2024-06-04 22:25:06.632313
descriptionCommon data types for dax-rs
homepagehttps://keyoxide.org
repositoryhttps://codeberg.org/keyoxide/dax-rs
max_upload_size
id1262140
size7,483
Yarmo (YarmoM)

documentation

https://dax.keyoxide.org

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