Skip to main content

gedcom_core/
lib.rs

1// Copyright 2017-2026 Ahmed Charles <me@ahmedcharles.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#![warn(absolute_paths_not_starting_with_crate)]
20#![warn(ambiguous_negative_literals)]
21#![warn(closure_returning_async_block)]
22#![warn(deprecated_in_future)]
23#![warn(deprecated_safe)]
24#![warn(deref_into_dyn_supertrait)]
25#![warn(edition_2024_expr_fragment_specifier)]
26#![warn(elided_lifetimes_in_paths)]
27#![warn(explicit_outlives_requirements)]
28#![warn(ffi_unwind_calls)]
29#![warn(if_let_rescope)]
30#![warn(impl_trait_overcaptures)]
31#![warn(impl_trait_redundant_captures)]
32#![warn(keyword_idents)]
33#![warn(let_underscore_drop)]
34#![warn(macro_use_extern_crate)]
35#![warn(meta_variable_misuse)]
36#![warn(missing_copy_implementations)]
37#![warn(missing_debug_implementations)]
38#![warn(missing_docs)]
39#![warn(missing_unsafe_on_extern)]
40#![warn(non_ascii_idents)]
41#![warn(redundant_imports)]
42#![warn(redundant_lifetimes)]
43#![warn(single_use_lifetimes)]
44#![warn(tail_expr_drop_order)]
45#![warn(trivial_casts)]
46#![warn(trivial_numeric_casts)]
47#![warn(unit_bindings)]
48#![warn(unnameable_types)]
49#![warn(unreachable_pub)]
50#![warn(unsafe_attr_outside_unsafe)]
51#![warn(unsafe_code)]
52#![warn(unsafe_op_in_unsafe_fn)]
53#![warn(unused)]
54#![warn(unused_crate_dependencies)]
55#![warn(unused_import_braces)]
56#![warn(unused_lifetimes)]
57#![warn(unused_qualifications)]
58#![warn(unused_results)]
59#![warn(variant_size_differences)]
60
61#[cfg(test)]
62use encoding_rs as _;
63#[cfg(test)]
64use insta as _;
65
66pub mod data;