d2_rs_cli/lib.rs
1// SPDX-License-Identifier: MPL-2.0
2//! The `d2-rs` command-line tool, a Rust port of upstream D2's `d2cli` package.
3//!
4//! The binary (`src/main.rs`) compiles, lays out and exports diagrams with the
5//! in-process engines; this library holds command helpers shared with it, such
6//! as the `lib/imgbundler` port. `oracle-fixtures` compiles the tests that read
7//! regenerated Go-oracle artifacts, and `diagnostic-traces` enables diagnostic
8//! traces in the pipeline crates.
9pub mod imgbundler;