Skip to content

Latest commit

 

History

History
126 lines (111 loc) · 5.93 KB

dependencies.md

File metadata and controls

126 lines (111 loc) · 5.93 KB

Dependencies

gtm is built on the Rust open-source ecosystem. This page lists the direct runtime and development dependencies declared in gtm/Cargo.toml and gtmd/Cargo.toml, grouped by what they do. Versions are pinned in those manifests; transitive dependencies are resolved by Cargo and can be inspected with cargo tree.

Terminal interface

  • ratatui — immediate-mode terminal UI, layout, and wrapping.
  • crossterm — terminal input, alternate screen, and bracketed paste.
  • tui-big-text — the big-text widget used for the logo and large headings (the ratatui big-text crate).
  • tachyonfx — terminal UI effects and transitions.
  • ratatui-image — cover art over the Kitty, Sixel, iTerm2, and half-block protocols.
  • image — image decoding, resizing, and format handling.
  • color-thief — cover-art palette extraction for reactive themes.

Audio and media

  • rodio — audio output and playback.
  • symphonia — audio demuxing, decoding, and metadata.
  • symphonia-adapter-libopus — Opus decoding for podcast and radio streams.
  • fundsp — DSP building blocks for the equalizer, reverb, and crossfade paths.
  • rustfft — FFTs for the spectrum display.
  • lofty — audio tags, cover art, and text metadata.
  • librespot-core and librespot-playback — Spotify Connect playback and local audio streaming.
  • rspotify — Spotify Web API client for search, playlists, and account metadata.
  • innertube-rs — YouTube/InnerTube search and resolution for free-tier playback.
  • pulseaudio — optional native PulseAudio output backend.

Networking and async

  • tokio — asynchronous runtime, sockets, timers, and subprocesses.
  • tokio-util — codecs and utilities for async streams.
  • futures — stream and future combinators.
  • reqwest — HTTP client with rustls and streaming support.
  • async-trait — async trait methods for the provider interfaces.

Data, storage, and serialization

  • serde and serde_json — IPC and provider JSON.
  • toml — configuration files.
  • rmp-serde — compact MessagePack persistence.
  • quick-xml — RSS, podcast, and XML feeds.
  • rusqlite — bundled SQLite library index.
  • walkdir — recursive library scans.
  • lru — bounded in-memory caches.
  • uuid — stable identifiers.
  • chrono — dates and timestamps.
  • regex — parsing titles, feed text, and provider responses.
  • urlencoding — query and path encoding.
  • base64 — encoded image and wire payloads.
  • hex, md5, and sha2 — hashes and cache keys.
  • bincode — test-only serialization fixtures.

Platform integration

  • zbus and zvariant — optional MPRIS D-Bus integration.
  • keyring — operating-system credential storage.
  • webbrowser — browser-based OAuth and device-code flows.
  • dirs — XDG and platform configuration paths.
  • libc — POSIX process and socket details.
  • rpassword — hidden credential prompts.

CLI, configuration, and diagnostics

External programs and services

  • yt-dlp — external extractor/downloader for YouTube and yt-dlp-supported sites.
  • FFmpeg — optional external converter used when tagging media that the built-in muxers cannot write.
  • LRCLIB — synced and plain lyrics.
  • Radio Browser and cliamp — internet radio directories.
  • Last.fm — scrobbling and loved tracks.
  • Spotify and YouTube — streaming providers.