Skip to content

Commit

Permalink
Merge pull request #220 from OmarTawfik-forks/OmarTawfik/expose-builders
Browse files Browse the repository at this point in the history
export builder types to public API
  • Loading branch information
oli-obk authored Feb 28, 2023
2 parents a57ca2a + 902743c commit e567993
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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};
Expand All @@ -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;
Expand Down

0 comments on commit e567993

Please sign in to comment.