Skip to content

Commit 070391e

Browse files
authored
have oximeter-producer re-export dropshot types in its interface (#5933)
1 parent 909d497 commit 070391e

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

oximeter/producer/src/lib.rs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
use dropshot::endpoint;
1010
use dropshot::ApiDescription;
1111
use dropshot::ConfigDropshot;
12-
use dropshot::ConfigLogging;
1312
use dropshot::HttpError;
1413
use dropshot::HttpResponseOk;
1514
use dropshot::HttpServer;
@@ -42,6 +41,13 @@ use std::time::Duration;
4241
use thiserror::Error;
4342
use uuid::Uuid;
4443

44+
// Our public interface depends directly or indirectly on these types; we
45+
// export them so that consumers need not depend on dropshot themselves and
46+
// to simplify how we stage incompatible upgrades.
47+
pub use dropshot::ConfigLogging;
48+
pub use dropshot::ConfigLoggingIfExists;
49+
pub use dropshot::ConfigLoggingLevel;
50+
4551
#[derive(Debug, Clone, Error)]
4652
pub enum Error {
4753
#[error("Error running producer HTTP server: {0}")]

0 commit comments

Comments
 (0)