cedar_local_agent/lib.rs
1/*
2 * Copyright 2022-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * https://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17//! Public Rust interface for `CedarLocalAgent`
18#![forbid(unsafe_code)]
19#![warn(rust_2018_idioms, clippy::pedantic, clippy::nursery)]
20#![deny(
21 missing_docs,
22 missing_debug_implementations,
23 rustdoc::broken_intra_doc_links,
24 rustdoc::private_intra_doc_links,
25 rustdoc::invalid_codeblock_attributes,
26 rustdoc::invalid_html_tags,
27 rustdoc::invalid_rust_codeblocks,
28 rustdoc::bare_urls,
29 clippy::doc_markdown
30)]
31// FIXME: Rust 1.76 introduced a linting bug for `clippy::blocks_in_conditions`. Remove this lint from allow once fixed.
32#![allow(
33 clippy::must_use_candidate,
34 clippy::missing_const_for_fn,
35 clippy::blocks_in_conditions
36)]
37
38pub mod public;