Crates.io | dax_core |
lib.rs | dax_core |
version | 0.1.0 |
source | src |
created_at | 2024-06-04 22:25:06.632313 |
updated_at | 2024-06-04 22:25:06.632313 |
description | Common data types for dax-rs |
homepage | https://keyoxide.org |
repository | https://codeberg.org/keyoxide/dax-rs |
max_upload_size | |
id | 1262140 |
size | 7,483 |
Decentralized online identity verification for Rust
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);
}
This repo is compliant with version 3.0 of the REUSE Specification.