summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKalev Lember <klember@redhat.com>2023-03-24 15:48:12 +0100
committerKalev Lember <klember@redhat.com>2023-03-24 15:54:57 +0100
commit5db78316922eeb161cc9e68b91bd85460f068091 (patch)
tree810336fc99bbb8ee57d55baa3528ce0d511e408f
parent798b5661c5ff4a6c519d320d25ffa75f1b0508ce (diff)
downloadlibrsvg-5db78316922eeb161cc9e68b91bd85460f068091.tar.gz
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>
-rw-r--r--Cargo.lock2
-rw-r--r--Cargo.toml4
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"