Skip to content

The animation engine for agents: blazingly fast math and 3D videos with Manim's Python API, on a Rust GPU core.

Python

Bump the Rust group, with bincode held at 1.3

Sina Atalay6f8a6544de94
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index 1b6472f2..9930194e 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -31,6 +31,11 @@ updates:
groups:
rust:
patterns: ["*"]
+ # bincode 3.0.0 is no release, but one line, compile_error!, published when its maintainers
+ # stopped, so bincode stays on 1.3
+ ignore:
+ - dependency-name: bincode
+ update-types: ["version-update:semver-major"]
- package-ecosystem: pre-commit
directory: /
diff --git a/LICENSE-THIRD-PARTY b/LICENSE-THIRD-PARTY
index e214242e..b12e6f85 100644
--- a/LICENSE-THIRD-PARTY
+++ b/LICENSE-THIRD-PARTY
@@ -486,7 +486,7 @@ semver 1.0.28 (MIT OR Apache-2.0): LICENSE-MIT
serde 1.0.229 (MIT OR Apache-2.0): LICENSE-MIT
serde_core 1.0.229 (MIT OR Apache-2.0): LICENSE-MIT
serde_derive 1.0.229 (MIT OR Apache-2.0): LICENSE-MIT
-serde_json 1.0.151 (MIT OR Apache-2.0): LICENSE-MIT
+serde_json 1.0.154 (MIT OR Apache-2.0): LICENSE-MIT
serde_path_to_error 0.1.20 (MIT OR Apache-2.0): LICENSE-MIT
serde_yaml 0.9.34+deprecated (MIT OR Apache-2.0): LICENSE-MIT
smol_str 0.2.2 (MIT OR Apache-2.0): LICENSE-MIT
@@ -991,7 +991,7 @@ comemo 0.5.1 (MIT OR Apache-2.0): LICENSE-APACHE
ecow 0.2.6 (MIT OR Apache-2.0): LICENSE-APACHE
hypher 0.1.8 (MIT OR Apache-2.0): LICENSE-APACHE
itoa 1.0.18 (MIT OR Apache-2.0): LICENSE-APACHE
-libc 0.2.189 (MIT OR Apache-2.0): LICENSE-APACHE
+libc 0.2.190 (MIT OR Apache-2.0): LICENSE-APACHE
litrs 1.0.0 (MIT OR Apache-2.0): LICENSE-APACHE
mach2 0.6.0 (BSD-2-Clause OR MIT OR Apache-2.0): LICENSE-APACHE
mitex-spec-gen 0.2.7 (MIT AND Apache-2.0): LICENSE
@@ -1004,7 +1004,7 @@ semver 1.0.28 (MIT OR Apache-2.0): LICENSE-APACHE
serde 1.0.229 (MIT OR Apache-2.0): LICENSE-APACHE
serde_core 1.0.229 (MIT OR Apache-2.0): LICENSE-APACHE
serde_derive 1.0.229 (MIT OR Apache-2.0): LICENSE-APACHE
-serde_json 1.0.151 (MIT OR Apache-2.0): LICENSE-APACHE
+serde_json 1.0.154 (MIT OR Apache-2.0): LICENSE-APACHE
serde_path_to_error 0.1.20 (MIT OR Apache-2.0): LICENSE-APACHE
serde_yaml 0.9.34+deprecated (MIT OR Apache-2.0): LICENSE-APACHE
syn 2.0.119 (MIT OR Apache-2.0): LICENSE-APACHE
@@ -4235,6 +4235,7 @@ SOFTWARE.
===============================================================================
dirs 6.0.0 (MIT OR Apache-2.0): LICENSE-APACHE
+dirs 7.0.0 (MIT OR Apache-2.0): LICENSE-APACHE
dirs-sys 0.5.0 (MIT OR Apache-2.0): LICENSE-APACHE
-------------------------------------------------------------------------------
Apache License
@@ -4414,6 +4415,7 @@ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
===============================================================================
dirs 6.0.0 (MIT OR Apache-2.0): LICENSE-MIT
+dirs 7.0.0 (MIT OR Apache-2.0): LICENSE-MIT
dirs-sys 0.5.0 (MIT OR Apache-2.0): LICENSE-MIT
-------------------------------------------------------------------------------
Copyright (c) 2018-2019 dirs-rs contributors
@@ -7227,7 +7229,7 @@ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
===============================================================================
-libc 0.2.189 (MIT OR Apache-2.0): LICENSE-MIT
+libc 0.2.190 (MIT OR Apache-2.0): LICENSE-MIT
-------------------------------------------------------------------------------
Copyright (c) The Rust Project Developers
@@ -10374,10 +10376,10 @@ The above copyright notice and this permission notice shall be included in all c
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
===============================================================================
-pyo3 0.29.2 (MIT OR Apache-2.0): LICENSE-APACHE
-pyo3-ffi 0.29.2 (MIT OR Apache-2.0): LICENSE-APACHE
-pyo3-macros 0.29.2 (MIT OR Apache-2.0): LICENSE-APACHE
-pyo3-macros-backend 0.29.2 (MIT OR Apache-2.0): LICENSE-APACHE
+pyo3 0.29.3 (MIT OR Apache-2.0): LICENSE-APACHE
+pyo3-ffi 0.29.3 (MIT OR Apache-2.0): LICENSE-APACHE
+pyo3-macros 0.29.3 (MIT OR Apache-2.0): LICENSE-APACHE
+pyo3-macros-backend 0.29.3 (MIT OR Apache-2.0): LICENSE-APACHE
-------------------------------------------------------------------------------
Copyright (c) 2017-present PyO3 Project and Contributors. https://github.com/PyO3
@@ -10559,10 +10561,10 @@ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
END OF TERMS AND CONDITIONS
===============================================================================
-pyo3 0.29.2 (MIT OR Apache-2.0): LICENSE-MIT
-pyo3-ffi 0.29.2 (MIT OR Apache-2.0): LICENSE-MIT
-pyo3-macros 0.29.2 (MIT OR Apache-2.0): LICENSE-MIT
-pyo3-macros-backend 0.29.2 (MIT OR Apache-2.0): LICENSE-MIT
+pyo3 0.29.3 (MIT OR Apache-2.0): LICENSE-MIT
+pyo3-ffi 0.29.3 (MIT OR Apache-2.0): LICENSE-MIT
+pyo3-macros 0.29.3 (MIT OR Apache-2.0): LICENSE-MIT
+pyo3-macros-backend 0.29.3 (MIT OR Apache-2.0): LICENSE-MIT
-------------------------------------------------------------------------------
Copyright (c) 2023-present PyO3 Project and Contributors. https://github.com/PyO3
@@ -11269,7 +11271,7 @@ is licensed under:
at your option.
===============================================================================
-rusty_aac 0.5.0 (Apache-2.0): LICENSE
+rusty_aac 1.1.0 (Apache-2.0): LICENSE
-------------------------------------------------------------------------------
Apache License
Version 2.0, January 2004
@@ -11500,7 +11502,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
===============================================================================
-ruzstd 0.9.0 (MIT): LICENSE
+ruzstd 0.9.1 (MIT): LICENSE
-------------------------------------------------------------------------------
MIT License
@@ -15973,9 +15975,9 @@ freely, subject to the following restrictions:
3. This notice may not be removed or altered from any source distribution.
===============================================================================
-zstd 0.14.0 (BSD-3-Clause): LICENSE
-zstd-safe 8.0.0 (BSD-3-Clause): LICENSE
-zstd-sys 2.1.0+zstd.1.5.7 (BSD-3-Clause): LICENSE
+zstd 0.14.2 (BSD-3-Clause): LICENSE
+zstd-safe 8.2.0 (BSD-3-Clause): LICENSE
+zstd-sys 2.1.2+zstd.1.5.7 (BSD-3-Clause): LICENSE
-------------------------------------------------------------------------------
BSD 3-Clause License
@@ -16007,7 +16009,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
===============================================================================
-zstd-sys 2.1.0+zstd.1.5.7 (BSD-3-Clause): LICENSE.BSD-3-Clause
+zstd-sys 2.1.2+zstd.1.5.7 (BSD-3-Clause): LICENSE.BSD-3-Clause
-------------------------------------------------------------------------------
The auto-generated bindings are under the 3-clause BSD license:
diff --git a/rust/Cargo.lock b/rust/Cargo.lock
index 8bdf567f..e59c3717 100644
--- a/rust/Cargo.lock
+++ b/rust/Cargo.lock
@@ -424,9 +424,9 @@ checksum = "37b2a672a2cb129a2e41c10b1224bb368f9f37a2b16b612598138befd7b37eb5"
[[package]]
name = "cc"
-version = "1.5.1"
+version = "1.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f360145194ee8e21db5ee7f3fcd4fe52210864c75c985dae33218202c8bbe040"
+checksum = "6651c9ed80effdc7db0ff72512157f901af5e3549e341e24b1dd4887d836d838"
dependencies = [
"find-msvc-tools",
"jobserver",
@@ -827,6 +827,15 @@ dependencies = [
"dirs-sys",
]
+[[package]]
+name = "dirs"
+version = "7.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8d57d423b3c82e89b9a24ca3091fee61f456a26edbd28d26c65906f4bc1dcd8f"
+dependencies = [
+ "dirs-sys",
+]
+
[[package]]
name = "dirs-sys"
version = "0.5.0"
@@ -1922,9 +1931,9 @@ checksum = "09edd9e8b54e49e587e4f6295a7d29c3ea94d469cb40ab8ca70b288248a81db2"
[[package]]
name = "libc"
-version = "0.2.189"
+version = "0.2.190"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3eaf3ede3fee6db1a4c2ee091bf8a8b4dccdc6d17f656fb07896ee72867612f2"
+checksum = "ce5d3ddc6d3fa000eb1536d85e147bfe31aacaba692ed6a876f95cb7c855be78"
[[package]]
name = "libloading"
@@ -2066,7 +2075,7 @@ dependencies = [
"bytemuck",
"console_error_panic_hook",
"cpal",
- "dirs",
+ "dirs 7.0.0",
"dxc",
"ffmpeg",
"js-sys",
@@ -2309,6 +2318,18 @@ dependencies = [
"jni-sys 0.3.1",
]
+[[package]]
+name = "nix"
+version = "0.31.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cf20d2fde8ff38632c426f1165ed7436270b44f199fc55284c38276f9db47c3d"
+dependencies = [
+ "bitflags 2.13.2",
+ "cfg-if",
+ "cfg_aliases",
+ "libc",
+]
+
[[package]]
name = "nu-ansi-term"
version = "0.50.3"
@@ -3135,9 +3156,9 @@ checksum = "d55d956fa96f5ec02be2e13af0e20391a5aa83d6a074e3ad368959d0fab299ea"
[[package]]
name = "pyo3"
-version = "0.29.2"
+version = "0.29.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4688ddedf473e32662b9b067670129a8afb8c18e351482c70d62ba4a88171e8b"
+checksum = "700d18fa267b73b9b521fd7e13580e2f446916f176cacee1ab63fcc8191f1655"
dependencies = [
"libc",
"once_cell",
@@ -3149,18 +3170,18 @@ dependencies = [
[[package]]
name = "pyo3-build-config"
-version = "0.29.2"
+version = "0.29.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f41027e41b4bd03f6e60f9f417fe24a6341a6bb744edd62b6f709f2a52ea30e9"
+checksum = "7b3fc0c4d08f6bb10e71fe39dfb9e2f59c6eb6854e22ec8092f50c69a4499adb"
dependencies = [
"target-lexicon",
]
[[package]]
name = "pyo3-ffi"
-version = "0.29.2"
+version = "0.29.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e591a95526fead067432c3b3a33fc74770b87b1e04e73671090d9c2055a2b327"
+checksum = "dfc0b8e19df29aad7086cf977bb0c2a2f143e30567eb113e9cf72b62ca698330"
dependencies = [
"libc",
"pyo3-build-config",
@@ -3168,9 +3189,9 @@ dependencies = [
[[package]]
name = "pyo3-macros"
-version = "0.29.2"
+version = "0.29.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "73225868fc1cd84eef2c3c230ddb91273bf1de46aeb8a4248da76d32a0924a1c"
+checksum = "6100e8a4b5eba53afaa5ed078364851a0b2499c553a44c31026b929049b49dc6"
dependencies = [
"proc-macro2",
"pyo3-macros-backend",
@@ -3180,9 +3201,9 @@ dependencies = [
[[package]]
name = "pyo3-macros-backend"
-version = "0.29.2"
+version = "0.29.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "571575aa3749fa6216757dd47d2a3e7ef360f329a40f0666a9fbd14889024952"
+checksum = "6143877a16e82b5a727b7127ff4cd86858a24a28d745d72f43e6f227c7b1bdb3"
dependencies = [
"heck",
"proc-macro2",
@@ -3545,9 +3566,9 @@ checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f"
[[package]]
name = "rusty_aac"
-version = "0.5.0"
+version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b7ab980ffb66a559565d09dd6727ff2da7d2a39d2e8b6149e48af6908caa99b5"
+checksum = "be358888c3ae0cc16d17f50c76b76d8ce903845a97413559cecf38db1ca9c62d"
[[package]]
name = "rustybuzz"
@@ -3569,9 +3590,9 @@ dependencies = [
[[package]]
name = "ruzstd"
-version = "0.9.0"
+version = "0.9.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a252f5e20f038fe7b4ea53e073e65398d652c864cc162fc77c56c2f13717b888"
+checksum = "69e4ce4a039f42bf25920b95667e4d789e98749ab11bbb8d2c2936f788421bb5"
dependencies = [
"twox-hash",
]
@@ -3660,9 +3681,9 @@ dependencies = [
[[package]]
name = "serde_json"
-version = "1.0.151"
+version = "1.0.154"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c841b55ecdae098c80dcae9cf767f6f8a0c2cdb3416bbef72181df4d0fe73f14"
+checksum = "e7e9cc8b1b85264074fbcc02a88680c4096b1e47df8f739dceb03bf482f04bd6"
dependencies = [
"itoa",
"memchr",
@@ -3706,9 +3727,9 @@ dependencies = [
[[package]]
name = "sha2"
-version = "0.11.0"
+version = "0.11.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "446ba717509524cb3f22f17ecc096f10f4822d76ab5c0b9822c5f9c284e825f4"
+checksum = "47d7069beb7d6ac7b9acd1039986e73443f24234f41074da099d6f994ac9ad19"
dependencies = [
"cfg-if",
"cpufeatures",
@@ -4347,7 +4368,7 @@ version = "0.15.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "27ee52e27dfab0da5ac3d19e7e43a21fbc7ff83af9301119468bae89fa857a8b"
dependencies = [
- "dirs",
+ "dirs 6.0.0",
"ecow",
"fontdb",
"once_cell",
@@ -5859,14 +5880,15 @@ dependencies = [
[[package]]
name = "zip"
-version = "8.6.0"
+version = "9.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2d04a6b5381502aa6087c94c669499eb1602eb9c5e8198e534de571f7154809b"
+checksum = "9e2fc56a6707efb066c40aead2409ebb1224e6dde24a074e9fbc78ced500507b"
dependencies = [
"crc32fast",
"flate2",
"indexmap",
"memchr",
+ "nix",
"typed-path",
]
@@ -5884,27 +5906,27 @@ checksum = "29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b"
[[package]]
name = "zstd"
-version = "0.14.0"
+version = "0.14.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bf06bd8162af0734b344780deb55b42a2429ae430870d13fcc12f238e880fe6e"
+checksum = "057cfd910cfac363a0ada849592624b4c9ff2e10bef504c3433810d78ed96f93"
dependencies = [
"zstd-safe",
]
[[package]]
name = "zstd-safe"
-version = "8.0.0"
+version = "8.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ae42c0555055784c70058d19ba8e275528e8a99a706684868ace5da4e716a4ab"
+checksum = "ded520f16b29e1a9b771c722221b2b0a0398c2316d9bb3c42b458a5414d7434b"
dependencies = [
"zstd-sys",
]
[[package]]
name = "zstd-sys"
-version = "2.1.0+zstd.1.5.7"
+version = "2.1.2+zstd.1.5.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0ef0a8027ec3ee71300ab3bcbcd0393f434aa72b91ca6d635a39941deae8eea0"
+checksum = "481ada9c543b2323cbb7bbdbb5249177fbf0188ed959ed2c15e4b22421c84ed3"
dependencies = [
"cc",
"pkg-config",
diff --git a/rust/dxc/Cargo.toml b/rust/dxc/Cargo.toml
index 026c5124..8a6808f9 100644
--- a/rust/dxc/Cargo.toml
+++ b/rust/dxc/Cargo.toml
@@ -8,7 +8,7 @@ description = "The pinned DirectX shader compiler resource for Windows wheels an
[dependencies]
fetch = { path = "../fetch" }
-zip = { version = "8.6", default-features = false, features = ["deflate-flate2-zlib-rs"] }
+zip = { version = "9.0", default-features = false, features = ["deflate-flate2-zlib-rs"] }
[dev-dependencies]
tempfile = "3.27.0"
diff --git a/rust/engine/Cargo.toml b/rust/engine/Cargo.toml
index 1a469027..0f6a1f49 100644
--- a/rust/engine/Cargo.toml
+++ b/rust/engine/Cargo.toml
@@ -39,8 +39,8 @@ ttf-parser = { version = "0.25.1", optional = true } # glyph outlines and ligat
unicode-segmentation = { version = "1.12", optional = true } # graphemes: the characters a ligature's colors divide
bincode = { version = "1.3", optional = true } # the system fonts' scan, cached on disk
memmap2 = { version = "0.9", optional = true } # system fonts mapped, not read whole (a CJK font is 60 MB)
-dirs = { version = "6", optional = true } # the current user's cache directory
-rusty_aac = { version = "0.5.0", optional = true } # sound out: AAC-LC in pure Rust (src/aac.rs)
+dirs = { version = "7", optional = true } # the current user's cache directory
+rusty_aac = { version = "1.1.0", optional = true } # sound out: AAC-LC in pure Rust (src/aac.rs)
# sound in: the common audio files decoded by FFmpeg, built from its source (src/audio.rs)
ffmpeg = { path = "../ffmpeg", optional = true }
# LaTeX → Typst, natively; its command spec is made from mitex's package, which Typst reads