Skip to content

Commit 4b295ea

Browse files
committed
Try other module structure
1 parent b35dec4 commit 4b295ea

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

opentelemetry/src/context/context_store.rs renamed to opentelemetry/src/context.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ use std::hash::{BuildHasherDefault, Hasher};
99
use std::marker::PhantomData;
1010
use std::sync::Arc;
1111

12+
mod future_ext;
13+
14+
pub use future_ext::FutureExt;
15+
16+
1217
thread_local! {
1318
static CURRENT_CONTEXT: RefCell<ContextStack> = RefCell::new(ContextStack::default());
1419
}

opentelemetry/src/context/mod.rs

Lines changed: 0 additions & 6 deletions
This file was deleted.

opentelemetry/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,6 @@ pub mod global;
246246

247247
pub mod baggage;
248248

249-
mod context;
250249

251250
pub use context::{Context, ContextGuard};
252251

@@ -278,6 +277,7 @@ pub mod trace;
278277
#[cfg(feature = "logs")]
279278
#[cfg_attr(docsrs, doc(cfg(feature = "logs")))]
280279
pub mod logs;
280+
pub mod context;
281281

282282
#[doc(hidden)]
283283
#[cfg(any(feature = "metrics", feature = "trace", feature = "logs"))]

0 commit comments

Comments
 (0)