chore: initial sanitized public snapshot
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
//! Metalink document parsing and download-candidate selection helpers.
|
||||
#![forbid(unsafe_code)]
|
||||
|
||||
/// Shared Metalink document and resource data models.
|
||||
mod model;
|
||||
/// URL and metadata normalization helpers for parsed Metalink files.
|
||||
mod normalization;
|
||||
/// XML parsing entry points for Metalink documents.
|
||||
mod parser;
|
||||
/// Download-candidate planning and ranking helpers.
|
||||
mod planner;
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests;
|
||||
|
||||
pub use self::model::{
|
||||
MetalinkChecksumModel, MetalinkDocumentModel, MetalinkDownloadPlanEntry, MetalinkFileModel,
|
||||
MetalinkParseResult, MetalinkParserModel, MetalinkResourceModel,
|
||||
};
|
||||
pub use self::parser::parse_metalink_document;
|
||||
pub use self::planner::{
|
||||
metalink_download_plan, preferred_download_candidate, preferred_resource_for_file,
|
||||
};
|
||||
Reference in New Issue
Block a user