summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2021-01-09 14:40:01 +0000
committerDaniel Silverstone <dsilvers@digital-scurf.org>2021-01-09 14:40:01 +0000
commit41e1968d4f546360c3f19b87a311cd7f6b8ebadc (patch)
tree1242c7cc8fb7aeab7dab0455859e2ebc982a5e20 /src/lib.rs
parent8a1a3baba5f7c7bc42de3b67a021cdb9fb8e1bbc (diff)
downloadsubplot-41e1968d4f546360c3f19b87a311cd7f6b8ebadc.tar.gz
resource: Step one of VFS support, redirect all opens
This redirects all file reading via the new resource module which will be used to control where files come from. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 3562466..5661f92 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -9,6 +9,8 @@ mod error;
pub use error::Result;
pub use error::SubplotError;
+pub mod resource;
+
mod graphmarkup;
pub use graphmarkup::{DotMarkup, GraphMarkup, PikchrMarkup, PlantumlMarkup};