co-didcomm 0.8.0

COKIT fork of didcomm-rs — DIDComm messaging v2 implementation with modern crypto and WASM support.
Documentation
/// Enum that represents DIDComm envelope type
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq)]
pub enum MessageType {
    #[serde(rename = "application/didcomm-encrypted+json")]
    DidCommJwe,
    #[serde(rename = "application/didcomm-signed+json")]
    DidCommJws,
    #[serde(rename = "application/didcomm-plain+json")]
    DidCommRaw,
    #[serde(rename = "https://didcomm.org/routing/2.0/forward")]
    DidCommForward,
    #[serde(rename = "https://didcomm.org/out-of-band/2.0/invitation")]
    DidCommInvitation,
}

/// Enum that represents DIDComm message payload type
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq)]
pub enum ContentType {
    #[serde(rename = "https://didcomm.org/routing/2.0/forward")]
    Forward,
    #[serde(rename = "application/pdf")]
    MediaPdf,
    #[serde(rename = "application/vnd.openxmlformats-")]
    MediaOpenXml,
    #[serde(rename = "application/json")]
    MediaJson,
    #[serde(rename = "application/ld+json")]
    MediaJsonLd,
    #[serde(rename = "application/zip")]
    ZipArchive,
    #[serde(rename = "application/octet-stream")]
    BinaryData,
}