summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2022-09-03 09:03:13 +0300
committerLars Wirzenius <liw@liw.fi>2022-09-03 09:08:20 +0300
commitba31a2ad25fa0ae3f3fd49eaa5174f9520248b90 (patch)
tree72335bc6156243c300b387a025a3a3ad96603930 /src/lib.rs
parent404006dfb651687713b7b8aa3183ed5c2fbe8acb (diff)
downloadsubplot-ba31a2ad25fa0ae3f3fd49eaa5174f9520248b90.tar.gz
refactor: add a type for SVG images
This allows us to not use a generic byte vector, and slightly lessens the chance of mistakes. Also, it strongly encodes what we need to know about and do with SVG images. Sponsored-by: author
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 3b4e844..23076d5 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -21,7 +21,7 @@ pub use error::Warnings;
pub mod resource;
mod diagrams;
-pub use diagrams::{DiagramMarkup, DotMarkup, MarkupOpts, PikchrMarkup, PlantumlMarkup};
+pub use diagrams::{DiagramMarkup, DotMarkup, MarkupOpts, PikchrMarkup, PlantumlMarkup, Svg};
mod datafiles;
pub use datafiles::DataFile;