From 902743c4260ced3f3ed86658e910f4593a544bc0 Mon Sep 17 00:00:00 2001 From: Omar Tawfik <15987992+OmarTawfik@users.noreply.github.com> Date: Mon, 20 Feb 2023 23:49:42 -0800 Subject: [PATCH] expose types --- src/lib.rs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 27c72da0..1e003b33 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -94,6 +94,8 @@ pub use camino; pub use semver; use semver::{Version, VersionReq}; +#[cfg(feature = "builder")] +pub use dependency::DependencyBuilder; pub use dependency::{Dependency, DependencyKind}; use diagnostic::Diagnostic; pub use errors::{Error, Result}; @@ -102,6 +104,11 @@ pub use messages::parse_messages; pub use messages::{ Artifact, ArtifactProfile, BuildFinished, BuildScript, CompilerMessage, Message, MessageIter, }; +#[cfg(feature = "builder")] +pub use messages::{ + ArtifactBuilder, ArtifactProfileBuilder, BuildFinishedBuilder, BuildScriptBuilder, + CompilerMessageBuilder, +}; use serde::{Deserialize, Serialize}; mod dependency;