Crates.io | did-simple |
lib.rs | did-simple |
version | 0.0.2 |
source | src |
created_at | 2024-05-08 05:56:27.269476 |
updated_at | 2024-05-24 18:46:52.898731 |
description | Dead simple DIDs |
homepage | |
repository | https://github.com/NexusSocial/nexus-vr |
max_upload_size | |
id | 1233408 |
size | 41,944 |
Dead simple DIDs (Decentralized Identifiers).
This crate provides the ability to:
We intentionally do not perform IO, such as what would be required to resolve a did:web. It is your responsibility to do IO, and then use this crate to validate that data and get back something that you can do cryptographic operations with. This ensures that this crate stays small, and that did-simple can be used with any backend or client and in both sync and async paradigms.
Supported DID methods:
This crate enforces #![forbid(unsafe_code)]
unless the allow-unsafe
feature
is enabled. Since features in rust are additive across a dependency graph, don't
enable this feature unless you are writing an application!
This crate has a very high bar for the addition of new dependencies, because
dependencies are places where the software supply chain can be attacked. Right now,
we have zero non-rust dependencies, and passing no-default-features
gives you
dependencies on only the following crates:
We also test effectively every possible bit pattern when encoding and decoding varints, a necessary part of did:key resolution.
This crate is v0.0.X, and may introduce breaking changes at any time, with any frequency.