pub mod decode;
pub mod doctor;
pub mod dtype;
pub mod encode;
pub mod error;
pub mod file;
pub mod framing;
pub mod hash;
pub mod iter;
pub mod metadata;
mod parallel;
pub mod pipeline;
#[cfg(feature = "remote")]
pub mod remote;
pub mod remote_scan_parse;
pub(crate) mod restore;
pub mod scan_opts;
pub mod streaming;
#[cfg(feature = "async")]
pub mod streaming_async;
pub(crate) mod substitute_and_mask;
pub mod types;
pub mod validate;
pub mod wire;
pub use decode::{
DecodeOptions, DecodedMaskSet, DecodedObjectWithMasks, decode, decode_descriptors,
decode_metadata, decode_object, decode_range, decode_range_from_payload, decode_with_masks,
};
pub use dtype::Dtype;
pub use encode::{AggregateHashPolicy, EncodeOptions, encode, encode_pre_encoded};
pub use error::{Result, TensogramError};
pub use file::{MessageLayout, TensogramFile};
pub use framing::{
ScanOptions, data_object_inline_hashes, scan, scan_file, scan_file_with_options,
scan_with_options,
};
pub use hash::{HASH_ALGORITHM_NAME, compute_hash, parse_hash_name};
pub use iter::{FileMessageIter, MessageIter, ObjectIter, messages, objects, objects_metadata};
pub use metadata::{RESERVED_KEY, compute_common, verify_canonical_cbor};
pub use parallel::{DEFAULT_PARALLEL_THRESHOLD_BYTES, ENV_THREADS};
pub use pipeline::{DEFAULT_SIMPLE_PACKING_BITS, DataPipeline, apply_pipeline};
pub use remote_scan_parse::{
BackwardCommit, BackwardOutcome, ForwardOutcome, footer_region_present,
parse_backward_postamble, parse_forward_preamble, same_message_check,
validate_backward_preamble,
};
pub use scan_opts::RemoteScanOptions;
pub use streaming::StreamingEncoder;
#[cfg(feature = "async")]
pub use streaming_async::AsyncStreamingEncoder;
pub use tensogram_encodings::bitmask::MaskMethod;
pub use tensogram_encodings::pipeline::CompressionBackend;
pub use types::{
ByteOrder, DataObjectDescriptor, DecodedObject, GlobalMetadata, HashFrame, IndexFrame,
MaskDescriptor, MasksMetadata,
};
pub use validate::{
FileIssue, FileValidationReport, IssueCode, IssueSeverity, ValidateOptions, ValidationIssue,
ValidationLevel, ValidationReport, validate_buffer, validate_file, validate_message,
};
pub use wire::{FrameType, MessageFlags, WIRE_VERSION};
#[cfg(feature = "remote")]
pub use remote::is_remote_url;