1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//! Parsers and request-builders for the Google Flights API.
//!
//! The module is split into two groups:
//!
//! - **[`request`]** — encode `Config` fields into the POST body format
//! expected by Google Flights endpoints.
//! - **[`response`]** — deserialize raw API payloads into typed Rust structs.
//!
//! Shared primitives used by both groups live in [`common`].
//!
//! ## Backward-compatibility aliases
//!
//! The individual parser modules are also re-exported at the `parsers::*`
//! level (e.g. `parsers::flight_response`) so that existing call-sites do not
//! need to change when the sub-module layout evolves.
// Re-export sub-modules at the old flat path so external crates that already
// use `gflights::parsers::flight_response::…` continue to compile unchanged.
pub use calendar_graph_request;
pub use city_request;
pub use date_grid_request;
pub use explore_request;
pub use flight_request;
pub use calendar_graph_response;
pub use city_response;
pub use date_grid_response;
pub use explore_response;
pub use flight_response;
pub use offer_response;