nichi/
lib.rs

1#![doc = include_str!("../README.md")]
2
3//---------------------------------------------------------------------------------------------------- Docs
4#![cfg_attr(docsrs, feature(doc_auto_cfg))]
5
6//---------------------------------------------------------------------------------------------------- Lints
7#![forbid(
8    future_incompatible,
9    let_underscore,
10    break_with_label_and_loop,
11    coherence_leak_check,
12    deprecated,
13    duplicate_macro_attributes,
14    exported_private_dependencies,
15    for_loops_over_fallibles,
16    large_assignments,
17    overlapping_range_endpoints,
18    private_in_public,
19    semicolon_in_expressions_from_macros,
20    redundant_semicolons,
21    unconditional_recursion,
22    unused_allocation,
23    unused_doc_comments,
24    unused_labels,
25    unused_unsafe,
26    while_true,
27    keyword_idents,
28    non_ascii_idents,
29    noop_method_call,
30    unreachable_pub,
31    single_use_lifetimes,
32    variant_size_differences,
33    //unused_mut,
34)]
35#![deny(
36    missing_docs,
37    unused_comparisons,
38    nonstandard_style,
39)]
40#![allow(
41    unused_braces,
42)]
43
44//----------------------------------------------------------------------------------------------------
45mod date;
46pub use date::*;
47
48mod weekday;
49pub use weekday::*;
50
51mod year;
52pub use year::*;
53
54mod month;
55pub use month::*;
56
57mod day;
58pub use day::*;
59
60mod days_in_year;
61pub use days_in_year::*;
62
63mod macros;
64
65mod free;
66pub use free::*;
67
68mod days_in_month;
69pub use days_in_month::*;