[package]
name = "plexclip"
version = "1.2.0"
edition = "2024"
rust-version = "1.85"
license = "MIT OR Apache-2.0"
description = "Download videos from Plex Media Server"
repository = "https://git.sr.ht/~jacky/plexclip"
homepage = "https://git.sr.ht/~jacky/plexclip"
readme = "README.md"
keywords = ["plex", "video", "download", "cli", "transcode"]
categories = ["command-line-utilities", "multimedia"]
[dependencies]
clap = { version = "4", features = ["derive", "env", "string", "color"] }
clap_complete = "4"
clap_usage = "2"
tokio = { version = "1", features = ["rt-multi-thread", "sync", "macros", "time", "fs", "signal"] }
reqwest = { version = "0.12", default-features = false, features = ["json", "stream", "rustls-tls", "http2"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
serde-xml-rs = "0.6"
toml = "0.8"
dirs = "5"
url = "2"
m3u8-rs = "6"
regex = "1"
indicatif = "0.17"
urlencoding = "2.1"
futures-util = "0.3"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt"] }
open = "5"
anyhow = "1"
thiserror = "2"
miette = { version = "7", features = ["fancy"] }
tempfile = "3"
inquire = "0.9"
[dev-dependencies]
tokio-test = "0.4"
wiremock = "0.6"
pretty_assertions = "1"
insta = "1"
[features]
default = []
[lints.rust]
unsafe_op_in_unsafe_fn = "warn"
[lints.clippy]
[profile.release]
lto = "thin"
strip = true
codegen-units = 1
panic = "abort"
[profile.dist]
inherits = "release"
lto = "thin"
[package.metadata.dist]
cargo-dist-version = "0.28.0"
ci = "sourcehut"
installers = ["shell", "powershell", "homebrew"]
targets = ["x86_64-unknown-linux-gnu", "x86_64-unknown-linux-musl", "aarch64-unknown-linux-gnu", "x86_64-apple-darwin", "aarch64-apple-darwin", "x86_64-pc-windows-msvc"]
install-path = "CARGO_HOME"
install-updater = false