Skip to main content

Crate asdf_core

Crate asdf_core 

Source
Expand description

The ASDF engine: file layout, binary blocks, and the tree.

This crate holds all the behaviour. The C ABI shim (libasdf-rs) and the idiomatic Rust API (asdf) are both thin projections of it, so the two public faces cannot drift apart in semantics. Nothing here knows about C.

Re-exports§

pub use error::Error;
pub use error::ErrorCode;
pub use error::Result;
pub use layout::Layout;
pub use layout::scan;
pub use reader::ChecksumStatus;
pub use reader::Reader;
pub use version::Version;
pub use writer::PendingBlock;
pub use writer::WriteOptions;
pub use writer::Writer;
pub use asdf_yaml as yaml;

Modules§

block
Binary blocks: the format’s byte-exact layer.
compression
Block compression.
core
Implementations of the ASDF core schemas.
error
Errors, mapped onto the codes the C API reports.
events
The low-level event stream: what a file contains, in the order it appears.
info
Rendering a human-readable view of an ASDF file.
layout
Scanning an ASDF file’s overall structure.
reader
Reading an ASDF file: its tree, and the data in its binary blocks.
version
Version strings, as they appear on the #ASDF header line, in tags, and in core/software metadata.
writer
Writing ASDF files.