1#![cfg_attr(not(test), deny(clippy::unwrap_used, clippy::expect_used))]
2#![cfg_attr(
4 test,
5 allow(
6 clippy::expect_used,
7 clippy::unwrap_used,
8 clippy::panic,
9 clippy::duplicated_attributes
10 )
11)]
12pub mod charset;
19pub mod determinism;
21pub mod edited_pic;
23mod fidelity;
24pub mod iterator;
26pub mod lib_api;
28pub use copybook_codec_memory as memory;
30pub mod numeric;
32pub mod options;
34pub mod record;
36pub mod zoned_overpunch;
38
39mod odo_redefines;
40
41pub const JSON_SCHEMA_VERSION: &str = "copybook.v1";
43
44pub use iterator::{RecordIterator, iter_records, iter_records_from_file};
45
46pub use lib_api::{
47 RunSummary, decode_file_to_jsonl, decode_record, decode_record_with_scratch,
48 encode_jsonl_to_file, encode_record,
49};
50
51pub use numeric::{SmallDecimal, ZonedEncodingInfo};
52
53pub use options::{
54 Codepage, DecodeOptions, EncodeOptions, FloatFormat, JsonNumberMode, RawMode, RecordFormat,
55 UnmappablePolicy, ZonedEncodingFormat,
56};
57
58pub use determinism::{
59 ByteDiff, DeterminismMode, DeterminismResult, check_decode_determinism,
60 check_encode_determinism, check_round_trip_determinism,
61};