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;
23pub mod file;
25pub mod iterator;
27pub mod lib_api;
29pub mod runtime;
31pub use runtime as memory;
33pub mod numeric;
35pub mod options;
37pub mod record;
39pub mod zoned_overpunch;
41
42mod odo_redefines;
43
44pub const JSON_SCHEMA_VERSION: &str = "copybook.v1";
46
47pub use iterator::{RecordIterator, iter_records, iter_records_from_file};
48
49pub use lib_api::{
50 MAX_CAPTURED_FAILURES, RecordFailure, RunSummary, decode_file_to_jsonl, decode_record,
51 decode_record_with_scratch, encode_jsonl_to_file, encode_record,
52};
53
54pub use numeric::{SmallDecimal, ZonedEncodingInfo};
55
56pub use options::{
57 CodecOptionKind, Codepage, DecodeOptions, EncodeOptions, FloatFormat, JsonNumberMode,
58 ParseCodecOptionError, RawMode, RecordFormat, UnmappablePolicy, ZonedEncodingFormat,
59};
60
61pub use determinism::{
62 ByteDiff, DeterminismMode, DeterminismResult, check_decode_determinism,
63 check_encode_determinism, check_round_trip_determinism,
64};