# 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 = "2021" name = "tplay" version = "0.6.0" authors = ["Max Curzi "] build = "build.rs" exclude = [ ".github/", ".vscode/", ".gitignore", "Cargo.lock", "Cargo.toml.orig", "Makefile.toml", ] autobins = false autoexamples = false autotests = false autobenches = false default-run = "tplay" description = "A media player that visualizes images and videos as ASCII art directly in the terminal (with sound)." readme = "README.md" keywords = [ "media-player", "ASCII-art", "terminal", "youtube", "video", ] categories = [ "command-line-utilities", "multimedia", "multimedia::video", "multimedia::images", ] license = "MIT" repository = "https://github.com/maxcurzi/tplay" [package.metadata.deb] depends = "libopencv-dev clang libclang-dev ffmpeg libavfilter-dev libavdevice-dev libasound2-dev" maintainer = "Max Curzi " [package.metadata.features] mpv_0_34 = [] mpv_0_35 = [] rodio_audio = [] [[bin]] name = "tplay" path = "src/main.rs" [dependencies.clap] version = "4.2" features = ["derive"] [dependencies.crossbeam-channel] version = "0.5" [dependencies.crossterm] version = "0.28" [dependencies.either] version = "1.8" [dependencies.fast_image_resize] version = "5.0.0" [dependencies.ffmpeg-next] version = "7.1.0" [dependencies.gif] version = "0.13.1" [dependencies.gif-dispose] version = "5.0.0-beta.2" [dependencies.image] version = "0.25" [dependencies.libmpv] version = "2.0.1" optional = true [dependencies.libmpv-sirno] version = "2.0.2-fork.1" optional = true [dependencies.libwebp-sys] version = "0.11" [dependencies.num] version = "0.4" [dependencies.opencv] version = "0.93" features = [ "videoio", "imgproc", "clang-runtime", ] default-features = false [dependencies.reqwest] version = "0.12" features = ["blocking"] [dependencies.rodio] version = "0.20.1" optional = true [dependencies.serde_json] version = "1.0" [dependencies.tempfile] version = "3.5" [dependencies.thiserror] version = "2.0" [dependencies.url] version = "2.3" [dependencies.youtube_dl] version = "0.10" [features] default = ["rodio_audio"] mpv_0_34 = ["libmpv"] mpv_0_35 = ["libmpv-sirno"] rodio_audio = ["rodio"]