Skip to main content

Crate copybook_options

Crate copybook_options 

Source
Expand description

Configuration option types shared across copybook-rs crates.

This crate defines DecodeOptions, EncodeOptions, RecordFormat, JsonNumberMode, RawMode, and FloatFormat — the common configuration surface used by the codec and CLI layers.

Structs§

DecodeOptions
Options for decoding operations
EncodeOptions
Options for encoding operations

Enums§

Codepage
Codepage identifier for EBCDIC/ASCII character encoding. Character encoding specification
FloatFormat
Floating-point binary format for COMP-1/COMP-2 fields.
JsonNumberMode
JSON number representation mode
RawMode
Raw data capture mode
RecordFormat
Record format specification
UnmappablePolicy
Policy for handling unmappable characters during codepage conversion. Policy for handling unmappable characters during decode
ZonedEncodingFormat
Zoned decimal encoding format (ASCII, EBCDIC, or auto-detect). Zoned decimal encoding format specification for round-trip fidelity.