dendryform/lib.rs
1//! # dendryform
2//!
3//! Declarative software architecture diagrams — beautiful, dark-themed HTML
4//! from a simple schema.
5//!
6//! Named for the 23 dendriform models of tree architecture
7//! (Halle & Oldeman, 1970), because every system has a branching pattern
8//! worth revealing.
9//!
10//! ## Status
11//!
12//! This crate is under active development. The API is not yet stable.
13//!
14//! ## Overview
15//!
16//! `dendryform` takes a declarative description of a software system — nodes,
17//! edges, containment, tiers — and renders it as a beautiful, interactive HTML
18//! architecture diagram.
19
20pub use dendryform_core as core;
21
22/// Returns the version of the dendryform crate.
23pub fn version() -> &'static str {
24 env!("CARGO_PKG_VERSION")
25}
26
27#[cfg(test)]
28mod tests {
29 use super::*;
30
31 #[test]
32 fn test_version_is_set() {
33 assert_eq!(version(), "0.1.0");
34 }
35}