about summary refs log tree commit diff stats
path: root/crates
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-10-14 21:11:42 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-10-14 21:11:42 +0200
commit6df118a3e02fe5122b8163ebad77b9f3532d2901 (patch)
tree40c584960054c23d0ec963497993bcd199267616 /crates
parentchore(treewide): Add missing copyright header (diff)
downloadyt-6df118a3e02fe5122b8163ebad77b9f3532d2901.tar.gz
yt-6df118a3e02fe5122b8163ebad77b9f3532d2901.zip
refactor(libmpv2): Include in the workspace
Diffstat (limited to 'crates')
-rw-r--r--crates/libmpv2/Cargo.toml18
-rw-r--r--crates/libmpv2/libmpv2-sys/Cargo.toml13
2 files changed, 20 insertions, 11 deletions
diff --git a/crates/libmpv2/Cargo.toml b/crates/libmpv2/Cargo.toml
index 8d45872..fc92fbf 100644
--- a/crates/libmpv2/Cargo.toml
+++ b/crates/libmpv2/Cargo.toml
@@ -10,18 +10,22 @@
 
 [package]
 name = "libmpv2"
-version = "4.0.0"
-edition = "2021"
-license = "LGPL-2.1"
-readme = "README.md"
 description = "Libmpv abstraction that's easy to use and can play next to all codecs and containers"
 keywords = ["media", "playback", "mpv", "libmpv"]
-
+readme = "README.md"
+categories = []
+version.workspace = true
+edition.workspace = true
+authors.workspace = true
+license.workspace = true
+repository.workspace = true
+rust-version.workspace = true
+publish = false
 
 [dependencies]
-libmpv2-sys = { path = "libmpv2-sys", version = "4.0.0" }
+libmpv2-sys = { path = "libmpv2-sys" }
 thiserror = "1.0.64"
-log = { version = "0.4.22" }
+log.workspace = true
 
 [dev-dependencies]
 crossbeam = "0.8"
diff --git a/crates/libmpv2/libmpv2-sys/Cargo.toml b/crates/libmpv2/libmpv2-sys/Cargo.toml
index 71455c1..97916e8 100644
--- a/crates/libmpv2/libmpv2-sys/Cargo.toml
+++ b/crates/libmpv2/libmpv2-sys/Cargo.toml
@@ -10,12 +10,17 @@
 
 [package]
 name = "libmpv2-sys"
-version = "4.0.0"
-edition = "2021"
-license = "LGPL-2.1"
-build = "build.rs"
 description = "Libmpv bindings generated by bindgen"
+build = "build.rs"
 keywords = ["media", "playback", "mpv", "libmpv"]
+categories = []
+version.workspace = true
+edition.workspace = true
+authors.workspace = true
+license.workspace = true
+repository.workspace = true
+rust-version.workspace = true
+publish = false
 
 [build-dependencies]
 bindgen = { version = "0.70.1" }