use iref::Iri;
use static_iref::iri;
mod did;
pub mod document;
pub mod http;
pub mod method_resolver;
pub mod registration;
pub mod resolution;
#[cfg(feature = "example")]
pub mod example;
pub use did::*;
pub use document::Document;
pub use method_resolver::VerificationMethodDIDResolver;
pub use resolution::{DIDMethodResolver, DIDResolver, StaticDIDResolver};
pub use ssi_json_ld;
pub const JSON_LD_CONTEXT_IRI: &Iri = iri!("https://www.w3.org/ns/did/v1");
pub trait DIDMethod {
const DID_METHOD_NAME: &'static str;
}
impl<'a, M: DIDMethod> DIDMethod for &'a M {
const DID_METHOD_NAME: &'static str = M::DID_METHOD_NAME;
}