From bf42a5bff87691d175a866f45e0fc38ad3911df2 Mon Sep 17 00:00:00 2001 From: Dave Patrick Caberto Date: Fri, 16 Feb 2024 11:14:58 +0800 Subject: [PATCH] build(cargo): drop unused dep --- Cargo.lock | 12 ------------ Cargo.toml | 2 +- 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2a70c6c0..9e85a35a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1116,17 +1116,6 @@ dependencies = [ "winapi", ] -[[package]] -name = "num-bigint" -version = "0.4.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "608e7659b5c3d7cba262d894801b9ec9d00de989e8a82bd4bef91d08da45cdc0" -dependencies = [ - "autocfg", - "num-integer", - "num-traits", -] - [[package]] name = "num-derive" version = "0.3.3" @@ -1154,7 +1143,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0638a1c9d0a3c0914158145bc76cff373a75a627e6ecbfb71cbe6f453a5a19b0" dependencies = [ "autocfg", - "num-bigint", "num-integer", "num-traits", ] diff --git a/Cargo.toml b/Cargo.toml index 695ecb27..268cff54 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,7 +21,7 @@ gst = { package = "gstreamer", version = "0.22" } gst-plugin-gif = "0.12" gst-plugin-gtk4 = { version = "0.12", features = ["gtk_v4_14"] } gtk = { package = "gtk4", version = "0.8", features = ["v4_14"] } -num-rational = "0.4" +num-rational = { version = "0.4", default-features = false } num-traits = "0.2" once_cell = "1.19.0" pulse = { package = "libpulse-binding", version = "2.26.0" }