diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-06-16 15:32:28 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-06-16 15:32:28 +0200 |
commit | 3f6ef87fc31581215cb00d56462b35e07b7a1f28 (patch) | |
tree | 714c3e93dd411ab16a98acd85bc57837e3635fd2 | |
parent | chore(version): v1.6.0 (diff) | |
download | yt-3f6ef87fc31581215cb00d56462b35e07b7a1f28.zip |
fix(yt_dlp/): Include the frozen python stdlib
This avoids the dependency on a real std-library (i.e., python3) at runtime.
-rw-r--r-- | Cargo.lock | 2 | ||||
-rw-r--r-- | crates/yt_dlp/Cargo.toml | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock index 2e7b2cc..6aa53ad 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2890,6 +2890,8 @@ version = "0.4.0" source = "git+https://github.com/RustPython/RustPython.git#c968fe0fd9d7466dc9d5d97e973b82ba35e516d8" dependencies = [ "glob", + "rustpython-compiler-core", + "rustpython-derive", ] [[package]] diff --git a/crates/yt_dlp/Cargo.toml b/crates/yt_dlp/Cargo.toml index 81e1412..3eff9a2 100644 --- a/crates/yt_dlp/Cargo.toml +++ b/crates/yt_dlp/Cargo.toml @@ -29,6 +29,7 @@ rustpython = { git = "https://github.com/RustPython/RustPython.git", features = "threading", "stdlib", "stdio", + "freeze-stdlib", "importlib", "ssl", ], default-features = false } |