conjure_object/
lib.rs

1// Copyright 2018 Palantir Technologies, Inc.
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// http://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#![warn(clippy::all, missing_docs)]
15
16//! Rust implementations of Conjure types.
17//!
18//! This crate consists of reexports and definitions of the Rust types that correspond to Conjure types. It is a
19//! required dependency of crates which contain Conjure-generated code.
20
21pub use bytes::{self, Bytes};
22pub use chrono::{self, DateTime, Utc};
23pub use serde;
24pub use uuid::{self, Uuid};
25
26#[doc(inline)]
27pub use crate::any::Any;
28#[doc(inline)]
29pub use crate::bearer_token::BearerToken;
30#[doc(inline)]
31pub use crate::double_key::DoubleKey;
32#[doc(inline)]
33pub use crate::plain::{FromPlain, Plain, ToPlain};
34#[doc(inline)]
35pub use crate::resource_identifier::ResourceIdentifier;
36#[doc(inline)]
37pub use crate::safe_long::SafeLong;
38
39pub mod any;
40pub mod bearer_token;
41pub mod double_key;
42pub mod plain;
43pub mod resource_identifier;
44pub mod safe_long;
45
46#[doc(hidden)]
47pub mod private;