55 lines
1.8 KiB
Diff
55 lines
1.8 KiB
Diff
|
From 5db78316922eeb161cc9e68b91bd85460f068091 Mon Sep 17 00:00:00 2001
|
||
|
From: Kalev Lember <klember@redhat.com>
|
||
|
Date: Fri, 24 Mar 2023 15:48:12 +0100
|
||
|
Subject: [PATCH] Remove unused chrono wasmbind feature
|
||
|
|
||
|
This helps with building librsvg on Fedora where the rust-chrono package
|
||
|
is built with the wasmbind feature disabled.
|
||
|
|
||
|
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/819>
|
||
|
---
|
||
|
Cargo.lock | 2 --
|
||
|
Cargo.toml | 4 ++--
|
||
|
2 files changed, 2 insertions(+), 4 deletions(-)
|
||
|
|
||
|
diff --git a/Cargo.lock b/Cargo.lock
|
||
|
index d962869f..f1d6821a 100644
|
||
|
--- a/Cargo.lock
|
||
|
+++ b/Cargo.lock
|
||
|
@@ -207,10 +207,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
||
|
checksum = "4e3c5919066adf22df73762e50cffcde3a758f2a848b113b586d1f86728b673b"
|
||
|
dependencies = [
|
||
|
"iana-time-zone",
|
||
|
- "js-sys",
|
||
|
"num-integer",
|
||
|
"num-traits",
|
||
|
- "wasm-bindgen",
|
||
|
"winapi",
|
||
|
]
|
||
|
|
||
|
diff --git a/Cargo.toml b/Cargo.toml
|
||
|
index d9e066d4..a53470d4 100644
|
||
|
--- a/Cargo.toml
|
||
|
+++ b/Cargo.toml
|
||
|
@@ -55,7 +55,7 @@ anyhow = "1.0"
|
||
|
byteorder = "1.4"
|
||
|
cairo-rs = { version = "0.17", features=["v1_16", "png", "pdf", "ps", "svg"] }
|
||
|
cast = "0.3.0"
|
||
|
-chrono = { version = "0.4.23", default-features = false, features = ["clock", "std", "wasmbind"] } # rsvg-convert
|
||
|
+chrono = { version = "0.4.23", default-features = false, features = ["clock", "std"] } # rsvg-convert
|
||
|
clap = { version = "4.0.17", features = ["cargo", "derive"] } # rsvg-convert
|
||
|
clap_complete = "4.0.5" # rsvg-convert
|
||
|
cssparser = "0.29.0"
|
||
|
@@ -91,7 +91,7 @@ anyhow = "1.0"
|
||
|
assert_cmd = "2.0.2"
|
||
|
cairo-rs = { version = "0.17", features = ["png"] }
|
||
|
cast = "0.3.0"
|
||
|
-chrono = { version = "0.4.23", default-features = false, features = ["clock", "std", "wasmbind"] }
|
||
|
+chrono = { version = "0.4.23", default-features = false, features = ["clock", "std"] }
|
||
|
criterion = "0.4"
|
||
|
glib = "0.17"
|
||
|
libc = "0.2"
|
||
|
--
|
||
|
2.39.2
|
||
|
|