#![forbid(unsafe_code)]
#![cfg_attr(
not(test),
deny(
clippy::unwrap_used,
clippy::expect_used,
clippy::todo,
clippy::unimplemented,
clippy::panic
)
)]
#![allow(
clippy::module_name_repetitions,
clippy::must_use_candidate,
clippy::missing_errors_doc
)]
pub mod edge;
pub mod node;
pub mod query;
pub mod schema;
pub mod store;
pub use edge::Edge;
pub use node::Node;
pub use schema::{EdgeType, GraphSchema, NodeType, SchemaError, SCHEMA_VERSION};
pub use store::graphml::GraphMlBackend;
pub use store::json::JsonBackend;
pub use store::sqlite::{ScanDiff, SqliteBackend};
pub use store::GraphBackend;
pub use query::{
all_paths, bfs, clustering_coefficient, connected_components, degree_distribution, dfs,
find_all, graph_density, graph_diameter, has_cycle, in_degree, neighbors, out_degree, path,
subgraph,
};
pub use store::sqlite::target_id_from_finding;
pub use store::sqlite::target_id;