cyberdem

Crates.iocyberdem
lib.rscyberdem
version1.0.1
created_at2025-09-04 09:30:32.228004+00
updated_at2025-09-16 09:27:38.904709+00
descriptionRust implementation of the Cyber DEM (SISO-REF-072-2024).
homepagehttps://cdn.ymaws.com/www.sisostandards.org/resource/resmgr/reference_documents_/siso-ref-072-2024.pdf
repositoryhttps://github.com/Mathuiss/cyberdem-rs
max_upload_size
id1823921
size29,204
(Mathuiss)

documentation

README

cyberdem-rs

Rust implementation of the Cyber DEM (SISO-REF-072-2024).

This Data Exchange Model or DEM can be used to model cyber-physical systems.

Installation

To install, type the following command:

cargo add cyberdem

Objects & Events

The library is divided into 2 base items:

  • CyberObject
  • CyberEvent
pub struct CyberObject {
    pub object_id: Uuid,
    pub object: CyberObjectEnum,
    pub name: Option<String>,
    pub description: Option<String>,
    pub related_objects: Vec<RelatedObjectStruct>,
}
pub struct CyberEvent {
    pub event_id: Uuid,
    pub description: Option<String>,
    pub event_time: TimeStruct,
    pub target_ids: Vec<Uuid>,
    pub target_modifiers: HashMap<String, Option<Vec<u8>>>,
    pub phase: CyberEventPhaseEnum,
    pub duration: f64,
    pub actor_ids: Vec<Uuid>,
    pub source_ids: Vec<Uuid>,
    pub payload: Option<Vec<u8>>,
    pub request_acknowledgement: bool,
    pub cyber_event_type: CyberEventType,
}
Commit count: 8

cargo fmt