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
//! This is the official Rust package for OpenFeature.
//! Check OpenFeature website for the background.
//! Check its README for examples.

#![warn(missing_docs)]
#![warn(clippy::pedantic)]
#![allow(clippy::doc_markdown)]
#![allow(clippy::implicit_hasher)]
#![allow(clippy::manual_let_else)]
#![allow(clippy::missing_errors_doc)]
#![allow(clippy::missing_panics_doc)]
#![allow(clippy::module_inception)]
#![allow(clippy::module_name_repetitions)]
#![allow(clippy::must_use_candidate)]
#![allow(clippy::new_without_default)]
#![allow(clippy::struct_excessive_bools)]
#![allow(clippy::too_many_lines)]
#![allow(clippy::uninlined_format_args)]

/// The OpenFeature API and client.
mod api;
pub use api::*;

/// Evaluation related.
mod evaluation;
pub use evaluation::*;

/// Feature provider related.
pub mod provider;

/// Optional support for [`serde_json::Value`].
#[cfg(feature = "serde_json")]
pub mod serde_json;