1mod auth;
8mod backoff;
9mod client;
10mod clock;
11pub mod config;
12mod consts;
13mod downloadable;
14mod error;
15mod executor;
16mod extras;
17mod ffmpeg;
18mod fs;
19mod graph;
20mod hash;
21mod http;
22mod limiter;
23mod lineage;
24mod manifest;
25mod model;
26mod naming;
27pub mod reconcile;
28pub mod select;
29mod tag;
30
31#[cfg(test)]
32mod testutil;
33
34#[cfg(test)]
35mod sync_chaos;
36
37pub use auth::{ClerkAuth, TOKEN_EXPIRY_WARN_DAYS, TokenExpiry, classify_token_expiry};
38pub use client::{Playlist, SunoClient};
39pub use clock::Clock;
40pub use config::{
41 AccountConfig, AudioFormat, Config, Defaults, EffectiveSettings, FlagOverrides, SourceConfig,
42};
43pub use downloadable::is_downloadable;
44pub use error::{Error, Result};
45pub use executor::{ExecOptions, ExecOutcome, Failure, Ports, RunStatus, execute};
46pub use extras::{
47 INDEX_SCHEMA_VERSION, M3u8Entry, render_clip_details, render_clip_lrc, render_clip_lyrics,
48 render_library_index, render_m3u8,
49};
50pub use ffmpeg::{Ffmpeg, FfmpegError, FfmpegErrorKind, WebpEncodeSettings};
51pub use fs::{FileStat, Filesystem, FsError, FsErrorKind};
52pub use graph::{
53 AdoptDecision, AlbumArt, CacheEntry, LineageStore, Node, Owner, OwnerCheck, OwnerGate,
54 PlaylistState, StoredEdge, adopt_decision, owner_gate,
55};
56pub use hash::{art_hash, art_url_hash, content_hash, meta_hash};
57pub use http::{Http, HttpRequest, HttpResponse, Method, TransportError};
58pub use lineage::{
59 Edge, EdgeRole, EdgeType, LineageContext, Resolution, ResolveOpts, ResolveStatus, RootInfo,
60 edge_type, immediate_parent, lineage_edges, resolve_roots,
61};
62pub use manifest::{ArtifactState, Manifest, ManifestEntry};
63pub use model::{Clip, HistoryEntry};
64pub use naming::{
65 CharacterSet, DEFAULT_TEMPLATE, NamingConfig, NamingRequest, RenderedName, render_clip_name,
66 render_clip_names, sanitise_name,
67};
68pub use reconcile::{
69 Action, AlbumDesired, ArtifactKind, Desired, DesiredArtifact, LocalFile, Plan, PlaylistDesired,
70 SourceMode, SourceStatus, album_desired, deletion_allowed, plan_album_artifacts,
71 plan_playlist_artifacts, reconcile,
72};
73pub use tag::{TrackMetadata, tag_flac, tag_mp3};