exif_oxide/generated/
mod.rs

1//! Generated code module
2//!
3//! This file is automatically generated by codegen.
4//! DO NOT EDIT MANUALLY - changes will be overwritten.
5//!
6//! This module re-exports all generated code for easy access.
7
8#[allow(non_snake_case)]
9pub mod Canon_pm;
10#[allow(non_snake_case)]
11pub mod ExifTool_pm;
12#[allow(non_snake_case)]
13pub mod Exif_pm;
14#[allow(non_snake_case)]
15pub mod Nikon_pm;
16#[allow(non_snake_case)]
17pub mod Olympus_pm;
18#[allow(non_snake_case)]
19pub mod PNG_pm;
20#[allow(non_snake_case)]
21pub mod PanasonicRaw_pm;
22#[allow(non_snake_case)]
23pub mod Sony_pm;
24#[allow(non_snake_case)]
25pub mod XMP_pm;
26pub mod composite_tags;
27pub mod conversion_refs;
28pub mod file_types;
29pub mod supported_tags;
30pub mod tags;
31
32// Re-export commonly used types and functions
33pub use composite_tags::{
34    lookup_composite_tag, CompositeTagDef, COMPOSITE_TAGS, COMPOSITE_TAG_LOOKUP,
35};
36pub use conversion_refs::PRINT_CONV_REFS as REQUIRED_PRINT_CONV;
37pub use conversion_refs::VALUE_CONV_REFS as REQUIRED_VALUE_CONV;
38pub use conversion_refs::{
39    has_print_conv_ref, has_value_conv_ref, PRINT_CONV_REFS, VALUE_CONV_REFS,
40};
41pub use supported_tags::{
42    supported_tag_summary, tag_counts_by_group, SUPPORTED_COMPOSITE_TAG_COUNT,
43    SUPPORTED_COMPOSITE_TAG_NAMES, SUPPORTED_TAG_COUNT, SUPPORTED_TAG_NAMES,
44    TOTAL_SUPPORTED_TAG_COUNT,
45};
46pub use tags::TAG_LOOKUP as TAG_BY_ID;
47pub use tags::TAG_NAME_LOOKUP as TAG_BY_NAME;
48pub use tags::TAG_TABLE as EXIF_MAIN_TAGS;
49pub use tags::{lookup_tag_by_id, lookup_tag_by_name, TagDef, TagFormat, TAG_LOOKUP, TAG_TABLE};
50
51/// Initialize all lazy static data structures
52/// This can be called during startup to avoid lazy initialization costs later
53pub fn initialize_all() {
54    let _ = &*TAG_LOOKUP;
55    let _ = &*COMPOSITE_TAG_LOOKUP;
56    let _ = &*PRINT_CONV_REFS;
57    let _ = &*VALUE_CONV_REFS;
58}