diff options
author | Lars Wirzenius <liw@liw.fi> | 2022-09-03 09:03:13 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2022-09-03 09:08:20 +0300 |
commit | ba31a2ad25fa0ae3f3fd49eaa5174f9520248b90 (patch) | |
tree | 72335bc6156243c300b387a025a3a3ad96603930 /src/lib.rs | |
parent | 404006dfb651687713b7b8aa3183ed5c2fbe8acb (diff) | |
download | subplot-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.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |