Skip to content

Commit

Permalink
expose types
Browse files Browse the repository at this point in the history
  • Loading branch information
OmarTawfik authored Feb 21, 2023
1 parent a57ca2a commit 902743c
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 902743c

Please sign in to comment.