cedar_policy/
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 Cedar
18#![forbid(unsafe_code)]
19#![warn(
20    missing_docs,
21    missing_debug_implementations,
22    rust_2018_idioms,
23    clippy::pedantic,
24    clippy::nursery
25)]
26#![allow(clippy::must_use_candidate, clippy::missing_const_for_fn)]
27
28/// Rust public API
29mod api;
30pub use api::*;
31
32/// Frontend utilities, see comments in the module itself
33pub mod frontend;
34
35#[cfg(feature = "integration_testing")]
36pub mod integration_testing;