Initial commit

This commit is contained in:
Connor Johnstone
2026-03-17 15:31:29 -04:00
commit d5641493b9
11 changed files with 1458 additions and 0 deletions

15
src/lib.rs Normal file
View File

@@ -0,0 +1,15 @@
//! Music downloading for Shanty.
//!
//! Downloads music files using pluggable backends. The default backend uses
//! yt-dlp with YouTube Music search, rate limiting, and configurable output format.
pub mod backend;
pub mod error;
pub mod queue;
pub mod rate_limit;
pub mod ytdlp;
pub use backend::{AudioFormat, BackendConfig, DownloadBackend, DownloadResult, DownloadTarget, SearchResult};
pub use error::{DlError, DlResult};
pub use queue::{DlStats, download_single, run_queue};
pub use ytdlp::{SearchSource, YtDlpBackend};