Skip to content

rustunes 0.1.0

Choose a tag to compare

@fbiba fbiba released this 01 Nov 11:39
· 19 commits to master since this release

First public release of rustunes, a command-line tool that syncs music from Linux to the iPhone's built-in Music app, over USB or Wi-Fi. See the README for features, requirements and usage.

Installation

Prebuilt binary (Linux x86_64)

curl -LO https://github.com/fbiba/rustunes/releases/download/v0.1.0/rustunes-0.1.0-x86_64-unknown-linux-gnu.tar.gz
curl -LO https://github.com/fbiba/rustunes/releases/download/v0.1.0/SHA256SUMS
sha256sum -c SHA256SUMS
tar -xzf rustunes-0.1.0-x86_64-unknown-linux-gnu.tar.gz
install -Dm755 rustunes-0.1.0-x86_64-unknown-linux-gnu/rustunes ~/.local/bin/rustunes
rustunes --version

If rustunes --version reports command not found, ~/.local/bin is not on your PATH yet. Add it for your shell:

# bash
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc && source ~/.bashrc

# zsh
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zshrc && source ~/.zshrc

# fish
fish_add_path ~/.local/bin

Optionally, install the bash completion:

install -Dm644 rustunes-0.1.0-x86_64-unknown-linux-gnu/completions/rustunes.bash \
  ~/.local/share/bash-completion/completions/rustunes

The binary needs glibc 2.28 or newer.

From crates.io

cargo install --locked rustunes

From source

git clone --branch v0.1.0 https://github.com/fbiba/rustunes.git
cd rustunes
cargo build --release --locked

Building needs Rust 1.89 or newer and a C compiler. See Installation in the README.

Acknowledgements

rustunes uses idevice by Jackson Coxson for pairing, lockdown, AFC and the service connections. Credits, licences and every dependency are listed in ACKNOWLEDGEMENTS.md, and the licences of everything compiled into the binary are in THIRD-PARTY-LICENSES.txt in the tarball.

rustunes is an independent project, not affiliated with, endorsed by or sponsored by Apple Inc.