plexclip 1.2.0

Download videos from Plex Media Server
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.85"
name = "plexclip"
version = "1.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Download videos from Plex Media Server"
homepage = "https://git.sr.ht/~jacky/plexclip"
readme = "README.md"
keywords = [
    "plex",
    "video",
    "download",
    "cli",
    "transcode",
]
categories = [
    "command-line-utilities",
    "multimedia",
]
license = "MIT OR Apache-2.0"
repository = "https://git.sr.ht/~jacky/plexclip"

[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

[features]
default = []

[lib]
name = "plexclip"
path = "src/lib.rs"

[[bin]]
name = "plexclip"
path = "src/main.rs"

[[test]]
name = "auth"
path = "tests/auth.rs"

[[test]]
name = "client"
path = "tests/client.rs"

[[test]]
name = "config"
path = "tests/config.rs"

[[test]]
name = "direct_download"
path = "tests/direct_download.rs"

[[test]]
name = "error_suggestions"
path = "tests/error_suggestions.rs"

[[test]]
name = "hls_download"
path = "tests/hls_download.rs"

[dependencies.anyhow]
version = "1"

[dependencies.clap]
version = "4"
features = [
    "derive",
    "env",
    "string",
    "color",
]

[dependencies.clap_complete]
version = "4"

[dependencies.clap_usage]
version = "2"

[dependencies.dirs]
version = "5"

[dependencies.futures-util]
version = "0.3"

[dependencies.indicatif]
version = "0.17"

[dependencies.inquire]
version = "0.9"

[dependencies.m3u8-rs]
version = "6"

[dependencies.miette]
version = "7"
features = ["fancy"]

[dependencies.open]
version = "5"

[dependencies.regex]
version = "1"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "stream",
    "rustls-tls",
    "http2",
]
default-features = false

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde-xml-rs]
version = "0.6"

[dependencies.serde_json]
version = "1"

[dependencies.tempfile]
version = "3"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "sync",
    "macros",
    "time",
    "fs",
    "signal",
]

[dependencies.toml]
version = "0.8"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "fmt",
]

[dependencies.url]
version = "2"

[dependencies.urlencoding]
version = "2.1"

[dev-dependencies.insta]
version = "1"

[dev-dependencies.pretty_assertions]
version = "1"

[dev-dependencies.tokio-test]
version = "0.4"

[dev-dependencies.wiremock]
version = "0.6"

[lints.clippy]

[lints.rust]
unsafe_op_in_unsafe_fn = "warn"

[profile.dist]
lto = "thin"
inherits = "release"

[profile.release]
lto = "thin"
codegen-units = 1
panic = "abort"
strip = true