Skip to content

Commit 1447217

Browse files
authored
chore: (lambda-http, lambda-extension): add missing docsrs feature annotations (#1021)
1 parent 9a3642e commit 1447217

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

lambda-extension/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ pub mod requests;
2626

2727
/// Utilities to initialize and use `tracing` and `tracing-subscriber` in Lambda Functions.
2828
#[cfg(feature = "tracing")]
29+
#[cfg_attr(docsrs, doc(cfg(feature = "tracing")))]
2930
pub use lambda_runtime_api_client::tracing;
3031

3132
/// Execute the given events processor

lambda-http/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ extern crate maplit;
6868
pub use http::{self, Response};
6969
/// Utilities to initialize and use `tracing` and `tracing-subscriber` in Lambda Functions.
7070
#[cfg(feature = "tracing")]
71+
#[cfg_attr(docsrs, doc(cfg(feature = "tracing")))]
7172
pub use lambda_runtime::tracing;
7273
use lambda_runtime::Diagnostic;
7374
pub use lambda_runtime::{self, service_fn, tower, Context, Error, LambdaEvent, Service};

0 commit comments

Comments
 (0)