drisk_api/lib.rs
1//! Graph diff library for Rust and extension module for Python.
2//!
3//! A graph diff is a delta between two graphs. This module provides:
4//! * a generic graph diff implentation,
5//! * a serialization/deserialization API,
6//! * specific types for the dRISK API,
7//! * and a Python extension module for the dRISK API.
8//!
9//! See the documentation for `GraphDiff` for more information.
10pub use crate::{
11 bytes::{bytes_to_graph_diff, graph_diff_to_bytes},
12 diff::{EdgeDiff, GraphDiff, NodeDiff},
13 node_update::NodeUpdate,
14};
15
16mod bytes;
17mod diff;
18mod node_update;
19
20#[cfg(feature = "extension-module")]
21mod extension;
22#[cfg(feature = "extension-module")]
23pub use extension::*;