-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
lib.rs
72 lines (62 loc) · 2.12 KB
/
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
#![doc = include_str!(concat!(env!("CARGO_MANIFEST_DIR"), "/README.md"))]
#![doc = include_str!(concat!(env!("CARGO_MANIFEST_DIR"), "/docs/features.md"))]
#![doc = include_str!(concat!(env!("CARGO_MANIFEST_DIR"), "/docs/why-augment-result.md"))]
#![doc = include_str!(concat!(env!("CARGO_MANIFEST_DIR"), "/docs/state-escalation.md"))]
#![doc(test(attr(allow(unused_imports))))]
#![doc(test(attr(allow(dead_code))))]
#![doc(test(attr(deny(warnings))))]
#![warn(clippy::cargo_common_metadata)]
#![warn(clippy::doc_markdown)]
#![warn(clippy::fallible_impl_from)]
#![warn(clippy::large_digit_groups)]
#![warn(clippy::manual_ok_or)]
#![warn(clippy::print_stderr)]
#![warn(clippy::print_stdout)]
#![warn(clippy::redundant_pub_crate)]
#![warn(clippy::redundant_else)]
#![warn(clippy::single_match_else)]
#![warn(clippy::trait_duplication_in_bounds)]
#![warn(clippy::type_repetition_in_bounds)]
#![warn(clippy::unneeded_field_pattern)]
#![warn(clippy::unnested_or_patterns)]
#![warn(clippy::unused_self)]
#![warn(clippy::use_self)]
#![warn(clippy::missing_panics_doc)]
#![warn(clippy::missing_safety_doc)]
//#![warn(missing_doc_code_examples)]
#![warn(let_underscore_drop)]
#![warn(missing_docs)]
#![warn(unsafe_code)]
#![cfg_attr(
all(nightly, feature = "nightly"),
feature(try_trait_v2),
feature(never_type),
feature(exhaustive_patterns)
)]
#![cfg_attr(any(docsrs, nightly), feature(doc_cfg))]
#![no_std]
#[cfg(doc)]
extern crate std;
#[cfg_attr(any(docsrs, nightly), doc(cfg(feature = "unstable")))]
#[cfg(feature = "unstable")]
mod unstable;
#[cfg_attr(any(docsrs, nightly), doc(cfg(feature = "nightly")))]
#[cfg(all(nightly, feature = "nightly"))]
mod nightly;
mod aberration;
mod concern;
mod outcome;
mod private;
mod iter;
#[cfg(any(feature = "report", feature = "diagnostic"))]
mod wrap;
pub mod convert;
pub mod prelude;
#[cfg_attr(any(docsrs, nightly), doc(cfg(feature = "report")))]
#[cfg(feature = "report")]
pub mod report;
#[cfg_attr(any(docsrs, nightly), doc(cfg(feature = "diagnostic")))]
#[cfg(feature = "diagnostic")]
pub mod diagnostic;
#[cfg_attr(doc, doc(inline))]
pub use crate::{aberration::*, concern::*, convert::*, iter::*, outcome::*};