Skip to main content

Module utils

Module utils 

Source
Expand description

Shared utilities for the olai-codegen crate

This module contains common functions used across different parts of the code generation pipeline to reduce duplication and improve maintainability.

Modules§

strings
String manipulation utilities

Functions§

extract_qualified_type_name
Derive the emitted type name for a (possibly nested) protobuf type from its fully-qualified name, disambiguating nested types by their parent message.
extract_simple_type_name
Extract the last dot-separated segment of a fully-qualified protobuf type name.