gedcom_core/
lib.rs

1// Copyright 2017-2021 Ahmed Charles <acharles@outlook.com>
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//     http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15//! GEDCOM is an acronym for GEnealogical Data COMmunication and it
16//! provides a flexible, uniform format for exchanging computerized
17//! genealogical data.
18
19#![deny(warnings)]
20#![deny(absolute_paths_not_starting_with_crate)]
21#![deny(deprecated_in_future)]
22#![deny(elided_lifetimes_in_paths)]
23#![deny(explicit_outlives_requirements)]
24#![deny(keyword_idents)]
25#![deny(macro_use_extern_crate)]
26#![deny(meta_variable_misuse)]
27#![deny(missing_abi)]
28#![deny(missing_copy_implementations)]
29#![deny(missing_debug_implementations)]
30#![deny(missing_docs)]
31#![deny(non_ascii_idents)]
32#![deny(noop_method_call)]
33#![deny(pointer_structural_match)]
34#![deny(rust_2021_incompatible_closure_captures)]
35#![deny(rust_2021_incompatible_or_patterns)]
36#![deny(rust_2021_prefixes_incompatible_syntax)]
37#![deny(rust_2021_prelude_collisions)]
38#![deny(semicolon_in_expressions_from_macros)]
39#![deny(single_use_lifetimes)]
40#![deny(trivial_casts)]
41#![deny(trivial_numeric_casts)]
42#![deny(unreachable_pub)]
43#![deny(unsafe_code)]
44#![deny(unsafe_op_in_unsafe_fn)]
45#![deny(unused_crate_dependencies)]
46#![deny(unused_extern_crates)]
47#![deny(unused_import_braces)]
48#![deny(unused_lifetimes)]
49#![deny(unused_qualifications)]
50#![deny(unused_results)]
51#![deny(variant_size_differences)]
52
53#[cfg(test)]
54use encoding_rs as _;
55#[cfg(test)]
56use insta as _;
57
58pub mod data;