diff options
author | Lars Wirzenius <liw@liw.fi> | 2023-04-14 18:17:14 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2023-05-18 10:06:59 +0300 |
commit | 873ca81c3b053a8abd2f6af2284acf131c81f509 (patch) | |
tree | 855c04c65123f9061d86410ec1cf440e1894ba9f | |
parent | 18c50cafb77fe5ebdeae65048c7327c4d7bda04d (diff) | |
download | subplot-873ca81c3b053a8abd2f6af2284acf131c81f509.tar.gz |
feat: export SubplotError from subplot-build crate
This will allow better error messages from projects' build.rs.
Sponsored-by: author
-rw-r--r-- | subplot-build/src/lib.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/subplot-build/src/lib.rs b/subplot-build/src/lib.rs index 20d3e08..db47623 100644 --- a/subplot-build/src/lib.rs +++ b/subplot-build/src/lib.rs @@ -7,7 +7,8 @@ use std::env::var_os; use std::fmt::Debug; use std::path::{Path, PathBuf}; -use subplot::{get_basedir_from, SubplotError}; +use subplot::get_basedir_from; +pub use subplot::SubplotError; use tracing::{event, instrument, span, Level}; /// Generate code for one document, inside `build.rs`. |