aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2022-10-27 09:14:29 +0200
committerMartin Fischer <martin@push-f.com>2022-10-27 09:17:09 +0200
commit27340b7f24ea367e23ad9e51a50c3c5ec9064d6d (patch)
tree5d4f05cfe45d6abe6de58b2cb4e8705e84460640
parent36e98c1b135f07ef9a5eec046b8f0fd6d93534d4 (diff)
disable unneeded chrono default features
The new chrono version by default pulls in iana-time-zone, which pulls in a bunch of WASM crates we don't need.
-rw-r--r--Cargo.lock22
-rw-r--r--Cargo.toml2
2 files changed, 2 insertions, 22 deletions
diff --git a/Cargo.lock b/Cargo.lock
index c26170b..9a7dfeb 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -67,11 +67,8 @@ version = "0.4.19"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "670ad68c9088c2a963aaa298cb369688cf3f9465ce5e2d4ca10e6e0098a1ce73"
dependencies = [
- "libc",
"num-integer",
"num-traits",
- "time",
- "winapi",
]
[[package]]
@@ -452,7 +449,7 @@ checksum = "57ee1c23c7c63b0c9250c339ffdc69255f110b298b901b9f6c82547b7b87caaf"
dependencies = [
"libc",
"log",
- "wasi 0.11.0+wasi-snapshot-preview1",
+ "wasi",
"windows-sys",
]
@@ -824,17 +821,6 @@ dependencies = [
]
[[package]]
-name = "time"
-version = "0.1.44"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6db9e6914ab8b1ae1c260a4ae7a49b6c5611b40328a735b21862567685e73255"
-dependencies = [
- "libc",
- "wasi 0.10.0+wasi-snapshot-preview1",
- "winapi",
-]
-
-[[package]]
name = "tinyvec"
version = "1.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -990,12 +976,6 @@ dependencies = [
[[package]]
name = "wasi"
-version = "0.10.0+wasi-snapshot-preview1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f"
-
-[[package]]
-name = "wasi"
version = "0.11.0+wasi-snapshot-preview1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
diff --git a/Cargo.toml b/Cargo.toml
index 1c82f4f..6e22549 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -34,7 +34,7 @@ git2 = { version = "0.14", default-features = false }
url = "2.2"
clap = { version = "3.2.15", features = ["derive"] }
-chrono = "0.4"
+chrono = { version = "0.4", features = ["alloc"], default-features = false }
multer = "2.0.3"
mime_guess = "2.0"
camino = "1"