aboutsummaryrefslogtreecommitdiffstats
path: root/crates
diff options
context:
space:
mode:
authorSoispha Peetz <soispha@b-peetz.de>2026-11-28 21:33:46 +0100
committerSoispha Peetz <soispha@b-peetz.de>2026-11-28 21:33:46 +0100
commitb5378981acfeb5c2289b45ed617a8ff19074659e (patch)
tree8de3c2653c02642966587afc16627cb45bfa35a3 /crates
parentbuild(flake.nix): Enable the `yt_dlp` package in the devShells python (diff)
downloadyt-1.10.0.zip
chore(version): v1.10.0v1.10.0prime
Diffstat (limited to 'crates')
-rw-r--r--crates/libmpv2/src/tests.rs13
-rw-r--r--crates/yt/tests/_testenv/init.rs12
-rw-r--r--crates/yt_dlp/crates/pyo3-pylogger/Cargo.toml2
3 files changed, 19 insertions, 8 deletions
diff --git a/crates/libmpv2/src/tests.rs b/crates/libmpv2/src/tests.rs
index bcbc8f1..d3787a0 100644
--- a/crates/libmpv2/src/tests.rs
+++ b/crates/libmpv2/src/tests.rs
@@ -234,8 +234,17 @@ fn node_array() -> Result<()> {
let filename = track.get("filename").unwrap();
assert_eq!(
- filename.str().unwrap().chars().rev().take(30).collect::<String>(),
- "test-data/speech_12kbps_mb.wav".chars().rev().collect::<String>()
+ filename
+ .str()
+ .unwrap()
+ .chars()
+ .rev()
+ .take(30)
+ .collect::<String>(),
+ "test-data/speech_12kbps_mb.wav"
+ .chars()
+ .rev()
+ .collect::<String>()
);
Ok(())
diff --git a/crates/yt/tests/_testenv/init.rs b/crates/yt/tests/_testenv/init.rs
index 93b1d4d..1c8107c 100644
--- a/crates/yt/tests/_testenv/init.rs
+++ b/crates/yt/tests/_testenv/init.rs
@@ -10,7 +10,12 @@
// If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
use std::{
- env, fs::{self, OpenOptions, Permissions}, io::{self, Write}, os::unix::fs::PermissionsExt, path::PathBuf, process::Command,
+ env,
+ fs::{self, OpenOptions, Permissions},
+ io::{self, Write},
+ os::unix::fs::PermissionsExt,
+ path::PathBuf,
+ process::Command,
};
use crate::{_testenv::Paths, testenv::TestEnv};
@@ -73,10 +78,7 @@ fn prepare_files_and_dirs(name: &'static str) -> io::Result<Paths> {
fs::create_dir_all(&download_dir)?;
fs::create_dir_all(&runtime)?;
- fs::set_permissions(
- &runtime,
- Permissions::from_mode(0o700),
- )?;
+ fs::set_permissions(&runtime, Permissions::from_mode(0o700))?;
{
let mut config_file = OpenOptions::new()
diff --git a/crates/yt_dlp/crates/pyo3-pylogger/Cargo.toml b/crates/yt_dlp/crates/pyo3-pylogger/Cargo.toml
index 74e0e8f..b39b69f 100644
--- a/crates/yt_dlp/crates/pyo3-pylogger/Cargo.toml
+++ b/crates/yt_dlp/crates/pyo3-pylogger/Cargo.toml
@@ -10,7 +10,7 @@
[package]
name = "pyo3-pylogger"
-version = "1.9.0"
+version = "1.10.0"
edition = "2021"
authors = [
"Dylan Bobby Storey <dylan.storey@gmail.com>",