18 lines
540 B
Rust
18 lines
540 B
Rust
/// Binary control-file encoding and decoding helpers.
|
|
mod binary;
|
|
/// Shared control-file data models and error types.
|
|
mod model;
|
|
#[cfg(test)]
|
|
mod tests;
|
|
/// Text control-file encoding and decoding helpers.
|
|
mod text;
|
|
|
|
pub use self::binary::{
|
|
read_aria2_binary_control_file, read_aria2_control_file, write_aria2_control_file,
|
|
};
|
|
pub use self::model::{
|
|
ControlFileBinaryModel, ControlFileError, ControlFileTextModel, ControlFileVersion,
|
|
ControlMetadata,
|
|
};
|
|
pub use self::text::{decode_control_metadata, encode_control_metadata};
|