Skip to main content

Crate odl

Crate odl 

Source
Expand description

ODL — Open-source Download Library and CLI

This crate provides a flexible, resumable, and configurable download manager with a small CLI and library API. Intended for use as both a library and a standalone binary. Public types and modules expose the high-level API used by applications:

  • Download — primary download instruction type (create via from_response_info or from_metadata).
  • download_manager — higher-level operations to evaluate and run downloads.
  • config — persistent configuration for the manager.

Example (library usage):

use odl::{Download, download_manager::DownloadManager, config::Config};
// create a `DownloadManager` with default `Config` and call `evaluate`/`download`.

Re-exports§

pub use proto::download_metadata;

Modules§

config
conflict
credentials
download_manager
error
progress
Progress reporting and cancellation primitives.
proto
user_agents

Structs§

Download
Represents a download instruction.