Skip to content

Commit 157255a

Browse files
committed
remove otel from runtime
1 parent 38dd26f commit 157255a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/runtime_builder.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ impl RuntimeBuilder {
130130
/// Set the initial seed for the crypto extension
131131
#[cfg(feature = "crypto")]
132132
#[cfg_attr(docsrs, doc(cfg(feature = "crypto")))]
133+
#[must_use]
133134
pub fn with_cryto_seed(mut self, seed: u64) -> Self {
134135
self.0.extension_options.crypto_seed = Some(seed);
135136
self
@@ -186,6 +187,7 @@ impl RuntimeBuilder {
186187
/// Set the options for the node extension
187188
#[cfg(feature = "node_experimental")]
188189
#[cfg_attr(docsrs, doc(cfg(feature = "node_experimental")))]
190+
#[must_use]
189191
pub fn with_node_resolver(mut self, resolver: std::sync::Arc<crate::RustyResolver>) -> Self {
190192
self.0.extension_options.node_resolver = resolver;
191193
self

0 commit comments

Comments
 (0)