Skip to content
This repository was archived by the owner on May 16, 2023. It is now read-only.

Commit fb283a7

Browse files
authored
Reexport crates with types that are used publicly (#118)
1 parent 922639e commit fb283a7

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

aws_lambda_events/src/lib.rs

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,23 @@
1-
#[macro_use]
2-
extern crate serde_derive;
31
extern crate base64;
4-
extern crate bytes;
5-
extern crate chrono;
2+
extern crate http_serde;
63
#[cfg(test)]
74
#[macro_use]
85
extern crate pretty_assertions;
9-
extern crate serde;
6+
#[macro_use]
7+
extern crate serde_derive;
108
#[cfg(test)]
119
#[macro_use]
1210
extern crate serde_json;
13-
extern crate http;
14-
extern crate http_body;
15-
extern crate http_serde;
16-
extern crate query_map;
11+
12+
// Crates with types that we use publicly. Reexported for ease of interoperability.
13+
pub extern crate bytes;
14+
pub extern crate chrono;
15+
pub extern crate http;
16+
pub extern crate http_body;
17+
pub extern crate query_map;
18+
pub extern crate serde;
1719
#[cfg(not(test))]
18-
extern crate serde_json;
20+
pub extern crate serde_json;
1921

2022
/// AWS Lambda event definitions for alb.
2123
#[cfg(feature = "alb")]

0 commit comments

Comments
 (0)