-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathlib.rs
34 lines (28 loc) · 850 Bytes
/
lib.rs
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
34
//! 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::missing_errors_doc)]
#![allow(clippy::missing_panics_doc)]
#![allow(clippy::module_inception)]
#![allow(clippy::module_name_repetitions)]
#![allow(clippy::must_use_candidate)]
#![allow(clippy::struct_excessive_bools)]
#![allow(clippy::too_many_lines)]
/// The OpenFeature API and client.
mod api;
pub use api::*;
/// Evaluation related.
mod evaluation;
pub use evaluation::*;
/// Hooks related.
mod hooks;
pub use hooks::*;
/// Feature provider related.
pub mod provider;
pub use async_trait::async_trait;
/// Optional support for [`serde_json::Value`].
#[cfg(feature = "serde_json")]
pub mod serde_json;