google_cloud_wkt/lib.rs
1// Copyright 2024 Google LLC
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// https://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15//! Well-known-types for Google Cloud APIs.
16//!
17//! Google Cloud APIs use a number of well-known types. These typically have
18//! custom JSON encoding, and may provide conversion functions to and from
19//! native or commonly used Rust types.
20
21#![cfg_attr(docsrs, feature(doc_cfg))]
22
23mod any;
24pub use crate::any::*;
25mod duration;
26pub use crate::duration::*;
27mod empty;
28pub use crate::empty::*;
29mod field_mask;
30pub use crate::field_mask::*;
31// The generated code contains (and uses) deprecated code.
32#[allow(deprecated)]
33mod generated;
34#[cfg_attr(not(feature = "_internal-semver"), doc(hidden))]
35pub mod internal;
36pub use crate::generated::*;
37mod timestamp;
38pub use crate::timestamp::*;
39mod rstruct;
40pub use crate::rstruct::*;
41mod wrappers;
42pub use crate::wrappers::*;
43pub mod message;