Skip to content

Commit

Permalink
have oximeter-producer re-export dropshot types in its interface
Browse files Browse the repository at this point in the history
  • Loading branch information
ahl committed Jun 22, 2024
1 parent 964f6eb commit 2e62491
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion oximeter/producer/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
use dropshot::endpoint;
use dropshot::ApiDescription;
use dropshot::ConfigDropshot;
use dropshot::ConfigLogging;
use dropshot::HttpError;
use dropshot::HttpResponseOk;
use dropshot::HttpServer;
Expand Down Expand Up @@ -42,6 +41,13 @@ use std::time::Duration;
use thiserror::Error;
use uuid::Uuid;

// Our public interface depends directly or indirectly on these types; we
// export them so that consumers need not depend on dropshot themselves and
// to simplify how we stage incompatible upgrades.
pub use dropshot::ConfigLogging;
pub use dropshot::ConfigLoggingIfExists;
pub use dropshot::ConfigLoggingLevel;

#[derive(Debug, Clone, Error)]
pub enum Error {
#[error("Error running producer HTTP server: {0}")]
Expand Down

0 comments on commit 2e62491

Please sign in to comment.