Skip to main content

renderdag/
lib.rs

1/*
2 * Copyright (c) Meta Platforms, Inc. and affiliates.
3 *
4 * This source code is licensed under the MIT license found in the
5 * LICENSE file in the root directory of this source tree.
6 */
7
8mod ascii;
9mod ascii_large;
10mod box_drawing;
11mod column;
12mod output;
13mod pad;
14#[allow(clippy::module_inception)]
15mod render;
16
17#[cfg(test)]
18mod test_fixtures;
19
20#[cfg(test)]
21mod test_utils;
22
23/// `pipeline` module provides more flexible APIs.
24/// It's the main implementation.
25/// See module docstring for details.
26pub mod pipeline;
27
28// Original APIs for compatibility.
29// Delegate to pipeline APIs.
30// Might have users externally like jj-vcs.
31pub use self::ascii::AsciiRenderer;
32pub use self::ascii_large::AsciiLargeRenderer;
33pub use self::box_drawing::BoxDrawingRenderer;
34pub use self::output::OutputRendererOptions;
35pub use self::render::Ancestor;
36pub use self::render::GraphRow;
37pub use self::render::GraphRowRenderer;
38pub use self::render::LinkLine;
39pub use self::render::NodeLine;
40pub use self::render::PadLine;
41pub use self::render::Renderer;