about summary refs log tree commit diff stats
path: root/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Cargo.toml50
1 files changed, 50 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
new file mode 100644
index 0000000..1c3877e
--- /dev/null
+++ b/Cargo.toml
@@ -0,0 +1,50 @@
+# yt - A fully featured command line YouTube client
+#
+# Copyright (C) 2024 Benedikt Peetz <benedikt.peetz@b-peetz.de>
+# SPDX-License-Identifier: GPL-3.0-or-later
+#
+# This file is part of Yt.
+#
+# You should have received a copy of the License along with this program.
+# If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
+
+[package]
+name = "yt"
+version = "0.1.0"
+edition = "2021"
+
+# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
+
+[dependencies]
+anyhow = "1.0.86"
+blake3 = "1.5.4"
+chrono = { version = "0.4.38", features = ["now"] }
+chrono-humanize = "0.2.3"
+clap = { version = "4.5.16", features = ["derive"] }
+futures = "0.3.30"
+log = "0.4.22"
+regex = "1.10.6"
+serde = { version = "1.0.208", features = ["derive"] }
+serde_json = "1.0.125"
+sqlx = { version = "0.7.4", features = ["runtime-tokio", "sqlite"] }
+stderrlog = "0.6.0"
+tempfile = "3.12.0"
+tokio = { version = "1.39.3", features = ["rt-multi-thread", "macros", "process", "time", "io-std"] }
+url = { version = "2.5.2", features = ["serde"] }
+xdg = "2.5.2"
+yt_dlp = { path = "./yt_dlp/" }
+libmpv2 = { path = "./libmpv2" }
+trinitry = { version = "0.2.2" }
+
+[[bin]]
+name = "yt"
+
+[profile.profiling]
+inherits = "release"
+debug = true
+
+[profile.release]
+lto = true
+codegen-units = 1
+panic = "abort"
+split-debuginfo = "off"