Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Add Loading and Fallback States to Image Elements (via StyledImage) (#20371)

Mikayla Maki516f7b364213
diff --git a/Cargo.lock b/Cargo.lock
index ff5d7540d97..440002cb249 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -10,7 +10,7 @@ dependencies = [
"auto_update",
"editor",
"extension_host",
- "futures 0.3.30",
+ "futures 0.3.31",
"gpui",
"language",
"lsp",
@@ -23,19 +23,13 @@ dependencies = [
[[package]]
name = "addr2line"
-version = "0.24.1"
+version = "0.24.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f5fb1d8e4442bd405fdfd1dacb42792696b0cf9cb15882e5d097b742a676d375"
+checksum = "dfbe277e56a376000877090da837660b4427aad530e3028d44e0bffe4f89a1c1"
dependencies = [
- "gimli 0.31.0",
+ "gimli 0.31.1",
]
-[[package]]
-name = "adler"
-version = "1.0.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe"
-
[[package]]
name = "adler2"
version = "2.0.0"
@@ -100,8 +94,8 @@ dependencies = [
"miow",
"parking_lot",
"piper",
- "polling 3.7.3",
- "regex-automata 0.4.7",
+ "polling 3.7.4",
+ "regex-automata 0.4.9",
"rustix-openpty",
"serde",
"signal-hook",
@@ -124,9 +118,9 @@ checksum = "4aa90d7ce82d4be67b64039a3d588d38dbcc6736577de4a847025ce5b0c468d1"
[[package]]
name = "allocator-api2"
-version = "0.2.18"
+version = "0.2.20"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5c6cb57a04249c6480766f7f7cef5467412af1490f8d1e243141daddada3264f"
+checksum = "45862d1c77f2228b9e10bc609d5bc203d86ebc9b87ad8d5d5167a6c9abf739d9"
[[package]]
name = "alsa"
@@ -192,9 +186,9 @@ checksum = "4b46cbb362ab8752921c97e041f5e366ee6297bd428a31275b9fcf1e380f7299"
[[package]]
name = "anstream"
-version = "0.6.15"
+version = "0.6.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "64e15c1ab1f89faffbf04a634d5e1962e9074f2741eef6d97f3c4e322426d526"
+checksum = "8acc5369981196006228e28809f761875c0327210a891e941f4c683b3a99529b"
dependencies = [
"anstyle",
"anstyle-parse",
@@ -207,36 +201,36 @@ dependencies = [
[[package]]
name = "anstyle"
-version = "1.0.8"
+version = "1.0.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1bec1de6f59aedf83baf9ff929c98f2ad654b97c9510f4e70cf6f661d49fd5b1"
+checksum = "55cc3b69f167a1ef2e161439aa98aed94e6028e5f9a59be9a6ffb47aef1651f9"
[[package]]
name = "anstyle-parse"
-version = "0.2.5"
+version = "0.2.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "eb47de1e80c2b463c735db5b217a0ddc39d612e7ac9e2e96a5aed1f57616c1cb"
+checksum = "3b2d16507662817a6a20a9ea92df6652ee4f94f914589377d69f3b21bc5798a9"
dependencies = [
"utf8parse",
]
[[package]]
name = "anstyle-query"
-version = "1.1.1"
+version = "1.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6d36fc52c7f6c869915e99412912f22093507da8d9e942ceaf66fe4b7c14422a"
+checksum = "79947af37f4177cfead1110013d678905c37501914fba0efea834c3fe9a8d60c"
dependencies = [
- "windows-sys 0.52.0",
+ "windows-sys 0.59.0",
]
[[package]]
name = "anstyle-wincon"
-version = "3.0.4"
+version = "3.0.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5bf74e1b6e971609db8ca7a9ce79fd5768ab6ae46441c572e46cf596f59e57f8"
+checksum = "2109dbce0e72be3ec00bed26e6a7479ca384ad226efdd66db8fa2e3a38c83125"
dependencies = [
"anstyle",
- "windows-sys 0.52.0",
+ "windows-sys 0.59.0",
]
[[package]]
@@ -245,13 +239,13 @@ version = "0.1.0"
dependencies = [
"anyhow",
"chrono",
- "futures 0.3.30",
+ "futures 0.3.31",
"http_client",
"schemars",
"serde",
"serde_json",
"strum 0.25.0",
- "thiserror",
+ "thiserror 1.0.69",
"util",
]
@@ -278,9 +272,9 @@ dependencies = [
[[package]]
name = "arbitrary"
-version = "1.3.2"
+version = "1.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7d5a26814d8dcb93b0e5a0ff3c6d80a8843bafb21b39e8e18a6f05471870e110"
+checksum = "dde20b3d026af13f561bdd0f15edf01fc734f0dafcedbaf42bba506a9517f223"
[[package]]
name = "arg_enum_proc_macro"
@@ -301,9 +295,9 @@ checksum = "7d902e3d592a523def97af8f317b08ce16b7ab854c1985a0c671e6f15cebc236"
[[package]]
name = "arrayref"
-version = "0.3.8"
+version = "0.3.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9d151e35f61089500b617991b791fc8bfd237ae50cd5950803758a179b41e67a"
+checksum = "76a2e8124351fda1ef8aaaa3bbd7ebbcb486bbcd4225aca0aa0d84bb2db8fecb"
[[package]]
name = "arrayvec"
@@ -396,7 +390,7 @@ dependencies = [
"env_logger 0.11.5",
"feature_flags",
"fs",
- "futures 0.3.30",
+ "futures 0.3.31",
"fuzzy",
"globset",
"gpui",
@@ -463,7 +457,7 @@ dependencies = [
"collections",
"derive_more",
"extension",
- "futures 0.3.30",
+ "futures 0.3.31",
"gpui",
"language",
"language_model",
@@ -573,14 +567,14 @@ dependencies = [
[[package]]
name = "async-executor"
-version = "1.13.0"
+version = "1.13.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d7ebdfa2ebdab6b1760375fa7d6f382b9f486eac35fc994625a00e89280bdbb7"
+checksum = "30ca9a001c1e8ba5149f91a74362376cc6bc5b919d92d988668657bd570bdcec"
dependencies = [
"async-task",
"concurrent-queue",
- "fastrand 2.1.1",
- "futures-lite 2.3.0",
+ "fastrand 2.2.0",
+ "futures-lite 2.5.0",
"slab",
]
@@ -604,7 +598,7 @@ checksum = "ebcd09b382f40fcd159c2d695175b2ae620ffa5f3bd6f664131efff4e8b9e04a"
dependencies = [
"async-lock 3.4.0",
"blocking",
- "futures-lite 2.3.0",
+ "futures-lite 2.5.0",
]
[[package]]
@@ -615,10 +609,10 @@ checksum = "05b1b633a2115cd122d73b955eadd9916c18c8f510ec9cd1686404c60ad1c29c"
dependencies = [
"async-channel 2.3.1",
"async-executor",
- "async-io 2.3.4",
+ "async-io 2.4.0",
"async-lock 3.4.0",
"blocking",
- "futures-lite 2.3.0",
+ "futures-lite 2.5.0",
"once_cell",
]
@@ -644,18 +638,18 @@ dependencies = [
[[package]]
name = "async-io"
-version = "2.3.4"
+version = "2.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "444b0228950ee6501b3568d3c93bf1176a1fdbc3b758dcd9475046d30f4dc7e8"
+checksum = "43a2b323ccce0a1d90b449fd71f2a06ca7faa7c54c2751f06c9bd851fc061059"
dependencies = [
"async-lock 3.4.0",
"cfg-if",
"concurrent-queue",
"futures-io",
- "futures-lite 2.3.0",
+ "futures-lite 2.5.0",
"parking",
- "polling 3.7.3",
- "rustix 0.38.35",
+ "polling 3.7.4",
+ "rustix 0.38.40",
"slab",
"tracing",
"windows-sys 0.59.0",
@@ -689,7 +683,7 @@ checksum = "9343dc5acf07e79ff82d0c37899f079db3534d99f189a1837c8e549c99405bec"
dependencies = [
"futures-util",
"native-tls",
- "thiserror",
+ "thiserror 1.0.69",
"url",
]
@@ -710,9 +704,9 @@ version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b948000fad4873c1c9339d60f2623323a0cfd3816e5181033c6a5cb68b2accf7"
dependencies = [
- "async-io 2.3.4",
+ "async-io 2.4.0",
"blocking",
- "futures-lite 2.3.0",
+ "futures-lite 2.5.0",
]
[[package]]
@@ -720,7 +714,7 @@ name = "async-pipe"
version = "0.1.3"
source = "git+https://github.com/zed-industries/async-pipe-rs?rev=82d00a04211cf4e1236029aa03e6b6ce2a74c553#82d00a04211cf4e1236029aa03e6b6ce2a74c553"
dependencies = [
- "futures 0.3.30",
+ "futures 0.3.31",
"log",
]
@@ -737,28 +731,27 @@ dependencies = [
"cfg-if",
"event-listener 3.1.0",
"futures-lite 1.13.0",
- "rustix 0.38.35",
+ "rustix 0.38.40",
"windows-sys 0.48.0",
]
[[package]]
name = "async-process"
-version = "2.2.4"
+version = "2.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a8a07789659a4d385b79b18b9127fc27e1a59e1e89117c78c5ea3b806f016374"
+checksum = "63255f1dc2381611000436537bbedfe83183faa303a5a0edaf191edef06526bb"
dependencies = [
"async-channel 2.3.1",
- "async-io 2.3.4",
+ "async-io 2.4.0",
"async-lock 3.4.0",
"async-signal",
"async-task",
"blocking",
"cfg-if",
"event-listener 5.3.1",
- "futures-lite 2.3.0",
- "rustix 0.38.35",
+ "futures-lite 2.5.0",
+ "rustix 0.38.40",
"tracing",
- "windows-sys 0.59.0",
]
[[package]]
@@ -789,13 +782,13 @@ version = "0.2.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "637e00349800c0bdf8bfc21ebbc0b6524abea702b0da4168ac00d070d0c0b9f3"
dependencies = [
- "async-io 2.3.4",
+ "async-io 2.4.0",
"async-lock 3.4.0",
"atomic-waker",
"cfg-if",
"futures-core",
"futures-io",
- "rustix 0.38.35",
+ "rustix 0.38.40",
"signal-hook-registry",
"slab",
"windows-sys 0.59.0",
@@ -803,21 +796,21 @@ dependencies = [
[[package]]
name = "async-std"
-version = "1.12.0"
+version = "1.13.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "62565bb4402e926b29953c785397c6dc0391b7b446e45008b0049eb43cec6f5d"
+checksum = "c634475f29802fde2b8f0b505b1bd00dfe4df7d4a000f0b36f7671197d5c3615"
dependencies = [
"async-attributes",
"async-channel 1.9.0",
"async-global-executor",
- "async-io 1.13.0",
- "async-lock 2.8.0",
- "async-process 1.8.1",
+ "async-io 2.4.0",
+ "async-lock 3.4.0",
+ "async-process 2.3.0",
"crossbeam-utils",
"futures-channel",
"futures-core",
"futures-io",
- "futures-lite 1.13.0",
+ "futures-lite 2.5.0",
"gloo-timers",
"kv-log-macro",
"log",
@@ -831,9 +824,9 @@ dependencies = [
[[package]]
name = "async-stream"
-version = "0.3.5"
+version = "0.3.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cd56dd203fef61ac097dd65721a419ddccb106b2d2b70ba60a6b529f03961a51"
+checksum = "0b5a71a6f37880a80d1d7f19efd781e4b5de42c88f0722cc13bcb6cc2cfe8476"
dependencies = [
"async-stream-impl",
"futures-core",
@@ -842,9 +835,9 @@ dependencies = [
[[package]]
name = "async-stream-impl"
-version = "0.3.5"
+version = "0.3.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "16e62a023e7c117e27523144c5d2459f4397fcc3cab0085af8e2224f643a0193"
+checksum = "c7c24de15d275a1ecfd47a380fb4d5ec9bfe0933f309ed5e705b775596a3574d"
dependencies = [
"proc-macro2",
"quote",
@@ -867,7 +860,7 @@ dependencies = [
"serde_qs 0.10.1",
"smart-default",
"smol_str",
- "thiserror",
+ "thiserror 1.0.69",
"tokio",
]
@@ -963,9 +956,9 @@ checksum = "00b9f7252833d5ed4b00aa9604b563529dd5e11de9c23615de2dcdf91eb87b52"
dependencies = [
"async-compression",
"crc32fast",
- "futures-lite 2.3.0",
+ "futures-lite 2.5.0",
"pin-project",
- "thiserror",
+ "thiserror 1.0.69",
]
[[package]]
@@ -974,7 +967,7 @@ version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a860072022177f903e59730004fb5dc13db9275b79bb2aef7ba8ce831956c233"
dependencies = [
- "bytes 1.7.2",
+ "bytes 1.8.0",
"futures-sink",
"futures-util",
"memchr",
@@ -1044,9 +1037,9 @@ dependencies = [
[[package]]
name = "autocfg"
-version = "1.3.0"
+version = "1.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0"
+checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26"
[[package]]
name = "av1-grain"
@@ -1064,18 +1057,18 @@ dependencies = [
[[package]]
name = "avif-serialize"
-version = "0.8.1"
+version = "0.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "876c75a42f6364451a033496a14c44bffe41f5f4a8236f697391f11024e596d2"
+checksum = "e335041290c43101ca215eed6f43ec437eb5a42125573f600fc3fa42b9bddd62"
dependencies = [
"arrayvec",
]
[[package]]
name = "aws-config"
-version = "1.5.5"
+version = "1.5.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4e95816a168520d72c0e7680c405a5a8c1fb6a035b4bc4b9d7b0de8e1a941697"
+checksum = "9b49afaa341e8dd8577e1a2200468f98956d6eda50bcf4a53246cc00174ba924"
dependencies = [
"aws-credential-types",
"aws-runtime",
@@ -1089,8 +1082,8 @@ dependencies = [
"aws-smithy-runtime-api",
"aws-smithy-types",
"aws-types",
- "bytes 1.7.2",
- "fastrand 2.1.1",
+ "bytes 1.8.0",
+ "fastrand 2.2.0",
"hex",
"http 0.2.12",
"ring",
@@ -1128,8 +1121,8 @@ dependencies = [
"aws-smithy-runtime-api",
"aws-smithy-types",
"aws-types",
- "bytes 1.7.2",
- "fastrand 2.1.1",
+ "bytes 1.8.0",
+ "fastrand 2.2.0",
"http 0.2.12",
"http-body 0.4.6",
"once_cell",
@@ -1154,7 +1147,7 @@ dependencies = [
"aws-smithy-runtime-api",
"aws-smithy-types",
"aws-types",
- "bytes 1.7.2",
+ "bytes 1.8.0",
"http 0.2.12",
"once_cell",
"regex-lite",
@@ -1163,11 +1156,10 @@ dependencies = [
[[package]]
name = "aws-sdk-s3"
-version = "1.47.0"
+version = "1.61.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cca49303c05d2a740b8a4552fac63a4db6ead84f7e7eeed04761fd3014c26f25"
+checksum = "0e531658a0397d22365dfe26c3e1c0c8448bf6a3a2d8a098ded802f2b1261615"
dependencies = [
- "ahash 0.8.11",
"aws-credential-types",
"aws-runtime",
"aws-sigv4",
@@ -1181,8 +1173,8 @@ dependencies = [
"aws-smithy-types",
"aws-smithy-xml",
"aws-types",
- "bytes 1.7.2",
- "fastrand 2.1.1",
+ "bytes 1.8.0",
+ "fastrand 2.2.0",
"hex",
"hmac",
"http 0.2.12",
@@ -1198,9 +1190,9 @@ dependencies = [
[[package]]
name = "aws-sdk-sso"
-version = "1.40.0"
+version = "1.49.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e5879bec6e74b648ce12f6085e7245417bc5f6d672781028384d2e494be3eb6d"
+checksum = "09677244a9da92172c8dc60109b4a9658597d4d298b188dd0018b6a66b410ca4"
dependencies = [
"aws-credential-types",
"aws-runtime",
@@ -1211,7 +1203,7 @@ dependencies = [
"aws-smithy-runtime-api",
"aws-smithy-types",
"aws-types",
- "bytes 1.7.2",
+ "bytes 1.8.0",
"http 0.2.12",
"once_cell",
"regex-lite",
@@ -1220,9 +1212,9 @@ dependencies = [
[[package]]
name = "aws-sdk-ssooidc"
-version = "1.41.0"
+version = "1.50.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4ef4cd9362f638c22a3b959fd8df292e7e47fdf170270f86246b97109b5f2f7d"
+checksum = "81fea2f3a8bb3bd10932ae7ad59cc59f65f270fc9183a7e91f501dc5efbef7ee"
dependencies = [
"aws-credential-types",
"aws-runtime",
@@ -1233,7 +1225,7 @@ dependencies = [
"aws-smithy-runtime-api",
"aws-smithy-types",
"aws-types",
- "bytes 1.7.2",
+ "bytes 1.8.0",
"http 0.2.12",
"once_cell",
"regex-lite",
@@ -1242,9 +1234,9 @@ dependencies = [
[[package]]
name = "aws-sdk-sts"
-version = "1.40.0"
+version = "1.50.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0b1e2735d2ab28b35ecbb5496c9d41857f52a0d6a0075bbf6a8af306045ea6f6"
+checksum = "6ada54e5f26ac246dc79727def52f7f8ed38915cb47781e2a72213957dc3a7d5"
dependencies = [
"aws-credential-types",
"aws-runtime",
@@ -1274,7 +1266,7 @@ dependencies = [
"aws-smithy-http",
"aws-smithy-runtime-api",
"aws-smithy-types",
- "bytes 1.7.2",
+ "bytes 1.8.0",
"crypto-bigint 0.5.5",
"form_urlencoded",
"hex",
@@ -1305,13 +1297,13 @@ dependencies = [
[[package]]
name = "aws-smithy-checksums"
-version = "0.60.12"
+version = "0.60.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "598b1689d001c4d4dc3cb386adb07d37786783aee3ac4b324bcadac116bf3d23"
+checksum = "ba1a71073fca26775c8b5189175ea8863afb1c9ea2cceb02a5de5ad9dfbaa795"
dependencies = [
"aws-smithy-http",
"aws-smithy-types",
- "bytes 1.7.2",
+ "bytes 1.8.0",
"crc32c",
"crc32fast",
"hex",
@@ -1331,7 +1323,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cef7d0a272725f87e51ba2bf89f8c21e4df61b9e49ae1ac367a6d69916ef7c90"
dependencies = [
"aws-smithy-types",
- "bytes 1.7.2",
+ "bytes 1.8.0",
"crc32fast",
]
@@ -1344,7 +1336,7 @@ dependencies = [
"aws-smithy-eventstream",
"aws-smithy-runtime-api",
"aws-smithy-types",
- "bytes 1.7.2",
+ "bytes 1.8.0",
"bytes-utils",
"futures-core",
"http 0.2.12",
@@ -1385,8 +1377,8 @@ dependencies = [
"aws-smithy-http",
"aws-smithy-runtime-api",
"aws-smithy-types",
- "bytes 1.7.2",
- "fastrand 2.1.1",
+ "bytes 1.8.0",
+ "fastrand 2.2.0",
"h2 0.3.26",
"http 0.2.12",
"http-body 0.4.6",
@@ -1410,7 +1402,7 @@ checksum = "92165296a47a812b267b4f41032ff8069ab7ff783696d217f0994a0d7ab585cd"
dependencies = [
"aws-smithy-async",
"aws-smithy-types",
- "bytes 1.7.2",
+ "bytes 1.8.0",
"http 0.2.12",
"http 1.1.0",
"pin-project-lite",
@@ -1426,7 +1418,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4fbd94a32b3a7d55d3806fe27d98d3ad393050439dd05eb53ece36ec5e3d3510"
dependencies = [
"base64-simd",
- "bytes 1.7.2",
+ "bytes 1.8.0",
"bytes-utils",
"futures-core",
"http 0.2.12",
@@ -1447,9 +1439,9 @@ dependencies = [
[[package]]
name = "aws-smithy-xml"
-version = "0.60.8"
+version = "0.60.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d123fbc2a4adc3c301652ba8e149bf4bc1d1725affb9784eb20c953ace06bf55"
+checksum = "ab0b0166827aa700d3dc519f72f8b3a91c35d0b8d042dc5d643a91e6f80648fc"
dependencies = [
"xmlparser",
]
@@ -1478,7 +1470,7 @@ dependencies = [
"axum-core",
"base64 0.21.7",
"bitflags 1.3.2",
- "bytes 1.7.2",
+ "bytes 1.8.0",
"futures-util",
"headers",
"http 0.2.12",
@@ -1511,7 +1503,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "759fa577a247914fd3f7f76d62972792636412fbfd634cd452f6a385a74d2d2c"
dependencies = [
"async-trait",
- "bytes 1.7.2",
+ "bytes 1.8.0",
"futures-util",
"http 0.2.12",
"http-body 0.4.6",
@@ -1528,7 +1520,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f9a320103719de37b7b4da4c8eb629d4573f6bcfd3dfe80d3208806895ccf81d"
dependencies = [
"axum",
- "bytes 1.7.2",
+ "bytes 1.8.0",
"futures-util",
"http 0.2.12",
"mime",
@@ -1551,7 +1543,7 @@ dependencies = [
"addr2line",
"cfg-if",
"libc",
- "miniz_oxide 0.8.0",
+ "miniz_oxide",
"object",
"rustc-demangle",
"windows-targets 0.52.6",
@@ -1599,9 +1591,9 @@ checksum = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b"
[[package]]
name = "bigdecimal"
-version = "0.4.5"
+version = "0.4.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "51d712318a27c7150326677b321a5fa91b55f6d9034ffd67f20319e147d40cee"
+checksum = "8f850665a0385e070b64c38d2354e6c104c8479c59868d1e48a0c13ee2c7a1c1"
dependencies = [
"autocfg",
"libm",
@@ -1620,26 +1612,6 @@ dependencies = [
"serde",
]
-[[package]]
-name = "bindgen"
-version = "0.69.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a00dc851838a2120612785d195287475a3ac45514741da670b735818822129a0"
-dependencies = [
- "bitflags 2.6.0",
- "cexpr",
- "clang-sys",
- "itertools 0.12.1",
- "lazy_static",
- "lazycell",
- "proc-macro2",
- "quote",
- "regex",
- "rustc-hash 1.1.0",
- "shlex",
- "syn 2.0.87",
-]
-
[[package]]
name = "bindgen"
version = "0.70.1"
@@ -1728,9 +1700,9 @@ dependencies = [
[[package]]
name = "bitstream-io"
-version = "2.5.3"
+version = "2.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b81e1519b0d82120d2fd469d5bfb2919a9361c48b02d82d04befc1cdd2002452"
+checksum = "6099cdc01846bc367c4e7dd630dc5966dccf36b652fae7a74e17b640411a91b2"
[[package]]
name = "bitvec"
@@ -1841,15 +1813,15 @@ dependencies = [
"async-channel 2.3.1",
"async-task",
"futures-io",
- "futures-lite 2.3.0",
+ "futures-lite 2.5.0",
"piper",
]
[[package]]
name = "borsh"
-version = "1.5.1"
+version = "1.5.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a6362ed55def622cddc70a4746a68554d7b687713770de539e59a739b249f8ed"
+checksum = "2506947f73ad44e344215ccd6403ac2ae18cd8e046e581a441bf8d199f257f03"
dependencies = [
"borsh-derive",
"cfg_aliases 0.2.1",
@@ -1857,16 +1829,15 @@ dependencies = [
[[package]]
name = "borsh-derive"
-version = "1.5.1"
+version = "1.5.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c3ef8005764f53cd4dca619f5bf64cafd4664dada50ece25e4d81de54c80cc0b"
+checksum = "c2593a3b8b938bd68373196c9832f516be11fa487ef4ae745eb282e6a56a7244"
dependencies = [
"once_cell",
"proc-macro-crate",
"proc-macro2",
"quote",
"syn 2.0.87",
- "syn_derive",
]
[[package]]
@@ -1884,20 +1855,20 @@ dependencies = [
[[package]]
name = "bstr"
-version = "1.10.0"
+version = "1.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "40723b8fb387abc38f4f4a37c09073622e41dd12327033091ef8950659e6dc0c"
+checksum = "1a68f1f47cdf0ec8ee4b941b2eee2a80cb796db73118c0dd09ac63fbe405be22"
dependencies = [
"memchr",
- "regex-automata 0.4.7",
+ "regex-automata 0.4.9",
"serde",
]
[[package]]
name = "built"
-version = "0.7.4"
+version = "0.7.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "236e6289eda5a812bc6b53c3b024039382a2895fbbeef2d748b2931546d392c4"
+checksum = "c360505aed52b7ec96a3636c3f039d99103c37d1d9b4f7a8c743d3ea9ffcd03b"
[[package]]
name = "bumpalo"
@@ -1935,18 +1906,18 @@ dependencies = [
[[package]]
name = "bytemuck"
-version = "1.17.1"
+version = "1.19.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "773d90827bc3feecfb67fab12e24de0749aad83c74b9504ecde46237b5cd24e2"
+checksum = "8334215b81e418a0a7bdb8ef0849474f40bb10c8b71f1c4ed315cff49f32494d"
dependencies = [
"bytemuck_derive",
]
[[package]]
name = "bytemuck_derive"
-version = "1.7.1"
+version = "1.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0cc8b54b395f2fcfbb3d90c47b01c7f444d94d05bdeb775811dec868ac3bbc26"
+checksum = "bcfcc3cd946cb52f0bbfdbbcfa2f4e24f75ebb6c0e1002f7c25904fada18b9ec"
dependencies = [
"proc-macro2",
"quote",
@@ -1977,9 +1948,9 @@ dependencies = [
[[package]]
name = "bytes"
-version = "1.7.2"
+version = "1.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "428d9aa8fbc0670b7b8d6030a7fadd0f86151cae55e4dbbece15f3780a3dfaf3"
+checksum = "9ac0150caa2ae65ca5bd83f25c7de183dea78d4d366469f148435e2acfbad0da"
[[package]]
name = "bytes-utils"
@@ -1987,7 +1958,7 @@ version = "0.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7dafe3a8757b027e2be6e4e5601ed563c55989fcf1546e933c66c8eb3a058d35"
dependencies = [
- "bytes 1.7.2",
+ "bytes 1.8.0",
"either",
]
@@ -2022,7 +1993,7 @@ dependencies = [
"collections",
"feature_flags",
"fs",
- "futures 0.3.30",
+ "futures 0.3.31",
"gpui",
"http_client",
"language",
@@ -2045,10 +2016,10 @@ checksum = "b99da2f8558ca23c71f4fd15dc57c906239752dd27ff3c00a1d56b685b7cbfec"
dependencies = [
"bitflags 2.6.0",
"log",
- "polling 3.7.3",
- "rustix 0.38.35",
+ "polling 3.7.4",
+ "rustix 0.38.40",
"slab",
- "thiserror",
+ "thiserror 1.0.69",
]
[[package]]
@@ -2058,7 +2029,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "95a66a987056935f7efce4ab5668920b5d0dac4a7c99991a67395f13702ddd20"
dependencies = [
"calloop",
- "rustix 0.38.35",
+ "rustix 0.38.40",
"wayland-backend",
"wayland-client",
]
@@ -2074,9 +2045,9 @@ dependencies = [
[[package]]
name = "cap-fs-ext"
-version = "3.2.0"
+version = "3.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "eb23061fc1c4ead4e45ca713080fe768e6234e959f5a5c399c39eb41aa34e56e"
+checksum = "e16619ada836f12897a72011fe99b03f0025b87a8dbbea4f3c9f89b458a23bf3"
dependencies = [
"cap-primitives",
"cap-std",
@@ -2086,21 +2057,21 @@ dependencies = [
[[package]]
name = "cap-net-ext"
-version = "3.2.0"
+version = "3.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f83ae11f116bcbafc5327c6af250341db96b5930046732e1905f7dc65887e0e1"
+checksum = "710b0eb776410a22c89a98f2f80b2187c2ac3a8206b99f3412332e63c9b09de0"
dependencies = [
"cap-primitives",
"cap-std",
- "rustix 0.38.35",
+ "rustix 0.38.40",
"smallvec",
]
[[package]]
name = "cap-primitives"
-version = "3.2.0"
+version = "3.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6d00bd8d26c4270d950eaaa837387964a2089a1c3c349a690a1fa03221d29531"
+checksum = "82fa6c3f9773feab88d844aa50035a33fb6e7e7426105d2f4bb7aadc42a5f89a"
dependencies = [
"ambient-authority",
"fs-set-times",
@@ -2108,16 +2079,16 @@ dependencies = [
"io-lifetimes 2.0.3",
"ipnet",
"maybe-owned",
- "rustix 0.38.35",
+ "rustix 0.38.40",
"windows-sys 0.52.0",
"winx",
]
[[package]]
name = "cap-rand"
-version = "3.2.0"
+version = "3.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dbcb16a619d8b8211ed61f42bd290d2a1ac71277a69cf8417ec0996fa92f5211"
+checksum = "53774d49369892b70184f8312e50c1b87edccb376691de4485b0ff554b27c36c"
dependencies = [
"ambient-authority",
"rand 0.8.5",
@@ -2125,27 +2096,27 @@ dependencies = [
[[package]]
name = "cap-std"
-version = "3.2.0"
+version = "3.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "19eb8e3d71996828751c1ed3908a439639752ac6bdc874e41469ef7fc15fbd7f"
+checksum = "7f71b70818556b4fe2a10c7c30baac3f5f45e973f49fc2673d7c75c39d0baf5b"
dependencies = [
"cap-primitives",
"io-extras",
"io-lifetimes 2.0.3",
- "rustix 0.38.35",
+ "rustix 0.38.40",
]
[[package]]
name = "cap-time-ext"
-version = "3.2.0"
+version = "3.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "61142dc51e25b7acc970ca578ce2c3695eac22bbba46c1073f5f583e78957725"
+checksum = "69dd48afa2363f746c93f961c211f6f099fb594a3446b8097bc5f79db51b6816"
dependencies = [
"ambient-authority",
"cap-primitives",
"iana-time-zone",
"once_cell",
- "rustix 0.38.35",
+ "rustix 0.38.40",
"winx",
]
@@ -2169,7 +2140,7 @@ dependencies = [
"semver",
"serde",
"serde_json",
- "thiserror",
+ "thiserror 1.0.69",
]
[[package]]
@@ -2204,7 +2175,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3fce8dd7fcfcbf3a0a87d8f515194b49d6135acab73e18bd380d1d93bb1a15eb"
dependencies = [
"heck 0.4.1",
- "indexmap 2.4.0",
+ "indexmap 2.6.0",
"log",
"proc-macro2",
"quote",
@@ -2217,9 +2188,9 @@ dependencies = [
[[package]]
name = "cc"
-version = "1.1.15"
+version = "1.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "57b6a275aa2903740dc87da01c62040406b8812552e97129a63ea8850a17c6e6"
+checksum = "fd9de9f2205d5ef3fd67e685b0df337994ddd4495e2a28d185500d0e1edfea47"
dependencies = [
"jobserver",
"libc",
@@ -2277,7 +2248,7 @@ dependencies = [
"client",
"clock",
"collections",
- "futures 0.3.30",
+ "futures 0.3.31",
"gpui",
"http_client",
"language",
@@ -2387,9 +2358,9 @@ dependencies = [
[[package]]
name = "clap_complete"
-version = "4.5.24"
+version = "4.5.38"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6d7db6eca8c205649e8d3ccd05aa5042b1800a784e56bc7c43524fde8abbfa9b"
+checksum = "d9647a559c112175f17cf724dc72d3645680a883c58481332779192b0d8e7a01"
dependencies = [
"clap",
]
@@ -2408,9 +2379,9 @@ dependencies = [
[[package]]
name = "clap_lex"
-version = "0.7.2"
+version = "0.7.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1462739cb27611015575c0c11df5df7601141071f07518d56fcc1be504cbec97"
+checksum = "afb84c814227b90d6895e01398aee0d8033c00e7466aca416fb6a8e0eb19d8a7"
[[package]]
name = "cli"
@@ -2441,17 +2412,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a0875e527e299fc5f4faba42870bf199a39ab0bb2dbba1b8aef0a2151451130f"
dependencies = [
"bstr",
- "bytes 1.7.2",
+ "bytes 1.8.0",
"clickhouse-derive",
"clickhouse-rs-cityhash-sys",
- "futures 0.3.30",
+ "futures 0.3.31",
"hyper 0.14.31",
"hyper-tls",
"lz4",
"sealed",
"serde",
"static_assertions",
- "thiserror",
+ "thiserror 1.0.69",
"tokio",
"url",
]
@@ -2490,7 +2461,7 @@ dependencies = [
"cocoa 0.26.0",
"collections",
"feature_flags",
- "futures 0.3.30",
+ "futures 0.3.31",
"gpui",
"http_client",
"log",
@@ -2512,7 +2483,7 @@ dependencies = [
"sysinfo",
"telemetry_events",
"text",
- "thiserror",
+ "thiserror 1.0.69",
"time",
"tiny_http",
"tokio-socks",
@@ -2635,14 +2606,14 @@ dependencies = [
"collections",
"context_servers",
"ctor",
- "dashmap 6.0.1",
+ "dashmap 6.1.0",
"derive_more",
"editor",
"env_logger 0.11.5",
"envy",
"file_finder",
"fs",
- "futures 0.3.30",
+ "futures 0.3.31",
"git",
"git_hosting_providers",
"google_ai",
@@ -2695,7 +2666,7 @@ dependencies = [
"telemetry_events",
"text",
"theme",
- "thiserror",
+ "thiserror 1.0.69",
"time",
"tokio",
"toml 0.8.19",
@@ -2723,7 +2694,7 @@ dependencies = [
"db",
"editor",
"emojis",
- "futures 0.3.30",
+ "futures 0.3.31",
"fuzzy",
"gpui",
"http_client",
@@ -2770,9 +2741,9 @@ checksum = "3d7b894f5411737b7867f4827955924d7c254fc9f4d91a6aad6b097804b1018b"
[[package]]
name = "colorchoice"
-version = "1.0.2"
+version = "1.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d3fd119d74b830634cea2a0f58bbd0d54540518a14397557951e79340abc28c0"
+checksum = "5b63caa9aa9397e2d9480a9b13673856c78d8ac123288526c37d7839f2a86990"
[[package]]
name = "combine"
@@ -2780,7 +2751,7 @@ version = "4.6.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ba5a308b75df32fe02788e748662718f03fde005016435c444eea572398219fd"
dependencies = [
- "bytes 1.7.2",
+ "bytes 1.8.0",
"memchr",
]
@@ -2888,7 +2859,7 @@ dependencies = [
"anyhow",
"collections",
"command_palette_hooks",
- "futures 0.3.30",
+ "futures 0.3.31",
"gpui",
"log",
"parking_lot",
@@ -2933,7 +2904,7 @@ dependencies = [
"command_palette_hooks",
"editor",
"fs",
- "futures 0.3.30",
+ "futures 0.3.31",
"gpui",
"http_client",
"indoc",
@@ -3066,11 +3037,11 @@ dependencies = [
[[package]]
name = "coreaudio-sys"
-version = "0.2.15"
+version = "0.2.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7f01585027057ff5f0a5bf276174ae4c1594a2c5bde93d5f46a016d76270f5a9"
+checksum = "2ce857aa0b77d77287acc1ac3e37a05a8c95a2af3647d23b15f263bdaeb7562b"
dependencies = [
- "bindgen 0.69.4",
+ "bindgen",
]
[[package]]
@@ -3128,9 +3099,9 @@ dependencies = [
[[package]]
name = "cpufeatures"
-version = "0.2.13"
+version = "0.2.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "51e852e6dc9a5bed1fae92dd2375037bf2b768725bf3be87811edee3249d09ad"
+checksum = "0ca741a962e1b0bff6d724a1a0958b686406e853bb14061f218562e1896f95e6"
dependencies = [
"libc",
]
@@ -3493,9 +3464,9 @@ dependencies = [
[[package]]
name = "dashmap"
-version = "6.0.1"
+version = "6.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "804c8821570c3f8b70230c2ba75ffa5c0f9a4189b9a432b6656c536712acae28"
+checksum = "5041cc499144891f3790297212f32a74fb938e5136a14943f338ef9e0ae276cf"
dependencies = [
"cfg-if",
"crossbeam-utils",
@@ -3648,7 +3619,7 @@ dependencies = [
"fuzzy-matcher",
"shell-words",
"tempfile",
- "thiserror",
+ "thiserror 1.0.69",
"zeroize",
]
@@ -3711,6 +3682,17 @@ dependencies = [
"windows-sys 0.48.0",
]
+[[package]]
+name = "displaydoc"
+version = "0.2.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.87",
+]
+
[[package]]
name = "dlib"
version = "0.5.2"
@@ -3757,9 +3739,9 @@ dependencies = [
[[package]]
name = "dwrote"
-version = "0.11.1"
+version = "0.11.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2da3498378ed373237bdef1eddcc64e7be2d3ba4841f4c22a998e81cadeea83c"
+checksum = "70182709525a3632b2ba96b6569225467b18ecb4a77f46d255f713a6bebf05fd"
dependencies = [
"lazy_static",
"libc",
@@ -3808,7 +3790,7 @@ dependencies = [
"emojis",
"env_logger 0.11.5",
"file_icons",
- "futures 0.3.30",
+ "futures 0.3.31",
"fuzzy",
"git",
"gpui",
@@ -3854,18 +3836,6 @@ dependencies = [
"workspace",
]
-[[package]]
-name = "educe"
-version = "0.5.11"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e4bd92664bf78c4d3dba9b7cdafce6fa15b13ed3ed16175218196942e99168a8"
-dependencies = [
- "enum-ordinalize",
- "proc-macro2",
- "quote",
- "syn 2.0.87",
-]
-
[[package]]
name = "either"
version = "1.13.0"
@@ -3909,9 +3879,9 @@ dependencies = [
[[package]]
name = "embed-resource"
-version = "2.4.3"
+version = "2.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4edcacde9351c33139a41e3c97eb2334351a81a2791bebb0b243df837128f602"
+checksum = "b68b6f9f63a0b6a38bc447d4ce84e2b388f3ec95c99c641c8ff0dd3ef89a6379"
dependencies = [
"cc",
"memchr",
@@ -3950,9 +3920,9 @@ checksum = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f"
[[package]]
name = "encoding_rs"
-version = "0.8.34"
+version = "0.8.35"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b45de904aa0b010bce2ab45264d0631681847fa7b6f2eaa7dab7619943bc4f59"
+checksum = "75030f3c4f45dafd7586dd6780965a8c7e8e285a5ecb86713e63a79c5b2766f3"
dependencies = [
"cfg-if",
]
@@ -3963,26 +3933,6 @@ version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a3d8a32ae18130a3c84dd492d4215c3d913c3b07c6b63c2eb3eb7ff1101ab7bf"
-[[package]]
-name = "enum-ordinalize"
-version = "4.3.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fea0dcfa4e54eeb516fe454635a95753ddd39acda650ce703031c6973e315dd5"
-dependencies = [
- "enum-ordinalize-derive",
-]
-
-[[package]]
-name = "enum-ordinalize-derive"
-version = "4.3.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0d28318a75d4aead5c4db25382e8ef717932d0346600cacae6357eb5941bc5ff"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 2.0.87",
-]
-
[[package]]
name = "enumflags2"
version = "0.7.10"
@@ -4204,15 +4154,14 @@ dependencies = [
[[package]]
name = "exr"
-version = "1.72.0"
+version = "1.73.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "887d93f60543e9a9362ef8a21beedd0a833c5d9610e18c67abe15a5963dcb1a4"
+checksum = "f83197f59927b46c04a183a619b7c29df34e63e63c7869320862268c0ef687e0"
dependencies = [
"bit_field",
- "flume",
"half",
"lebe",
- "miniz_oxide 0.7.4",
+ "miniz_oxide",
"rayon-core",
"smallvec",
"zune-inflate",
@@ -4228,7 +4177,7 @@ dependencies = [
"async-trait",
"collections",
"fs",
- "futures 0.3.30",
+ "futures 0.3.31",
"gpui",
"http_client",
"language",
@@ -4280,7 +4229,7 @@ dependencies = [
"env_logger 0.11.5",
"extension",
"fs",
- "futures 0.3.30",
+ "futures 0.3.31",
"gpui",
"http_client",
"language",
@@ -4369,8 +4318,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6e24cb5a94bcae1e5408b0effca5cd7172ea3c5755049c5f3af4cd283a165298"
dependencies = [
"bit-set 0.8.0",
- "regex-automata 0.4.7",
- "regex-syntax 0.8.4",
+ "regex-automata 0.4.9",
+ "regex-syntax 0.8.5",
]
[[package]]
@@ -4390,9 +4339,9 @@ dependencies = [
[[package]]
name = "fastrand"
-version = "2.1.1"
+version = "2.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e8c02a5121d4ea3eb16a80748c74f5549a5665e4c21333c6098f283870fbdea6"
+checksum = "486f806e73c5707928240ddc295403b1b93c96a02038563881c4a2fd84b81ac4"
[[package]]
name = "fd-lock"
@@ -4401,15 +4350,15 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7e5768da2206272c81ef0b5e951a41862938a6070da63bcea197899942d3b947"
dependencies = [
"cfg-if",
- "rustix 0.38.35",
+ "rustix 0.38.40",
"windows-sys 0.52.0",
]
[[package]]
name = "fdeflate"
-version = "0.3.4"
+version = "0.3.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4f9bfee30e4dedf0ab8b422f03af778d9612b63f502710fc500a334ebe2de645"
+checksum = "07c6f4c64c1d33a3111c4466f7365ebdcc37c5bd1ea0d62aae2e3d722aacbedb"
dependencies = [
"simd-adler32",
]
@@ -4418,7 +4367,7 @@ dependencies = [
name = "feature_flags"
version = "0.1.0"
dependencies = [
- "futures 0.3.30",
+ "futures 0.3.31",
"gpui",
]
@@ -4431,7 +4380,7 @@ dependencies = [
"client",
"db",
"editor",
- "futures 0.3.30",
+ "futures 0.3.31",
"gpui",
"http_client",
"human_bytes",
@@ -4472,7 +4421,7 @@ dependencies = [
"editor",
"env_logger 0.11.5",
"file_icons",
- "futures 0.3.30",
+ "futures 0.3.31",
"fuzzy",
"gpui",
"language",
@@ -4510,7 +4459,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7199d965852c3bac31f779ef99cbb4537f80e952e2d6aa0ffeb30cce00f4f46e"
dependencies = [
"libc",
- "thiserror",
+ "thiserror 1.0.69",
"winapi",
]
@@ -4534,12 +4483,12 @@ checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80"
[[package]]
name = "flate2"
-version = "1.0.33"
+version = "1.0.35"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "324a1be68054ef05ad64b861cc9eaf1d623d2d8cb25b4bf2cb9cdd902b4bf253"
+checksum = "c936bfdafb507ebbf50b8074c54fa31c5be9a1e7e5f467dd659697041407d07c"
dependencies = [
"crc32fast",
- "miniz_oxide 0.8.0",
+ "miniz_oxide",
]
[[package]]
@@ -4572,6 +4521,12 @@ version = "1.0.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
+[[package]]
+name = "foldhash"
+version = "0.1.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f81ec6369c545a7d40e4589b5597581fa1c441fe1cce96dd1de43159910a36a2"
+
[[package]]
name = "font-kit"
version = "0.14.1"
@@ -4598,9 +4553,9 @@ dependencies = [
[[package]]
name = "font-types"
-version = "0.6.0"
+version = "0.7.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8f0189ccb084f77c5523e08288d418cbaa09c451a08515678a0aa265df9a8b60"
+checksum = "b3971f9a5ca983419cdc386941ba3b9e1feba01a0ab888adf78739feb2798492"
dependencies = [
"bytemuck",
]
@@ -4710,7 +4665,7 @@ dependencies = [
"cocoa 0.26.0",
"collections",
"fsevent",
- "futures 0.3.30",
+ "futures 0.3.31",
"git",
"git2",
"gpui",
@@ -4737,7 +4692,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "033b337d725b97690d86893f9de22b67b80dcc4e9ad815f348254c38119db8fb"
dependencies = [
"io-lifetimes 2.0.3",
- "rustix 0.38.35",
+ "rustix 0.38.40",
"windows-sys 0.52.0",
]
@@ -4804,9 +4759,9 @@ checksum = "3a471a38ef8ed83cd6e40aa59c1ffe17db6855c18e3604d9c4ed8c08ebc28678"
[[package]]
name = "futures"
-version = "0.3.30"
+version = "0.3.31"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "645c6916888f6cb6350d2550b80fb63e734897a8498abe35cfb732b6487804b0"
+checksum = "65bc07b1a8bc7c85c5f2e110c476c7389b4554ba72af57d8445ea63a576b0876"
dependencies = [
"futures-channel",
"futures-core",
@@ -4823,16 +4778,16 @@ version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6f444c45a1cb86f2a7e301469fd50a82084a60dadc25d94529a8312276ecb71a"
dependencies = [
- "futures 0.3.30",
+ "futures 0.3.31",
"futures-timer",
"pin-utils",
]
[[package]]
name = "futures-channel"
-version = "0.3.30"
+version = "0.3.31"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "eac8f7d7865dcb88bd4373ab671c8cf4508703796caa2b1985a9ca867b3fcb78"
+checksum = "2dff15bf788c671c1934e366d07e30c1814a8ef514e1af724a602e8a2fbe1b10"
dependencies = [
"futures-core",
"futures-sink",
@@ -4840,15 +4795,15 @@ dependencies = [
[[package]]
name = "futures-core"
-version = "0.3.30"
+version = "0.3.31"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dfc6580bb841c5a68e9ef15c77ccc837b40a7504914d52e47b8b0e9bbda25a1d"
+checksum = "05f29059c0c2090612e8d742178b0580d2dc940c837851ad723096f87af6663e"
[[package]]
name = "futures-executor"
-version = "0.3.30"
+version = "0.3.31"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a576fc72ae164fca6b9db127eaa9a9dda0d61316034f33a0a0d4eda41f02b01d"
+checksum = "1e28d1d997f585e54aebc3f97d39e72338912123a67330d723fdbb564d646c9f"
dependencies = [
"futures-core",
"futures-task",
@@ -4868,9 +4823,9 @@ dependencies = [
[[package]]
name = "futures-io"
-version = "0.3.30"
+version = "0.3.31"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a44623e20b9681a318efdd71c299b6b222ed6f231972bfe2f224ebad6311f0c1"
+checksum = "9e5c1b78ca4aae1ac06c48a526a655760685149f0d465d21f37abfe57ce075c6"
[[package]]
name = "futures-lite"
@@ -4889,11 +4844,11 @@ dependencies = [
[[package]]
name = "futures-lite"
-version = "2.3.0"
+version = "2.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "52527eb5074e35e9339c6b4e8d12600c7128b68fb25dcb9fa9dec18f7c25f3a5"
+checksum = "cef40d21ae2c515b51041df9ed313ed21e572df340ea58a922a0aefe7e8891a1"
dependencies = [
- "fastrand 2.1.1",
+ "fastrand 2.2.0",
"futures-core",
"futures-io",
"parking",
@@ -4902,9 +4857,9 @@ dependencies = [
[[package]]
name = "futures-macro"
-version = "0.3.30"
+version = "0.3.31"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac"
+checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650"
dependencies = [
"proc-macro2",
"quote",
@@ -4913,15 +4868,15 @@ dependencies = [
[[package]]
name = "futures-sink"
-version = "0.3.30"
+version = "0.3.31"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9fb8e00e87438d937621c1c6269e53f536c14d3fbd6a042bb24879e57d474fb5"
+checksum = "e575fab7d1e0dcb8d0c7bcf9a63ee213816ab51902e6d244a95819acacf1d4f7"
[[package]]
name = "futures-task"
-version = "0.3.30"
+version = "0.3.31"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "38d84fa142264698cdce1a9f9172cf383a0c82de1bddcf3092901442c4097004"
+checksum = "f90f7dce0722e95104fcb095585910c0977252f286e354b5e3bd38902cd99988"
[[package]]
name = "futures-timer"
@@ -4931,9 +4886,9 @@ checksum = "f288b0a4f20f9a56b5d1da57e2227c661b7b16168e2f72365f57b63326e29b24"
[[package]]
name = "futures-util"
-version = "0.3.30"
+version = "0.3.31"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3d6401deb83407ab3da39eba7e33987a73c3df0c82b4bb5813ee871c19c41d48"
+checksum = "9fa08315bb612088cc391249efdc3bc77536f16c91f6cf495e6fbe85b20a4a81"
dependencies = [
"futures 0.1.31",
"futures-channel",
@@ -5027,15 +4982,15 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "40ecd4077b5ae9fd2e9e169b102c6c330d0605168eb0e8bf79952b256dbefffd"
dependencies = [
"fallible-iterator",
- "indexmap 2.4.0",
+ "indexmap 2.6.0",
"stable_deref_trait",
]
[[package]]
name = "gimli"
-version = "0.31.0"
+version = "0.31.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "32085ea23f3234fc7846555e85283ba4de91e21016dc0455a16286d87a292d64"
+checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f"
[[package]]
name = "git"
@@ -5084,7 +5039,7 @@ version = "0.1.0"
dependencies = [
"anyhow",
"async-trait",
- "futures 0.3.30",
+ "futures 0.3.31",
"git",
"gpui",
"http_client",
@@ -5112,15 +5067,15 @@ dependencies = [
"aho-corasick",
"bstr",
"log",
- "regex-automata 0.4.7",
- "regex-syntax 0.8.4",
+ "regex-automata 0.4.9",
+ "regex-syntax 0.8.5",
]
[[package]]
name = "gloo-timers"
-version = "0.2.6"
+version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9b995a66bb87bebce9a0f4a95aed01daca4872c050bfcb21653361c03bc35e5c"
+checksum = "bbb143cf96099802033e0d4f4963b19fd2e0b728bcf076cd9cf7f6634f092994"
dependencies = [
"futures-channel",
"futures-core",
@@ -5130,9 +5085,9 @@ dependencies = [
[[package]]
name = "glow"
-version = "0.14.0"
+version = "0.14.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f865cbd94bd355b89611211e49508da98a1fce0ad755c1e8448fb96711b24528"
+checksum = "d51fa363f025f5c111e03f13eda21162faeacb6911fe8caa0c0349f9cf0c4483"
dependencies = [
"js-sys",
"slotmap",
@@ -5170,7 +5125,7 @@ name = "google_ai"
version = "0.1.0"
dependencies = [
"anyhow",
- "futures 0.3.30",
+ "futures 0.3.31",
"http_client",
"schemars",
"serde",
@@ -5217,7 +5172,7 @@ dependencies = [
"ashpd",
"async-task",
"backtrace",
- "bindgen 0.70.1",
+ "bindgen",
"blade-graphics",
"blade-macros",
"blade-util",
@@ -5242,7 +5197,7 @@ dependencies = [
"flume",
"font-kit",
"foreign-types 0.5.0",
- "futures 0.3.30",
+ "futures 0.3.31",
"gpui_macros",
"http_client",
"image",
@@ -5276,7 +5231,7 @@ dependencies = [
"strum 0.25.0",
"sum_tree",
"taffy",
- "thiserror",
+ "thiserror 1.0.69",
"unicode-segmentation",
"usvg",
"util",
@@ -5327,13 +5282,13 @@ version = "0.3.26"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "81fe527a889e1532da5c525686d96d4c2e74cdd345badf8dfef9f6b39dd5f5e8"
dependencies = [
- "bytes 1.7.2",
+ "bytes 1.8.0",
"fnv",
"futures-core",
"futures-sink",
"futures-util",
"http 0.2.12",
- "indexmap 2.4.0",
+ "indexmap 2.6.0",
"slab",
"tokio",
"tokio-util",
@@ -5347,12 +5302,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "524e8ac6999421f49a846c2d4411f337e53497d8ec55d67753beffa43c5d9205"
dependencies = [
"atomic-waker",
- "bytes 1.7.2",
+ "bytes 1.8.0",
"fnv",
"futures-core",
"futures-sink",
"http 1.1.0",
- "indexmap 2.4.0",
+ "indexmap 2.6.0",
"slab",
"tokio",
"tokio-util",
@@ -5380,7 +5335,7 @@ dependencies = [
"pest_derive",
"serde",
"serde_json",
- "thiserror",
+ "thiserror 1.0.69",
]
[[package]]
@@ -5395,7 +5350,7 @@ dependencies = [
"pest_derive",
"serde",
"serde_json",
- "thiserror",
+ "thiserror 1.0.69",
]
[[package]]
@@ -5427,6 +5382,17 @@ dependencies = [
"serde",
]
+[[package]]
+name = "hashbrown"
+version = "0.15.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3a9bfc1af68b1726ea47d3d5109de126281def866b33970e10fbab11b5dafab3"
+dependencies = [
+ "allocator-api2",
+ "equivalent",
+ "foldhash",
+]
+
[[package]]
name = "hashlink"
version = "0.8.4"
@@ -5452,7 +5418,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "06683b93020a07e3dbcf5f8c0f6d40080d725bea7936fc01ad345c01b97dc270"
dependencies = [
"base64 0.21.7",
- "bytes 1.7.2",
+ "bytes 1.8.0",
"headers-core",
"http 0.2.12",
"httpdate",
@@ -5631,7 +5597,7 @@ version = "0.2.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "601cbb57e577e2f5ef5be8e7b83f0f63994f25aa94d673e54a92d5c516d101f1"
dependencies = [
- "bytes 1.7.2",
+ "bytes 1.8.0",
"fnv",
"itoa",
]
@@ -5642,7 +5608,7 @@ version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "21b9ddb458710bc376481b842f5da65cdf31522de232c1ca8146abce2a358258"
dependencies = [
- "bytes 1.7.2",
+ "bytes 1.8.0",
"fnv",
"itoa",
]
@@ -5653,7 +5619,7 @@ version = "0.4.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7ceab25649e9960c0311ea418d17bee82c0dcec1bd053b5f9a66e265a693bed2"
dependencies = [
- "bytes 1.7.2",
+ "bytes 1.8.0",
"http 0.2.12",
"pin-project-lite",
]
@@ -5664,7 +5630,7 @@ version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1efedce1fb8e6913f23e0c92de8e62cd5b772a67e7b3946df930a62566c93184"
dependencies = [
- "bytes 1.7.2",
+ "bytes 1.8.0",
"http 1.1.0",
]
@@ -5674,7 +5640,7 @@ version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "793429d76616a256bcb62c2a2ec2bed781c8307e797e2598c50010f2bee2544f"
dependencies = [
- "bytes 1.7.2",
+ "bytes 1.8.0",
"futures-util",
"http 1.1.0",
"http-body 1.0.1",
@@ -5713,9 +5679,9 @@ name = "http_client"
version = "0.1.0"
dependencies = [
"anyhow",
- "bytes 1.7.2",
+ "bytes 1.8.0",
"derive_more",
- "futures 0.3.30",
+ "futures 0.3.31",
"http 1.1.0",
"log",
"serde",
@@ -5725,9 +5691,9 @@ dependencies = [
[[package]]
name = "httparse"
-version = "1.9.4"
+version = "1.9.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0fcc0b4a115bf80b728eb8ea024ad5bd707b615bfed49e0665b6e0f86fd082d9"
+checksum = "7d71d3574edd2771538b901e6549113b4006ece66150fb69c0fb6d9a2adae946"
[[package]]
name = "httpdate"
@@ -5753,7 +5719,7 @@ version = "0.14.31"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8c08302e8fa335b151b788c775ff56e7a03ae64ff85c548ee820fecb70356e85"
dependencies = [
- "bytes 1.7.2",
+ "bytes 1.8.0",
"futures-channel",
"futures-core",
"futures-util",
@@ -5773,11 +5739,11 @@ dependencies = [
[[package]]
name = "hyper"
-version = "1.4.1"
+version = "1.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "50dfd22e0e76d0f662d429a5f80fcaf3855009297eab6a0a9f8543834744ba05"
+checksum = "bbbff0a806a4728c99295b254c8838933b5b082d75e3cb70c8dab21fdfbcfa9a"
dependencies = [
- "bytes 1.7.2",
+ "bytes 1.8.0",
"futures-channel",
"futures-util",
"h2 0.4.6",
@@ -5815,9 +5781,9 @@ checksum = "08afdbb5c31130e3034af566421053ab03787c640246a446327f550d11bcb333"
dependencies = [
"futures-util",
"http 1.1.0",
- "hyper 1.4.1",
+ "hyper 1.5.0",
"hyper-util",
- "rustls 0.23.13",
+ "rustls 0.23.16",
"rustls-native-certs 0.8.0",
"rustls-pki-types",
"tokio",
@@ -5831,7 +5797,7 @@ version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d6183ddfa99b85da61a140bea0efc93fdf56ceaa041b37d553518030827f9905"
dependencies = [
- "bytes 1.7.2",
+ "bytes 1.8.0",
"hyper 0.14.31",
"native-tls",
"tokio",
@@ -5840,16 +5806,16 @@ dependencies = [
[[package]]
name = "hyper-util"
-version = "0.1.9"
+version = "0.1.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "41296eb09f183ac68eec06e03cdbea2e759633d4067b2f6552fc2e009bcad08b"
+checksum = "df2dcfbe0677734ab2f3ffa7fa7bfd4706bfdc1ef393f2ee30184aed67e631b4"
dependencies = [
- "bytes 1.7.2",
+ "bytes 1.8.0",
"futures-channel",
"futures-util",
"http 1.1.0",
"http-body 1.0.1",
- "hyper 1.4.1",
+ "hyper 1.5.0",
"pin-project-lite",
"socket2 0.5.7",
"tokio",
@@ -5859,9 +5825,9 @@ dependencies = [
[[package]]
name = "iana-time-zone"
-version = "0.1.60"
+version = "0.1.61"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e7ffbb5a1b541ea2561f8c41c087286cc091e21e556a4f09a8f6cbf17b69b141"
+checksum = "235e081f3925a06703c2d0117ea8b91f042756fd6e7a6e5d901e8ca1a996b220"
dependencies = [
"android_system_properties",
"core-foundation-sys",
@@ -5880,6 +5846,124 @@ dependencies = [
"cc",
]
+[[package]]
+name = "icu_collections"
+version = "1.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "db2fa452206ebee18c4b5c2274dbf1de17008e874b4dc4f0aea9d01ca79e4526"
+dependencies = [
+ "displaydoc",
+ "yoke",
+ "zerofrom",
+ "zerovec",
+]
+
+[[package]]
+name = "icu_locid"
+version = "1.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "13acbb8371917fc971be86fc8057c41a64b521c184808a698c02acc242dbf637"
+dependencies = [
+ "displaydoc",
+ "litemap",
+ "tinystr",
+ "writeable",
+ "zerovec",
+]
+
+[[package]]
+name = "icu_locid_transform"
+version = "1.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "01d11ac35de8e40fdeda00d9e1e9d92525f3f9d887cdd7aa81d727596788b54e"
+dependencies = [
+ "displaydoc",
+ "icu_locid",
+ "icu_locid_transform_data",
+ "icu_provider",
+ "tinystr",
+ "zerovec",
+]
+
+[[package]]
+name = "icu_locid_transform_data"
+version = "1.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fdc8ff3388f852bede6b579ad4e978ab004f139284d7b28715f773507b946f6e"
+
+[[package]]
+name = "icu_normalizer"
+version = "1.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "19ce3e0da2ec68599d193c93d088142efd7f9c5d6fc9b803774855747dc6a84f"
+dependencies = [
+ "displaydoc",
+ "icu_collections",
+ "icu_normalizer_data",
+ "icu_properties",
+ "icu_provider",
+ "smallvec",
+ "utf16_iter",
+ "utf8_iter",
+ "write16",
+ "zerovec",
+]
+
+[[package]]
+name = "icu_normalizer_data"
+version = "1.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f8cafbf7aa791e9b22bec55a167906f9e1215fd475cd22adfcf660e03e989516"
+
+[[package]]
+name = "icu_properties"
+version = "1.5.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "93d6020766cfc6302c15dbbc9c8778c37e62c14427cb7f6e601d849e092aeef5"
+dependencies = [
+ "displaydoc",
+ "icu_collections",
+ "icu_locid_transform",
+ "icu_properties_data",
+ "icu_provider",
+ "tinystr",
+ "zerovec",
+]
+
+[[package]]
+name = "icu_properties_data"
+version = "1.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "67a8effbc3dd3e4ba1afa8ad918d5684b8868b3b26500753effea8d2eed19569"
+
+[[package]]
+name = "icu_provider"
+version = "1.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6ed421c8a8ef78d3e2dbc98a973be2f3770cb42b606e3ab18d6237c4dfde68d9"
+dependencies = [
+ "displaydoc",
+ "icu_locid",
+ "icu_provider_macros",
+ "stable_deref_trait",
+ "tinystr",
+ "writeable",
+ "yoke",
+ "zerofrom",
+ "zerovec",
+]
+
+[[package]]
+name = "icu_provider_macros"
+version = "1.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1ec89e9337638ecdc08744df490b221a7399bf8d164eb52a665454e60e075ad6"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.87",
+]
+
[[package]]
name = "id-arena"
version = "2.2.1"
@@ -5888,12 +5972,23 @@ checksum = "25a2bc672d1148e28034f176e01fffebb08b35768468cc954630da77a1449005"
[[package]]
name = "idna"
-version = "0.5.0"
+version = "1.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "634d9b1461af396cad843f47fdba5597a4f9e6ddd4bfb6ff5d85028c25cb12f6"
+checksum = "686f825264d630750a544639377bae737628043f20d38bbc029e8f29ea968a7e"
dependencies = [
- "unicode-bidi",
- "unicode-normalization",
+ "idna_adapter",
+ "smallvec",
+ "utf8_iter",
+]
+
+[[package]]
+name = "idna_adapter"
+version = "1.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "daca1df1c957320b2cf139ac61e7bd64fed304c5040df000a745aa1de3b4ef71"
+dependencies = [
+ "icu_normalizer",
+ "icu_properties",
]
[[package]]
@@ -5906,7 +6001,7 @@ dependencies = [
"globset",
"log",
"memchr",
- "regex-automata 0.4.7",
+ "regex-automata 0.4.9",
"same-file",
"walkdir",
"winapi-util",
@@ -5914,9 +6009,9 @@ dependencies = [
[[package]]
name = "image"
-version = "0.25.2"
+version = "0.25.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "99314c8a2152b8ddb211f924cdae532d8c5e4c8bb54728e12fff1b0cd5963a10"
+checksum = "cd6f44aed642f18953a158afeb30206f4d50da59fbc66ecb53c66488de73563b"
dependencies = [
"bytemuck",
"byteorder-lite",
@@ -5937,9 +6032,9 @@ dependencies = [
[[package]]
name = "image-webp"
-version = "0.1.3"
+version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f79afb8cbee2ef20f59ccd477a218c12a93943d075b492015ecb1bb81f8ee904"
+checksum = "e031e8e3d94711a9ccb5d6ea357439ef3dcbed361798bd4071dc4d9793fbe22f"
dependencies = [
"byteorder-lite",
"quick-error",
@@ -5969,9 +6064,9 @@ checksum = "edcd27d72f2f071c64249075f42e205ff93c9a4c5f6c6da53e79ed9f9832c285"
[[package]]
name = "imgref"
-version = "1.10.1"
+version = "1.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "44feda355f4159a7c757171a77de25daf6411e217b4cabd03bd6650690468126"
+checksum = "d0263a3d970d5c054ed9312c0057b4f3bde9c0b33836d3637361d4a9e6e7a408"
[[package]]
name = "indexed_docs"
@@ -5984,7 +6079,7 @@ dependencies = [
"derive_more",
"extension",
"fs",
- "futures 0.3.30",
+ "futures 0.3.31",
"fuzzy",
"gpui",
"heed",
@@ -6013,12 +6108,12 @@ dependencies = [
[[package]]
name = "indexmap"
-version = "2.4.0"
+version = "2.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "93ead53efc7ea8ed3cfb0c79fc8023fbb782a5432b52830b6518941cebe6505c"
+checksum = "707907fe3c25f5424cce2cb7e1cbcafee6bdbe735ca90ef77c29e84591e5b9da"
dependencies = [
"equivalent",
- "hashbrown 0.14.5",
+ "hashbrown 0.15.1",
"serde",
]
@@ -6053,7 +6148,7 @@ dependencies = [
"copilot",
"editor",
"fs",
- "futures 0.3.30",
+ "futures 0.3.31",
"gpui",
"indoc",
"language",
@@ -6132,9 +6227,9 @@ dependencies = [
[[package]]
name = "io-extras"
-version = "0.18.2"
+version = "0.18.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c9f046b9af244f13b3bd939f55d16830ac3a201e8a9ba9661bfcb03e2be72b9b"
+checksum = "7d45fd7584f9b67ac37bc041212d06bfac0700b36456b05890d36a3b626260eb"
dependencies = [
"io-lifetimes 2.0.3",
"windows-sys 0.52.0",
@@ -6187,9 +6282,9 @@ dependencies = [
[[package]]
name = "ipnet"
-version = "2.9.0"
+version = "2.10.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8f518f335dce6725a761382244631d86cf0ccb2863413590b31338feb467f9c3"
+checksum = "ddc24109865250148c2e0f3d25d4f0f479571723792d3802153c60922a4fb708"
[[package]]
name = "is-docker"
@@ -6280,7 +6375,7 @@ dependencies = [
"combine",
"jni-sys",
"log",
- "thiserror",
+ "thiserror 1.0.69",
"walkdir",
"windows-sys 0.45.0",
]
@@ -6324,9 +6419,9 @@ checksum = "f5d4a7da358eff58addd2877a45865158f0d78c911d43a5784ceb7bbf52833b0"
[[package]]
name = "js-sys"
-version = "0.3.70"
+version = "0.3.72"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1868808506b929d7b0cfa8f75951347aa71bb21144b7791bae35d9bccfcfe37a"
+checksum = "6a88f1bda2bd75b0452a14784937d796722fdebfe50df998aeb3f0b7603019a9"
dependencies = [
"wasm-bindgen",
]
@@ -6355,7 +6450,7 @@ dependencies = [
"anyhow",
"serde",
"serde_json",
- "thiserror",
+ "thiserror 1.0.69",
"uuid",
]
@@ -6391,9 +6486,9 @@ dependencies = [
[[package]]
name = "kurbo"
-version = "0.11.0"
+version = "0.11.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6e5aa9f0f96a938266bdb12928a67169e8d22c6a786fda8ed984b85e6ba93c3c"
+checksum = "89234b2cc610a7dd927ebde6b41dd1a5d4214cffaef4cf1fb2195d592f92518f"
dependencies = [
"arrayvec",
"smallvec",
@@ -6420,7 +6515,7 @@ dependencies = [
"ctor",
"ec4rs",
"env_logger 0.11.5",
- "futures 0.3.30",
+ "futures 0.3.31",
"fuzzy",
"git",
"globset",
@@ -6478,7 +6573,7 @@ dependencies = [
"editor",
"env_logger 0.11.5",
"feature_flags",
- "futures 0.3.30",
+ "futures 0.3.31",
"google_ai",
"gpui",
"http_client",
@@ -6502,7 +6597,7 @@ dependencies = [
"telemetry_events",
"text",
"theme",
- "thiserror",
+ "thiserror 1.0.69",
"tiktoken-rs",
"ui",
"unindent",
@@ -6535,7 +6630,7 @@ dependencies = [
"copilot",
"editor",
"env_logger 0.11.5",
- "futures 0.3.30",
+ "futures 0.3.31",
"gpui",
"itertools 0.13.0",
"language",
@@ -6561,7 +6656,7 @@ dependencies = [
"async-tar",
"async-trait",
"collections",
- "futures 0.3.30",
+ "futures 0.3.31",
"gpui",
"http_client",
"language",
@@ -6618,12 +6713,6 @@ dependencies = [
"spin",
]
-[[package]]
-name = "lazycell"
-version = "1.3.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55"
-
[[package]]
name = "leb128"
version = "0.2.5"
@@ -6654,13 +6743,12 @@ dependencies = [
[[package]]
name = "libfuzzer-sys"
-version = "0.4.7"
+version = "0.4.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a96cfd5557eb82f2b83fed4955246c988d331975a002961b07c81584d107e7f7"
+checksum = "9b9569d2f74e257076d8c6bfa73fb505b46b851e51ddaecc825944aa3bed17fa"
dependencies = [
"arbitrary",
"cc",
- "once_cell",
]
[[package]]
@@ -6687,9 +6775,9 @@ dependencies = [
[[package]]
name = "libm"
-version = "0.2.8"
+version = "0.2.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058"
+checksum = "8355be11b20d696c8f18f6cc018c4e372165b1fa8126cef092399c9951984ffa"
[[package]]
name = "libmimalloc-sys"
@@ -6709,7 +6797,7 @@ checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d"
dependencies = [
"bitflags 2.6.0",
"libc",
- "redox_syscall 0.5.3",
+ "redox_syscall 0.5.7",
]
[[package]]
@@ -6738,7 +6826,7 @@ dependencies = [
"parking_lot",
"serde",
"serde_json",
- "thiserror",
+ "thiserror 1.0.69",
"tokio",
"wasm-bindgen",
"wasm-bindgen-futures",
@@ -6808,6 +6896,12 @@ version = "0.4.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89"
+[[package]]
+name = "litemap"
+version = "0.7.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "643cb0b8d4fcc284004d5fd0d67ccf61dfffadb7f75e1e71bc420f4688a3a704"
+
[[package]]
name = "live_kit_client"
version = "0.1.0"
@@ -6817,7 +6911,7 @@ dependencies = [
"collections",
"core-foundation 0.9.4",
"cpal",
- "futures 0.3.30",
+ "futures 0.3.31",
"gpui",
"http 0.2.12",
"http_client",
@@ -6868,7 +6962,7 @@ dependencies = [
"semver",
"serde",
"serde_json",
- "thiserror",
+ "thiserror 1.0.69",
"tokio",
]
@@ -6891,7 +6985,7 @@ dependencies = [
"serde",
"serde_json",
"sha2",
- "thiserror",
+ "thiserror 1.0.69",
"tokio",
"tokio-tungstenite 0.20.1",
"url",
@@ -6910,7 +7004,7 @@ dependencies = [
"prost 0.12.6",
"prost-types 0.12.6",
"serde",
- "thiserror",
+ "thiserror 1.0.69",
"tokio",
]
@@ -6919,10 +7013,10 @@ name = "livekit-runtime"
version = "0.3.1"
source = "git+https://github.com/zed-industries/rust-sdks?rev=4262308983646ab5b0e0802c3d8bc52154f99aab#4262308983646ab5b0e0802c3d8bc52154f99aab"
dependencies = [
- "async-io 2.3.4",
+ "async-io 2.4.0",
"async-std",
"async-task",
- "futures 0.3.30",
+ "futures 0.3.31",
]
[[package]]
@@ -6967,11 +7061,11 @@ dependencies = [
[[package]]
name = "lru"
-version = "0.12.4"
+version = "0.12.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "37ee39891760e7d94734f6f63fedc29a2e4a152f836120753a72503f09fcf904"
+checksum = "234cf4f4a04dc1f57e24b96cc0cd600cf2af460d4161ac5ecdd0af8e1f3b2a38"
dependencies = [
- "hashbrown 0.14.5",
+ "hashbrown 0.15.1",
]
[[package]]
@@ -6983,7 +7077,7 @@ dependencies = [
"collections",
"ctor",
"env_logger 0.11.5",
- "futures 0.3.30",
+ "futures 0.3.31",
"gpui",
"log",
"lsp-types",
@@ -7012,19 +7106,18 @@ dependencies = [
[[package]]
name = "lz4"
-version = "1.26.0"
+version = "1.28.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "958b4caa893816eea05507c20cfe47574a43d9a697138a7872990bba8a0ece68"
+checksum = "4d1febb2b4a79ddd1980eede06a8f7902197960aa0383ffcfdd62fe723036725"
dependencies = [
- "libc",
"lz4-sys",
]
[[package]]
name = "lz4-sys"
-version = "1.10.0"
+version = "1.11.1+lz4-1.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "109de74d5d2353660401699a4174a4ff23fcc649caf553df71933c7fb45ad868"
+checksum = "6bd8c0d6c6ed0cd30b3652886bb8711dc4bb01d637a68105a3d5158039b418e6"
dependencies = [
"cc",
"libc",
@@ -7067,7 +7160,7 @@ dependencies = [
"anyhow",
"assets",
"env_logger 0.11.5",
- "futures 0.3.30",
+ "futures 0.3.31",
"gpui",
"language",
"languages",
@@ -7155,6 +7248,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8ea1f30cedd69f0a2954655f7188c6a834246d2bcf1e315e2ac40c4b24dc9519"
dependencies = [
"cfg-if",
+ "rayon",
]
[[package]]
@@ -7208,7 +7302,7 @@ name = "media"
version = "0.1.0"
dependencies = [
"anyhow",
- "bindgen 0.70.1",
+ "bindgen",
"core-foundation 0.9.4",
"ctor",
"foreign-types 0.5.0",
@@ -7228,14 +7322,14 @@ version = "0.6.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b2cffa4ad52c6f791f4f8b15f0c05f9824b2ced1160e88cc393d64fff9a8ac64"
dependencies = [
- "rustix 0.38.35",
+ "rustix 0.38.40",
]
[[package]]
name = "memmap2"
-version = "0.9.4"
+version = "0.9.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fe751422e4a8caa417e13c3ea66452215d7d63e19e604f4980461212f3ae1322"
+checksum = "fd3f7eed9d3848f8b98834af67102b720745c4ec028fcd0aa0239277e7de374f"
dependencies = [
"libc",
]
@@ -7305,21 +7399,12 @@ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
[[package]]
name = "miniz_oxide"
-version = "0.7.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b8a240ddb74feaf34a79a7add65a741f3167852fba007066dcac1ca548d89c08"
-dependencies = [
- "adler",
- "simd-adler32",
-]
-
-[[package]]
-name = "miniz_oxide"
-version = "0.8.0"
+version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e2d80299ef12ff69b16a84bb182e3b9df68b5a91574d3d4fa6e41b65deec4df1"
dependencies = [
"adler2",
+ "simd-adler32",
]
[[package]]
@@ -7380,7 +7465,7 @@ dependencies = [
"collections",
"ctor",
"env_logger 0.11.5",
- "futures 0.3.30",
+ "futures 0.3.31",
"gpui",
"itertools 0.13.0",
"language",
@@ -7402,6 +7487,12 @@ version = "0.8.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a"
+[[package]]
+name = "multimap"
+version = "0.10.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "defc4c55412d89136f966bbb339008b474350e5e6e78d2714439c386b3137a03"
+
[[package]]
name = "naga"
version = "22.1.0"
@@ -7414,12 +7505,12 @@ dependencies = [
"cfg_aliases 0.1.1",
"codespan-reporting",
"hexf-parse",
- "indexmap 2.4.0",
+ "indexmap 2.6.0",
"log",
"rustc-hash 1.1.0",
"spirv",
"termcolor",
- "thiserror",
+ "thiserror 1.0.69",
"unicode-xid",
]
@@ -7469,7 +7560,7 @@ dependencies = [
"jupyter-serde",
"serde",
"serde_json",
- "thiserror",
+ "thiserror 1.0.69",
"uuid",
]
@@ -7484,7 +7575,7 @@ dependencies = [
"log",
"ndk-sys",
"num_enum",
- "thiserror",
+ "thiserror 1.0.69",
]
[[package]]
@@ -7532,7 +7623,7 @@ dependencies = [
"async-trait",
"async-watch",
"async_zip",
- "futures 0.3.30",
+ "futures 0.3.31",
"http_client",
"log",
"paths",
@@ -7818,7 +7909,7 @@ version = "0.8.0-pre"
source = "git+https://github.com/KillTheMule/nvim-rs?branch=master#69500bae73b8b3f02a05b7bee621a0d0e633da6c"
dependencies = [
"async-trait",
- "futures 0.3.30",
+ "futures 0.3.31",
"log",
"parity-tokio-ipc",
"rmp",
@@ -7839,13 +7930,13 @@ dependencies = [
[[package]]
name = "object"
-version = "0.36.4"
+version = "0.36.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "084f1a5821ac4c651660a94a7153d27ac9d8a53736203f58b31945ded098070a"
+checksum = "aedf0a2d09c573ed1d8d85b30c119153926a2b36dce0ab28322c09a117a4683e"
dependencies = [
"crc32fast",
- "hashbrown 0.14.5",
- "indexmap 2.4.0",
+ "hashbrown 0.15.1",
+ "indexmap 2.6.0",
"memchr",
]
@@ -7877,7 +7968,7 @@ name = "ollama"
version = "0.1.0"
dependencies = [
"anyhow",
- "futures 0.3.30",
+ "futures 0.3.31",
"http_client",
"schemars",
"serde",
@@ -7886,9 +7977,9 @@ dependencies = [
[[package]]
name = "once_cell"
-version = "1.19.0"
+version = "1.20.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92"
+checksum = "1261fe7e33c73b354eab43b1273a57c8f967d0391e80353e51f764ac02cf6775"
[[package]]
name = "oo7"
@@ -7898,7 +7989,7 @@ checksum = "8fc6ce4692fbfd044ce22ca07dcab1a30fa12432ca2aa5b1294eca50d3332a24"
dependencies = [
"aes",
"async-fs 2.1.2",
- "async-io 2.3.4",
+ "async-io 2.4.0",
"async-lock 3.4.0",
"async-net 2.0.0",
"blocking",
@@ -7906,7 +7997,7 @@ dependencies = [
"cipher",
"digest",
"endi",
- "futures-lite 2.3.0",
+ "futures-lite 2.5.0",
"futures-util",
"hkdf",
"hmac",
@@ -7931,9 +8022,9 @@ checksum = "b410bbe7e14ab526a0e86877eb47c6996a2bd7746f027ba551028c925390e4e9"
[[package]]
name = "open"
-version = "5.3.0"
+version = "5.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "61a877bf6abd716642a53ef1b89fb498923a4afca5c754f9050b4d081c05c4b3"
+checksum = "3ecd52f0b8d15c40ce4820aa251ed5de032e5d91fab27f7db2f40d42a8bdf69c"
dependencies = [
"is-wsl",
"libc",
@@ -7945,7 +8036,7 @@ name = "open_ai"
version = "0.1.0"
dependencies = [
"anyhow",
- "futures 0.3.30",
+ "futures 0.3.31",
"http_client",
"schemars",
"serde",
@@ -7967,9 +8058,9 @@ dependencies = [
[[package]]
name = "openssl"
-version = "0.10.66"
+version = "0.10.68"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9529f4786b70a3e8c61e11179af17ab6188ad8d0ded78c5529441ed39d4bd9c1"
+checksum = "6174bc48f102d208783c2c84bf931bb75927a617866870de8a4ea85597f871f5"
dependencies = [
"bitflags 2.6.0",
"cfg-if",
@@ -7999,18 +8090,18 @@ checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf"
[[package]]
name = "openssl-src"
-version = "300.3.1+3.3.1"
+version = "300.4.0+3.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7259953d42a81bf137fbbd73bd30a8e1914d6dce43c2b90ed575783a22608b91"
+checksum = "a709e02f2b4aca747929cca5ed248880847c650233cf8b8cdc48f40aaf4898a6"
dependencies = [
"cc",
]
[[package]]
name = "openssl-sys"
-version = "0.9.103"
+version = "0.9.104"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7f9e8deee91df40a943c71b917e5874b951d32a802526c85721ce3b776c929d6"
+checksum = "45abf306cbf99debc8195b66b7346498d7b10c210de50418b5ccd7ceba08c741"
dependencies = [
"cc",
"libc",
@@ -8196,7 +8287,7 @@ version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9981e32fb75e004cc148f5fb70342f393830e0a4aa62e3cc93b50976218d42b6"
dependencies = [
- "futures 0.3.30",
+ "futures 0.3.31",
"libc",
"log",
"rand 0.7.3",
@@ -8228,7 +8319,7 @@ checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8"
dependencies = [
"cfg-if",
"libc",
- "redox_syscall 0.5.3",
+ "redox_syscall 0.5.7",
"smallvec",
"windows-targets 0.52.6",
]
@@ -8322,7 +8413,7 @@ version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "18f596653ba4ac51bdecbb4ef6773bc7f56042dc13927910de1684ad3d32aa12"
dependencies = [
- "bytes 1.7.2",
+ "bytes 1.8.0",
"chrono",
"pbjson",
"pbjson-build",
@@ -8388,20 +8479,20 @@ dependencies = [
[[package]]
name = "pest"
-version = "2.7.11"
+version = "2.7.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cd53dff83f26735fdc1ca837098ccf133605d794cdae66acfc2bfac3ec809d95"
+checksum = "879952a81a83930934cbf1786752d6dedc3b1f29e8f8fb2ad1d0a36f377cf442"
dependencies = [
"memchr",
- "thiserror",
+ "thiserror 1.0.69",
"ucd-trie",
]
[[package]]
name = "pest_derive"
-version = "2.7.11"
+version = "2.7.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2a548d2beca6773b1c244554d36fcf8548a8a58e74156968211567250e48e49a"
+checksum = "d214365f632b123a47fd913301e14c946c61d1c183ee245fa76eb752e59a02dd"
dependencies = [
"pest",
"pest_generator",
@@ -8409,9 +8500,9 @@ dependencies = [
[[package]]
name = "pest_generator"
-version = "2.7.11"
+version = "2.7.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3c93a82e8d145725dcbaf44e5ea887c8a869efdcc28706df2d08c69e17077183"
+checksum = "eb55586734301717aea2ac313f50b2eb8f60d2fc3dc01d190eefa2e625f60c4e"
dependencies = [
"pest",
"pest_meta",
@@ -8422,9 +8513,9 @@ dependencies = [
[[package]]
name = "pest_meta"
-version = "2.7.11"
+version = "2.7.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a941429fea7e08bedec25e4f6785b6ffaacc6b755da98df5ef3e7dcf4a124c4f"
+checksum = "b75da2a70cf4d9cb76833c990ac9cd3923c9a8905a8929789ce347c84564d03d"
dependencies = [
"once_cell",
"pest",
@@ -8798,7 +8889,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b4c5cc86750666a3ed20bdaf5ca2a0344f9c67674cae0515bec2da16fbaa47db"
dependencies = [
"fixedbitset",
- "indexmap 2.4.0",
+ "indexmap 2.6.0",
]
[[package]]
@@ -8896,18 +8987,18 @@ checksum = "5be167a7af36ee22fe3115051bc51f6e6c7054c9348e28deb4f49bd6f705a315"
[[package]]
name = "pin-project"
-version = "1.1.5"
+version = "1.1.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b6bf43b791c5b9e34c3d182969b4abb522f9343702850a2e57f460d00d09b4b3"
+checksum = "be57f64e946e500c8ee36ef6331845d40a93055567ec57e8fae13efd33759b95"
dependencies = [
"pin-project-internal",
]
[[package]]
name = "pin-project-internal"
-version = "1.1.5"
+version = "1.1.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2f38a4412a78282e09a2cf38d195ea5420d15ba0602cb375210efbc877243965"
+checksum = "3c0f5fad0874fc7abcd4d750e76917eaebbecaa2c20bde22e1dbeeba8beb758c"
dependencies = [
"proc-macro2",
"quote",
@@ -8916,9 +9007,9 @@ dependencies = [
[[package]]
name = "pin-project-lite"
-version = "0.2.14"
+version = "0.2.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bda66fc9667c18cb2758a2ac84d1167245054bcf85d5d1aaa6923f45801bdd02"
+checksum = "915a1e146535de9163f3987b8944ed8cf49a18bb0056bcebcdcece385cece4ff"
[[package]]
name = "pin-utils"
@@ -8933,7 +9024,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "96c8c490f422ef9a4efd2cb5b42b76c8613d7e7dfc1caf667b8a3350a5acc066"
dependencies = [
"atomic-waker",
- "fastrand 2.1.1",
+ "fastrand 2.2.0",
"futures-io",
]
@@ -8970,9 +9061,9 @@ dependencies = [
[[package]]
name = "pkg-config"
-version = "0.3.30"
+version = "0.3.31"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec"
+checksum = "953ec861398dccce10c670dfeaf3ec4911ca479e9c02154b3a215178c5f566f2"
[[package]]
name = "plist"
@@ -8981,7 +9072,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "42cf17e9a1800f5f396bc67d193dc9411b59012a5876445ef450d449881e1016"
dependencies = [
"base64 0.22.1",
- "indexmap 2.4.0",
+ "indexmap 2.6.0",
"quick-xml 0.32.0",
"serde",
"time",
@@ -8989,9 +9080,9 @@ dependencies = [
[[package]]
name = "plotters"
-version = "0.3.6"
+version = "0.3.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a15b6eccb8484002195a3e44fe65a4ce8e93a625797a063735536fd59cb01cf3"
+checksum = "5aeb6f403d7a4911efb1e33402027fc44f29b5bf6def3effcc22d7bb75f2b747"
dependencies = [
"num-traits",
"plotters-backend",
@@ -9002,30 +9093,30 @@ dependencies = [
[[package]]
name = "plotters-backend"
-version = "0.3.6"
+version = "0.3.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "414cec62c6634ae900ea1c56128dfe87cf63e7caece0852ec76aba307cebadb7"
+checksum = "df42e13c12958a16b3f7f4386b9ab1f3e7933914ecea48da7139435263a4172a"
[[package]]
name = "plotters-svg"
-version = "0.3.6"
+version = "0.3.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "81b30686a7d9c3e010b84284bdd26a29f2138574f52f5eb6f794fc0ad924e705"
+checksum = "51bae2ac328883f7acdfea3d66a7c35751187f870bc81f94563733a154d7a670"
dependencies = [
"plotters-backend",
]
[[package]]
name = "png"
-version = "0.17.13"
+version = "0.17.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "06e4b0d3d1312775e782c86c91a111aa1f910cbb65e1337f9975b5f9a554b5e1"
+checksum = "52f9d46a34a05a6a57566bc2bfae066ef07585a6e3fa30fbbdff5936380623f0"
dependencies = [
"bitflags 1.3.2",
"crc32fast",
"fdeflate",
"flate2",
- "miniz_oxide 0.7.4",
+ "miniz_oxide",
]
[[package]]
@@ -9046,15 +9137,15 @@ dependencies = [
[[package]]
name = "polling"
-version = "3.7.3"
+version = "3.7.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cc2790cd301dec6cd3b7a025e4815cf825724a51c98dccfe6a3e55f05ffb6511"
+checksum = "a604568c3202727d1507653cb121dbd627a58684eb09a820fd746bee38b4442f"
dependencies = [
"cfg-if",
"concurrent-queue",
"hermit-abi 0.4.0",
"pin-project-lite",
- "rustix 0.38.35",
+ "rustix 0.38.40",
"tracing",
"windows-sys 0.59.0",
]
@@ -9073,13 +9164,13 @@ checksum = "af3fb618632874fb76937c2361a7f22afd393c982a2165595407edc75b06d3c1"
dependencies = [
"atomic",
"crossbeam-queue",
- "futures 0.3.30",
+ "futures 0.3.31",
"log",
"parking_lot",
"pin-project",
"pollster",
"static_assertions",
- "thiserror",
+ "thiserror 1.0.69",
]
[[package]]
@@ -9146,9 +9237,9 @@ dependencies = [
[[package]]
name = "prettyplease"
-version = "0.2.22"
+version = "0.2.25"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "479cf940fbbb3426c32c5d5176f62ad57549a0bb84773423ba8be9d089f5faba"
+checksum = "64d1ec885c64d0457d564db4ec299b2dae3f9c02808b8ad9c3a089c591b18033"
dependencies = [
"proc-macro2",
"syn 2.0.87",
@@ -9160,7 +9251,7 @@ version = "3.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8ecf48c7ca261d60b74ab1a7b20da18bede46776b2e55535cb958eb595c5fa7b"
dependencies = [
- "toml_edit 0.22.20",
+ "toml_edit 0.22.22",
]
[[package]]
@@ -9187,6 +9278,28 @@ dependencies = [
"version_check",
]
+[[package]]
+name = "proc-macro-error-attr2"
+version = "2.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "96de42df36bb9bba5542fe9f1a054b8cc87e172759a1868aa05c1f3acc89dfc5"
+dependencies = [
+ "proc-macro2",
+ "quote",
+]
+
+[[package]]
+name = "proc-macro-error2"
+version = "2.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "11ec05c52be0a07b08061f7dd003e7d7092e0472bc731b4af7bb1ef876109802"
+dependencies = [
+ "proc-macro-error-attr2",
+ "proc-macro2",
+ "quote",
+ "syn 2.0.87",
+]
+
[[package]]
name = "proc-macro2"
version = "1.0.89"
@@ -9228,7 +9341,7 @@ dependencies = [
"env_logger 0.11.5",
"fancy-regex 0.14.0",
"fs",
- "futures 0.3.30",
+ "futures 0.3.31",
"fuzzy",
"git",
"git2",
@@ -9312,7 +9425,7 @@ version = "0.1.0"
dependencies = [
"anyhow",
"editor",
- "futures 0.3.30",
+ "futures 0.3.31",
"fuzzy",
"gpui",
"language",
@@ -9340,7 +9453,7 @@ dependencies = [
"memchr",
"parking_lot",
"protobuf",
- "thiserror",
+ "thiserror 1.0.69",
]
[[package]]
@@ -9349,7 +9462,7 @@ version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "444879275cb4fd84958b1a1d5420d15e6fcf7c235fe47f053c9c2a80aceb6001"
dependencies = [
- "bytes 1.7.2",
+ "bytes 1.8.0",
"prost-derive 0.9.0",
]
@@ -9359,7 +9472,7 @@ version = "0.12.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "deb1435c188b76130da55f17a466d252ff7b1418b2ad3e037d127b94e3411f29"
dependencies = [
- "bytes 1.7.2",
+ "bytes 1.8.0",
"prost-derive 0.12.6",
]
@@ -9369,12 +9482,12 @@ version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "62941722fb675d463659e49c4f3fe1fe792ff24fe5bbaa9c08cd3b98a1c354f5"
dependencies = [
- "bytes 1.7.2",
+ "bytes 1.8.0",
"heck 0.3.3",
"itertools 0.10.5",
"lazy_static",
"log",
- "multimap",
+ "multimap 0.8.3",
"petgraph",
"prost 0.9.0",
"prost-types 0.9.0",
@@ -9389,11 +9502,11 @@ version = "0.12.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "22505a5c94da8e3b7c2996394d1c933236c4d743e81a410bcca4e6989fc066a4"
dependencies = [
- "bytes 1.7.2",
- "heck 0.4.1",
- "itertools 0.10.5",
+ "bytes 1.8.0",
+ "heck 0.5.0",
+ "itertools 0.12.1",
"log",
- "multimap",
+ "multimap 0.10.0",
"once_cell",
"petgraph",
"prettyplease",
@@ -9424,7 +9537,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "81bddcdb20abf9501610992b6759a4c888aef7d1a7247ef75e2404275ac24af1"
dependencies = [
"anyhow",
- "itertools 0.10.5",
+ "itertools 0.12.1",
"proc-macro2",
"quote",
"syn 2.0.87",
@@ -9436,7 +9549,7 @@ version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "534b7a0e836e3c482d2693070f982e39e7611da9695d4d1f5a4b186b51faef0a"
dependencies = [
- "bytes 1.7.2",
+ "bytes 1.8.0",
"prost 0.9.0",
]
@@ -9468,9 +9581,9 @@ checksum = "106dd99e98437432fed6519dedecfade6a06a73bb7b2a1e019fdd2bee5778d94"
[[package]]
name = "psm"
-version = "0.1.21"
+version = "0.1.24"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5787f7cda34e3033a72192c018bc5883100330f362ef279a8cbccfce8bb4e874"
+checksum = "200b9ff220857e53e184257720a14553b2f4aa02577d2ed9842d45d4b9654810"
dependencies = [
"cc",
]
@@ -9550,9 +9663,9 @@ dependencies = [
[[package]]
name = "quick-xml"
-version = "0.34.0"
+version = "0.36.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6f24d770aeca0eacb81ac29dfbc55ebcc09312fdd1f8bbecdc7e4a84e000e3b4"
+checksum = "f7649a7b4df05aed9ea7ec6f628c67c9953a43869b8bc50929569b2999d443fe"
dependencies = [
"memchr",
]
@@ -9577,45 +9690,49 @@ dependencies = [
[[package]]
name = "quinn"
-version = "0.11.5"
+version = "0.11.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8c7c5fdde3cdae7203427dc4f0a68fe0ed09833edc525a03456b153b79828684"
+checksum = "62e96808277ec6f97351a2380e6c25114bc9e67037775464979f3037c92d05ef"
dependencies = [
- "bytes 1.7.2",
+ "bytes 1.8.0",
"pin-project-lite",
"quinn-proto",
"quinn-udp",
"rustc-hash 2.0.0",
- "rustls 0.23.13",
+ "rustls 0.23.16",
"socket2 0.5.7",
- "thiserror",
+ "thiserror 2.0.3",
"tokio",
"tracing",
]
[[package]]
name = "quinn-proto"
-version = "0.11.8"
+version = "0.11.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fadfaed2cd7f389d0161bb73eeb07b7b78f8691047a6f3e73caaeae55310a4a6"
+checksum = "a2fe5ef3495d7d2e377ff17b1a8ce2ee2ec2a18cde8b6ad6619d65d0701c135d"
dependencies = [
- "bytes 1.7.2",
+ "bytes 1.8.0",
+ "getrandom 0.2.15",
"rand 0.8.5",
"ring",
"rustc-hash 2.0.0",
- "rustls 0.23.13",
+ "rustls 0.23.16",
+ "rustls-pki-types",
"slab",
- "thiserror",
+ "thiserror 2.0.3",
"tinyvec",
"tracing",
+ "web-time",
]
[[package]]
name = "quinn-udp"
-version = "0.5.5"
+version = "0.5.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4fe68c2e9e1a1234e218683dbdf9f9dfcb094113c5ac2b938dfcb9bab4c4140b"
+checksum = "7d5a626c6807713b15cac82a6acaccd6043c9a5408c24baae07611fec3f243da"
dependencies = [
+ "cfg_aliases 0.2.1",
"libc",
"once_cell",
"socket2 0.5.7",
@@ -9745,22 +9862,23 @@ dependencies = [
"rand_chacha 0.3.1",
"simd_helpers",
"system-deps",
- "thiserror",
+ "thiserror 1.0.69",
"v_frame",
"wasm-bindgen",
]
[[package]]
name = "ravif"
-version = "0.11.10"
+version = "0.11.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a8f0bfd976333248de2078d350bfdf182ff96e168a24d23d2436cef320dd4bdd"
+checksum = "2413fd96bd0ea5cdeeb37eaf446a22e6ed7b981d792828721e74ded1980a45c6"
dependencies = [
"avif-serialize",
"imgref",
"loop9",
"quick-error",
"rav1e",
+ "rayon",
"rgb",
]
@@ -9804,9 +9922,9 @@ dependencies = [
[[package]]
name = "read-fonts"
-version = "0.20.0"
+version = "0.22.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8c141b9980e1150201b2a3a32879001c8f975fe313ec3df5471a9b5c79a880cd"
+checksum = "4a04b892cb6f91951f144c33321843790c8574c825aafdb16d815fd7183b5229"
dependencies = [
"bytemuck",
"font-types",
@@ -9820,7 +9938,7 @@ dependencies = [
"auto_update",
"editor",
"file_finder",
- "futures 0.3.30",
+ "futures 0.3.31",
"fuzzy",
"gpui",
"itertools 0.13.0",
@@ -9857,18 +9975,9 @@ dependencies = [
[[package]]
name = "redox_syscall"
-version = "0.4.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa"
-dependencies = [
- "bitflags 1.3.2",
-]
-
-[[package]]
-name = "redox_syscall"
-version = "0.5.3"
+version = "0.5.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2a908a6e00f1fdd0dfd9c0eb08ce85126f6d8bbda50017e74bc4a4b7d4a926a4"
+checksum = "9b6dfecf2c74bce2466cabf93f6664d6998a69eb21e39f4207930065b27b771f"
dependencies = [
"bitflags 2.6.0",
]
@@ -9881,7 +9990,7 @@ checksum = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43"
dependencies = [
"getrandom 0.2.15",
"libredox",
- "thiserror",
+ "thiserror 1.0.69",
]
[[package]]
@@ -9906,14 +10015,14 @@ dependencies = [
[[package]]
name = "regex"
-version = "1.10.6"
+version = "1.11.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4219d74c6b67a3654a9fbebc4b419e22126d13d2f3c4a07ee0cb61ff79a79619"
+checksum = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191"
dependencies = [
"aho-corasick",
"memchr",
- "regex-automata 0.4.7",
- "regex-syntax 0.8.4",
+ "regex-automata 0.4.9",
+ "regex-syntax 0.8.5",
]
[[package]]
@@ -9927,13 +10036,13 @@ dependencies = [
[[package]]
name = "regex-automata"
-version = "0.4.7"
+version = "0.4.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "38caf58cc5ef2fed281f89292ef23f6365465ed9a41b7a7754eb4e26496c92df"
+checksum = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908"
dependencies = [
"aho-corasick",
"memchr",
- "regex-syntax 0.8.4",
+ "regex-syntax 0.8.5",
]
[[package]]
@@ -9950,9 +10059,9 @@ checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1"
[[package]]
name = "regex-syntax"
-version = "0.8.4"
+version = "0.8.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7a66a03ae7c801facd77a29370b4faec201768915ac14a721ba36f20bc9c209b"
+checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c"
[[package]]
name = "release_channel"
@@ -9970,7 +10079,7 @@ dependencies = [
"async-trait",
"collections",
"fs",
- "futures 0.3.30",
+ "futures 0.3.31",
"gpui",
"itertools 0.13.0",
"log",
@@ -9984,7 +10093,7 @@ dependencies = [
"shlex",
"smol",
"tempfile",
- "thiserror",
+ "thiserror 1.0.69",
"util",
"which 6.0.3",
]
@@ -10004,7 +10113,7 @@ dependencies = [
"env_logger 0.11.5",
"fork",
"fs",
- "futures 0.3.30",
+ "futures 0.3.31",
"git",
"git_hosting_providers",
"gpui",
@@ -10058,7 +10167,7 @@ dependencies = [
"editor",
"env_logger 0.11.5",
"feature_flags",
- "futures 0.3.30",
+ "futures 0.3.31",
"gpui",
"http_client",
"image",
@@ -10098,7 +10207,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dd67538700a17451e7cba03ac727fb961abb7607553461627b97de0b89cf4a62"
dependencies = [
"base64 0.21.7",
- "bytes 1.7.2",
+ "bytes 1.8.0",
"encoding_rs",
"futures-core",
"futures-util",
@@ -10141,7 +10250,7 @@ version = "0.12.8"
source = "git+https://github.com/zed-industries/reqwest.git?rev=fd110f6998da16bbca97b6dddda9be7827c50e29#fd110f6998da16bbca97b6dddda9be7827c50e29"
dependencies = [
"base64 0.22.1",
- "bytes 1.7.2",
+ "bytes 1.8.0",
"encoding_rs",
"futures-core",
"futures-util",
@@ -10149,7 +10258,7 @@ dependencies = [
"http 1.1.0",
"http-body 1.0.1",
"http-body-util",
- "hyper 1.4.1",
+ "hyper 1.5.0",
"hyper-rustls 0.27.3",
"hyper-util",
"ipnet",
@@ -10160,9 +10269,9 @@ dependencies = [
"percent-encoding",
"pin-project-lite",
"quinn",
- "rustls 0.23.13",
+ "rustls 0.23.16",
"rustls-native-certs 0.8.0",
- "rustls-pemfile 2.1.3",
+ "rustls-pemfile 2.2.0",
"rustls-pki-types",
"serde",
"serde_json",
@@ -10187,8 +10296,8 @@ name = "reqwest_client"
version = "0.1.0"
dependencies = [
"anyhow",
- "bytes 1.7.2",
- "futures 0.3.30",
+ "bytes 1.8.0",
+ "futures 0.3.31",
"gpui",
"http_client",
"log",
@@ -10225,9 +10334,9 @@ dependencies = [
[[package]]
name = "rgb"
-version = "0.8.49"
+version = "0.8.50"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "09cd5a1e95672f201913966f39baf355b53b5d92833431847295ae0346a5b939"
+checksum = "57397d16646700483b67d2dd6511d79318f9d057fdbd21a4066aeac8b41d310a"
dependencies = [
"bytemuck",
]
@@ -10236,7 +10345,7 @@ dependencies = [
name = "rich_text"
version = "0.1.0"
dependencies = [
- "futures 0.3.30",
+ "futures 0.3.31",
"gpui",
"language",
"linkify",
@@ -10269,7 +10378,7 @@ checksum = "9008cd6385b9e161d8229e1f6549dd23c3d022f132a2ea37ac3a10ac4935779b"
dependencies = [
"bitvec",
"bytecheck",
- "bytes 1.7.2",
+ "bytes 1.8.0",
"hashbrown 0.12.3",
"ptr_meta",
"rend",
@@ -10319,7 +10428,7 @@ checksum = "6006a627c1a38d37f3d3a85c6575418cfe34a5392d60a686d0071e1c8d427acb"
dependencies = [
"cpal",
"hound",
- "thiserror",
+ "thiserror 1.0.69",
]
[[package]]
@@ -10356,7 +10465,7 @@ dependencies = [
"chrono",
"collections",
"env_logger 0.11.5",
- "futures 0.3.30",
+ "futures 0.3.31",
"gpui",
"parking_lot",
"proto",
@@ -10401,11 +10510,11 @@ dependencies = [
"async-dispatcher",
"async-std",
"base64 0.22.1",
- "bytes 1.7.2",
+ "bytes 1.8.0",
"chrono",
"data-encoding",
"dirs 5.0.1",
- "futures 0.3.30",
+ "futures 0.3.31",
"glob",
"jupyter-serde",
"rand 0.8.5",
@@ -10461,7 +10570,7 @@ checksum = "b082d80e3e3cc52b2ed634388d436fe1f4de6af5786cc2de9ba9737527bdf555"
dependencies = [
"arrayvec",
"borsh",
- "bytes 1.7.2",
+ "bytes 1.8.0",
"num-traits",
"rand 0.8.5",
"rkyv",
@@ -10512,9 +10621,9 @@ dependencies = [
[[package]]
name = "rustix"
-version = "0.38.35"
+version = "0.38.40"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a85d50532239da68e9addb745ba38ff4612a242c1c7ceea689c4bc7c2f43c36f"
+checksum = "99e4ea3e1cdc4b559b8e5650f9c8e5998e3e5c1343b4eaf034565f32318d63c0"
dependencies = [
"bitflags 2.6.0",
"errno 0.3.9",
@@ -10533,7 +10642,7 @@ checksum = "a25c3aad9fc1424eb82c88087789a7d938e1829724f3e4043163baf0d13cfc12"
dependencies = [
"errno 0.3.9",
"libc",
- "rustix 0.38.35",
+ "rustix 0.38.40",
]
[[package]]
@@ -10550,9 +10659,9 @@ dependencies = [
[[package]]
name = "rustls"
-version = "0.23.13"
+version = "0.23.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f2dabaac7466917e566adb06783a81ca48944c6898a1b08b9374106dd671f4c8"
+checksum = "eee87ff5d9b36712a58574e12e9f0ea80f915a5b0ac518d322b24a465617925e"
dependencies = [
"once_cell",
"ring",
@@ -10581,7 +10690,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fcaf18a4f2be7326cd874a5fa579fae794320a0f388d365dca7e480e55f83f8a"
dependencies = [
"openssl-probe",
- "rustls-pemfile 2.1.3",
+ "rustls-pemfile 2.2.0",
"rustls-pki-types",
"schannel",
"security-framework",
@@ -10598,19 +10707,21 @@ dependencies = [
[[package]]
name = "rustls-pemfile"
-version = "2.1.3"
+version = "2.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "196fe16b00e106300d3e45ecfcb764fa292a535d7326a29a5875c579c7417425"
+checksum = "dce314e5fee3f39953d46bb63bb8a46d40c2f8fb7cc5a3b6cab2bde9721d6e50"
dependencies = [
- "base64 0.22.1",
"rustls-pki-types",
]
[[package]]
name = "rustls-pki-types"
-version = "1.8.0"
+version = "1.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fc0a2ce646f8655401bb81e7927b812614bd5d91dbc968696be50603510fcaf0"
+checksum = "16f1201b3c9a7ee8039bcadc17b7e605e2945b27eee7631788c1bd2b0643674b"
+dependencies = [
+ "web-time",
+]
[[package]]
name = "rustls-webpki"
@@ -10635,9 +10746,9 @@ dependencies = [
[[package]]
name = "rustversion"
-version = "1.0.17"
+version = "1.0.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "955d28af4278de8121b7ebeb796b6a45735dc01436d898801014aced2773a3d6"
+checksum = "0e819f2bc632f285be6d7cd36e25940d45b2391dd6d9b939e79de557f7014248"
[[package]]
name = "rustybuzz"
@@ -10682,11 +10793,11 @@ dependencies = [
[[package]]
name = "schannel"
-version = "0.1.23"
+version = "0.1.26"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fbc91545643bcf3a0bbb6569265615222618bdf33ce4ffbbd13c4bbd4c093534"
+checksum = "01227be5826fa0690321a2ba6c5cd57a19cf3f6a09e76973b58e61de6ab9d1c1"
dependencies = [
- "windows-sys 0.52.0",
+ "windows-sys 0.59.0",
]
[[package]]
@@ -10756,12 +10867,12 @@ dependencies = [
[[package]]
name = "sea-bae"
-version = "0.2.0"
+version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3bd3534a9978d0aa7edd2808dc1f8f31c4d0ecd31ddf71d997b3c98e9f3c9114"
+checksum = "f694a6ab48f14bc063cfadff30ab551d3c7e46d8f81836c51989d548f44a2a25"
dependencies = [
"heck 0.4.1",
- "proc-macro-error",
+ "proc-macro-error2",
"proc-macro2",
"quote",
"syn 2.0.87",
@@ -10777,7 +10888,7 @@ dependencies = [
"async-trait",
"bigdecimal",
"chrono",
- "futures 0.3.30",
+ "futures 0.3.31",
"log",
"ouroboros",
"rust_decimal",
@@ -10788,7 +10899,7 @@ dependencies = [
"serde_json",
"sqlx",
"strum 0.26.3",
- "thiserror",
+ "thiserror 1.0.69",
"time",
"tracing",
"url",
@@ -10797,9 +10908,9 @@ dependencies = [
[[package]]
name = "sea-orm-macros"
-version = "1.1.0-rc.1"
+version = "1.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "07aadcb2ee9fad78a3bf74f6430ba94865ab4d8ad237f978e99dafa97ee0df57"
+checksum = "3a239e3bb1b566ad4ec2654d0d193d6ceddfd733487edc9c21a64d214c773910"
dependencies = [
"heck 0.4.1",
"proc-macro2",
@@ -10811,13 +10922,12 @@ dependencies = [
[[package]]
name = "sea-query"
-version = "0.32.0-rc.1"
+version = "0.32.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6fba498acd58ce434669f273505cd07737065472eb541c3f813c7f4ce33993f5"
+checksum = "ff504d13b5e4b52fffcf2fb203d0352a5722fa5151696db768933e41e1e591bb"
dependencies = [
"bigdecimal",
"chrono",
- "educe",
"inherent",
"ordered-float 3.9.2",
"rust_decimal",
@@ -10828,9 +10938,9 @@ dependencies = [
[[package]]
name = "sea-query-binder"
-version = "0.7.0-rc.1"
+version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "edc3296903e60ddc7c9f4601cd6ef31a4b1584bf22480587e00b9ef743071b57"
+checksum = "b0019f47430f7995af63deda77e238c17323359af241233ec768aba1faea7608"
dependencies = [
"bigdecimal",
"chrono",
@@ -10870,7 +10980,7 @@ dependencies = [
"client",
"collections",
"editor",
- "futures 0.3.30",
+ "futures 0.3.31",
"gpui",
"language",
"menu",
@@ -10915,9 +11025,9 @@ dependencies = [
[[package]]
name = "security-framework-sys"
-version = "2.11.1"
+version = "2.12.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "75da29fe9b9b08fe9d6b22b5b4bcbc75d8db3aa31e639aa56bb62e9d46bfceaf"
+checksum = "fa39c7303dc58b5543c94d22c1766b0d31f2ee58306363ea622b10bbc075eaa2"
dependencies = [
"core-foundation-sys",
"libc",
@@ -10942,7 +11052,7 @@ dependencies = [
"env_logger 0.11.5",
"feature_flags",
"fs",
- "futures 0.3.30",
+ "futures 0.3.31",
"futures-batch",
"gpui",
"heed",
@@ -10989,18 +11099,18 @@ dependencies = [
[[package]]
name = "serde"
-version = "1.0.209"
+version = "1.0.215"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "99fce0ffe7310761ca6bf9faf5115afbc19688edd00171d81b1bb1b116c63e09"
+checksum = "6513c1ad0b11a9376da888e3e0baa0077f1aed55c17f50e7b2397136129fb88f"
dependencies = [
"serde_derive",
]
[[package]]
name = "serde_derive"
-version = "1.0.209"
+version = "1.0.215"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a5831b979fd7b5439637af1752d535ff49f4860c0f341d1baeb6faf0f4242170"
+checksum = "ad1e866f866923f252f05c889987993144fb74e722403468a4ebd70c3cd756c0"
dependencies = [
"proc-macro2",
"quote",
@@ -11044,7 +11154,7 @@ version = "1.0.132"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d726bfaff4b320266d395898905d0eba0345aae23b54aee3a737e260fd46db03"
dependencies = [
- "indexmap 2.4.0",
+ "indexmap 2.6.0",
"itoa",
"memchr",
"ryu",
@@ -11053,12 +11163,13 @@ dependencies = [
[[package]]
name = "serde_json_lenient"
-version = "0.2.1"
+version = "0.2.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a5d0bae483150302560d7cb52e7932f39b69a6fbdd099e48d33ef060a8c9c078"
+checksum = "2bf0c7e21364d0e199dd2f6c339ca18d6fca75b69458a247e8b27ff1c92f5b86"
dependencies = [
- "indexmap 2.4.0",
+ "indexmap 2.6.0",
"itoa",
+ "memchr",
"ryu",
"serde",
]
@@ -11081,7 +11192,7 @@ checksum = "c7715380eec75f029a4ef7de39a9200e0a63823176b759d055b613f5a87df6a6"
dependencies = [
"percent-encoding",
"serde",
- "thiserror",
+ "thiserror 1.0.69",
]
[[package]]
@@ -11092,7 +11203,7 @@ checksum = "8cac3f1e2ca2fe333923a1ae72caca910b98ed0630bb35ef6f8c8517d6e81afa"
dependencies = [
"percent-encoding",
"serde",
- "thiserror",
+ "thiserror 1.0.69",
]
[[package]]
@@ -11108,9 +11219,9 @@ dependencies = [
[[package]]
name = "serde_spanned"
-version = "0.6.7"
+version = "0.6.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "eb5b1b31579f3811bf615c144393417496f152e12ac8b7663bf664f4a815306d"
+checksum = "87607cb1398ed59d48732e575a4c28a7a8ebf2454b964fe3f224f2afc07909e1"
dependencies = [
"serde",
]
@@ -11146,7 +11257,7 @@ dependencies = [
"collections",
"ec4rs",
"fs",
- "futures 0.3.30",
+ "futures 0.3.31",
"gpui",
"indoc",
"log",
@@ -11303,9 +11414,9 @@ dependencies = [
[[package]]
name = "simdutf8"
-version = "0.1.4"
+version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f27f6278552951f1f2b8cf9da965d10969b2efdea95a6ec47987ab46edfe263a"
+checksum = "e3a9fe34e3e7a50316060351f37187a3f546bce95496156754b601a5fa71b76e"
[[package]]
name = "similar"
@@ -11321,7 +11432,7 @@ checksum = "adc4e5204eb1910f40f9cfa375f6f05b68c3abac4b6fd879c8ff5e7ae8a0a085"
dependencies = [
"num-bigint",
"num-traits",
- "thiserror",
+ "thiserror 1.0.69",
"time",
]
@@ -11359,9 +11470,9 @@ checksum = "56199f7ddabf13fe5074ce809e7d3f42b42ae711800501b5b16ea82ad029c39d"
[[package]]
name = "skrifa"
-version = "0.20.0"
+version = "0.22.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "abea4738067b1e628c6ce28b2c216c19e9ea95715cdb332680e821c3bec2ef23"
+checksum = "8e1c44ad1f6c5bdd4eefed8326711b7dbda9ea45dfd36068c427d332aa382cbe"
dependencies = [
"bytemuck",
"read-fonts",
@@ -11459,7 +11570,7 @@ dependencies = [
"anyhow",
"collections",
"fs",
- "futures 0.3.30",
+ "futures 0.3.31",
"gpui",
"parking_lot",
"paths",
@@ -11505,9 +11616,9 @@ dependencies = [
[[package]]
name = "spdx"
-version = "0.10.6"
+version = "0.10.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "47317bbaf63785b53861e1ae2d11b80d6b624211d42cb20efcd210ee6f8a14bc"
+checksum = "bae30cc7bfe3656d60ee99bf6836f472b0c53dddcbf335e253329abb16e535a2"
dependencies = [
"smallvec",
]
@@ -11562,7 +11673,7 @@ version = "0.1.0"
dependencies = [
"anyhow",
"collections",
- "futures 0.3.30",
+ "futures 0.3.31",
"indoc",
"libsqlite3-sys",
"parking_lot",
@@ -11614,7 +11725,7 @@ dependencies = [
"atoi",
"bigdecimal",
"byteorder",
- "bytes 1.7.2",
+ "bytes 1.8.0",
"chrono",
"crc",
"crossbeam-queue",
@@ -11628,7 +11739,7 @@ dependencies = [
"hashbrown 0.14.5",
"hashlink 0.9.1",
"hex",
- "indexmap 2.4.0",
+ "indexmap 2.6.0",
"log",
"memchr",
"once_cell",
@@ -11642,7 +11753,7 @@ dependencies = [
"sha2",
"smallvec",
"sqlformat",
- "thiserror",
+ "thiserror 1.0.69",
"time",
"tokio",
"tokio-stream",
@@ -11702,7 +11813,7 @@ dependencies = [
"bigdecimal",
"bitflags 2.6.0",
"byteorder",
- "bytes 1.7.2",
+ "bytes 1.8.0",
"chrono",
"crc",
"digest",
@@ -11731,7 +11842,7 @@ dependencies = [
"smallvec",
"sqlx-core",
"stringprep",
- "thiserror",
+ "thiserror 1.0.69",
"time",
"tracing",
"uuid",
@@ -11775,7 +11886,7 @@ dependencies = [
"smallvec",
"sqlx-core",
"stringprep",
- "thiserror",
+ "thiserror 1.0.69",
"time",
"tracing",
"uuid",
@@ -11965,7 +12076,7 @@ dependencies = [
"collections",
"editor",
"env_logger 0.11.5",
- "futures 0.3.30",
+ "futures 0.3.31",
"gpui",
"http_client",
"language",
@@ -11990,7 +12101,7 @@ name = "supermaven_api"
version = "0.1.0"
dependencies = [
"anyhow",
- "futures 0.3.30",
+ "futures 0.3.31",
"http_client",
"paths",
"serde",
@@ -12000,15 +12111,15 @@ dependencies = [
[[package]]
name = "sval"
-version = "2.13.0"
+version = "2.13.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "53eb957fbc79a55306d5d25d87daf3627bc3800681491cda0709eef36c748bfe"
+checksum = "f6dc0f9830c49db20e73273ffae9b5240f63c42e515af1da1fceefb69fceafd8"
[[package]]
name = "sval_buffer"
-version = "2.13.0"
+version = "2.13.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "96e860aef60e9cbf37888d4953a13445abf523c534640d1f6174d310917c410d"
+checksum = "429922f7ad43c0ef8fd7309e14d750e38899e32eb7e8da656ea169dd28ee212f"
dependencies = [
"sval",
"sval_ref",
@@ -12016,18 +12127,18 @@ dependencies = [
[[package]]
name = "sval_dynamic"
-version = "2.13.0"
+version = "2.13.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ea3f2b07929a1127d204ed7cb3905049381708245727680e9139dac317ed556f"
+checksum = "68f16ff5d839396c11a30019b659b0976348f3803db0626f736764c473b50ff4"
dependencies = [
"sval",
]
[[package]]
name = "sval_fmt"
-version = "2.13.0"
+version = "2.13.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c4e188677497de274a1367c4bda15bd2296de4070d91729aac8f0a09c1abf64d"
+checksum = "c01c27a80b6151b0557f9ccbe89c11db571dc5f68113690c1e028d7e974bae94"
dependencies = [
"itoa",
"ryu",
@@ -12036,9 +12147,9 @@ dependencies = [
[[package]]
name = "sval_json"
-version = "2.13.0"
+version = "2.13.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "32f456c07dae652744781f2245d5e3b78e6a9ebad70790ac11eb15dbdbce5282"
+checksum = "0deef63c70da622b2a8069d8600cf4b05396459e665862e7bdb290fd6cf3f155"
dependencies = [
"itoa",
"ryu",
@@ -12047,9 +12158,9 @@ dependencies = [
[[package]]
name = "sval_nested"
-version = "2.13.0"
+version = "2.13.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "886feb24709f0476baaebbf9ac10671a50163caa7e439d7a7beb7f6d81d0a6fb"
+checksum = "a39ce5976ae1feb814c35d290cf7cf8cd4f045782fe1548d6bc32e21f6156e9f"
dependencies = [
"sval",
"sval_buffer",
@@ -12058,18 +12169,18 @@ dependencies = [
[[package]]
name = "sval_ref"
-version = "2.13.0"
+version = "2.13.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "be2e7fc517d778f44f8cb64140afa36010999565528d48985f55e64d45f369ce"
+checksum = "bb7c6ee3751795a728bc9316a092023529ffea1783499afbc5c66f5fabebb1fa"
dependencies = [
"sval",
]
[[package]]
name = "sval_serde"
-version = "2.13.0"
+version = "2.13.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "79bf66549a997ff35cd2114a27ac4b0c2843280f2cfa84b240d169ecaa0add46"
+checksum = "2a5572d0321b68109a343634e3a5d576bf131b82180c6c442dee06349dfc652a"
dependencies = [
"serde",
"sval",
@@ -12078,9 +12189,9 @@ dependencies = [
[[package]]
name = "svg_fmt"
-version = "0.4.3"
+version = "0.4.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "20e16a0f46cf5fd675563ef54f26e83e20f2366bcf027bcb3cc3ed2b98aaf2ca"
+checksum = "ce5d813d71d82c4cbc1742135004e4a79fd870214c155443451c139c9470a0aa"
[[package]]
name = "svgtypes"
@@ -12094,9 +12205,9 @@ dependencies = [
[[package]]
name = "swash"
-version = "0.1.18"
+version = "0.1.19"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "93cdc334a50fcc2aa3f04761af3b28196280a6aaadb1ef11215c478ae32615ac"
+checksum = "cbd59f3f359ddd2c95af4758c18270eddd9c730dde98598023cdabff472c2ca2"
dependencies = [
"skrifa",
"yazi",
@@ -12125,18 +12236,6 @@ dependencies = [
"unicode-ident",
]
-[[package]]
-name = "syn_derive"
-version = "0.1.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1329189c02ff984e9736652b1631330da25eaa6bc639089ed4915d25446cbe7b"
-dependencies = [
- "proc-macro-error",
- "proc-macro2",
- "quote",
- "syn 2.0.87",
-]
-
[[package]]
name = "sync_wrapper"
version = "0.1.2"
@@ -12161,6 +12260,17 @@ dependencies = [
"crossbeam-queue",
]
+[[package]]
+name = "synstructure"
+version = "0.13.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c8af7666ab7b6390ab78131fb5b0fce11d6b7a6951602017c35fa82800708971"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.87",
+]
+
[[package]]
name = "sys-locale"
version = "0.3.2"
@@ -12181,7 +12291,7 @@ dependencies = [
"memchr",
"ntapi",
"rayon",
- "windows 0.54.0",
+ "windows 0.57.0",
]
[[package]]
@@ -12250,7 +12360,7 @@ dependencies = [
"cap-std",
"fd-lock",
"io-lifetimes 2.0.3",
- "rustix 0.38.35",
+ "rustix 0.38.40",
"windows-sys 0.52.0",
"winx",
]
@@ -12315,7 +12425,7 @@ version = "0.1.0"
dependencies = [
"anyhow",
"collections",
- "futures 0.3.30",
+ "futures 0.3.31",
"gpui",
"hex",
"parking_lot",
@@ -12362,14 +12472,14 @@ dependencies = [
[[package]]
name = "tempfile"
-version = "3.12.0"
+version = "3.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "04cbcdd0c794ebb0d4cf35e88edd2f7d2c4c3e9a5a6dab322839b321c6a87a64"
+checksum = "28cce251fcbc87fac86a866eeb0d6c2d536fc16d06f184bb61aeae11aa4cee0c"
dependencies = [
"cfg-if",
- "fastrand 2.1.1",
+ "fastrand 2.2.0",
"once_cell",
- "rustix 0.38.35",
+ "rustix 0.38.40",
"windows-sys 0.59.0",
]
@@ -12401,7 +12511,7 @@ dependencies = [
"anyhow",
"collections",
"dirs 4.0.0",
- "futures 0.3.30",
+ "futures 0.3.31",
"gpui",
"libc",
"rand 0.8.5",
@@ -12415,7 +12525,7 @@ dependencies = [
"sysinfo",
"task",
"theme",
- "thiserror",
+ "thiserror 1.0.69",
"util",
"windows 0.58.0",
]
@@ -12426,7 +12536,7 @@ version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4f599bd7ca042cfdf8f4512b277c02ba102247820f9d9d4a9f521f496751a6ef"
dependencies = [
- "rustix 0.38.35",
+ "rustix 0.38.40",
"windows-sys 0.59.0",
]
@@ -12440,7 +12550,7 @@ dependencies = [
"db",
"dirs 4.0.0",
"editor",
- "futures 0.3.30",
+ "futures 0.3.31",
"gpui",
"itertools 0.13.0",
"language",
@@ -12492,7 +12602,7 @@ dependencies = [
"collections",
"derive_more",
"fs",
- "futures 0.3.30",
+ "futures 0.3.31",
"gpui",
"indexmap 1.9.3",
"log",
@@ -12556,7 +12666,16 @@ version = "1.0.69"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52"
dependencies = [
- "thiserror-impl",
+ "thiserror-impl 1.0.69",
+]
+
+[[package]]
+name = "thiserror"
+version = "2.0.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c006c85c7651b3cf2ada4584faa36773bd07bac24acfb39f3c431b36d7e667aa"
+dependencies = [
+ "thiserror-impl 2.0.3",
]
[[package]]
@@ -12570,6 +12689,17 @@ dependencies = [
"syn 2.0.87",
]
+[[package]]
+name = "thiserror-impl"
+version = "2.0.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f077553d607adc1caf65430528a576c757a71ed73944b66ebb58ef2bbd243568"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.87",
+]
+
[[package]]
name = "thread_local"
version = "1.1.8"
@@ -12697,6 +12827,16 @@ dependencies = [
"url",
]
+[[package]]
+name = "tinystr"
+version = "0.7.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9117f5d4db391c1cf6927e7bea3db74b9a1c1add8f7eda9ffd5364f40f57b82f"
+dependencies = [
+ "displaydoc",
+ "zerovec",
+]
+
[[package]]
name = "tinytemplate"
version = "1.2.1"
@@ -12760,12 +12900,12 @@ dependencies = [
[[package]]
name = "tokio"
-version = "1.40.0"
+version = "1.41.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e2b070231665d27ad9ec9b8df639893f46727666c6767db40317fbe920a5d998"
+checksum = "22cfb5bee7a6a52939ca9224d6ac897bb669134078daa8735560897f69de4d33"
dependencies = [
"backtrace",
- "bytes 1.7.2",
+ "bytes 1.8.0",
"libc",
"mio 1.0.2",
"parking_lot",
@@ -12824,7 +12964,7 @@ version = "0.26.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0c7bc40d0e5a97695bb96e27995cd3a08538541b0a846f65bba7a359f36700d4"
dependencies = [
- "rustls 0.23.13",
+ "rustls 0.23.16",
"rustls-pki-types",
"tokio",
]
@@ -12838,15 +12978,15 @@ dependencies = [
"either",
"futures-io",
"futures-util",
- "thiserror",
+ "thiserror 1.0.69",
"tokio",
]
[[package]]
name = "tokio-stream"
-version = "0.1.15"
+version = "0.1.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "267ac89e0bec6e691e5813911606935d77c476ff49024f98abcea3e7b15e37af"
+checksum = "4f4e6ce100d0eb49a2734f8c0812bcd324cf357d21810932c5df6b96ef2b86f1"
dependencies = [
"futures-core",
"pin-project-lite",
@@ -12886,7 +13026,7 @@ version = "0.7.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "61e7c3654c13bcd040d4a03abee2c75b1d14a37b423cf5a813ceae1cc903ec6a"
dependencies = [
- "bytes 1.7.2",
+ "bytes 1.8.0",
"futures-core",
"futures-io",
"futures-sink",
@@ -12924,7 +13064,7 @@ dependencies = [
"serde",
"serde_spanned",
"toml_datetime",
- "toml_edit 0.22.20",
+ "toml_edit 0.22.22",
]
[[package]]
@@ -12942,7 +13082,7 @@ version = "0.19.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421"
dependencies = [
- "indexmap 2.4.0",
+ "indexmap 2.6.0",
"serde",
"serde_spanned",
"toml_datetime",
@@ -12951,15 +13091,15 @@ dependencies = [
[[package]]
name = "toml_edit"
-version = "0.22.20"
+version = "0.22.22"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "583c44c02ad26b0c3f3066fe629275e50627026c51ac2e595cca4c230ce1ce1d"
+checksum = "4ae48d6208a266e853d946088ed816055e556cc6028c5e8e2b84d9fa5dd7c7f5"
dependencies = [
- "indexmap 2.4.0",
+ "indexmap 2.6.0",
"serde",
"serde_spanned",
"toml_datetime",
- "winnow 0.6.18",
+ "winnow 0.6.20",
]
[[package]]
@@ -13006,7 +13146,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f873044bf02dd1e8239e9c1293ea39dad76dc594ec16185d0a1bf31d8dc8d858"
dependencies = [
"bitflags 1.3.2",
- "bytes 1.7.2",
+ "bytes 1.8.0",
"futures-core",
"futures-util",
"http 0.2.12",
@@ -13024,7 +13164,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "61c5bb1d698276a2443e5ecfabc1008bf15a36c12e6a7176e7bf089ea9131140"
dependencies = [
"bitflags 2.6.0",
- "bytes 1.7.2",
+ "bytes 1.8.0",
"futures-core",
"futures-util",
"http 0.2.12",
@@ -13125,22 +13265,22 @@ dependencies = [
[[package]]
name = "tree-sitter"
-version = "0.23.0"
+version = "0.23.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "20f4cd3642c47a85052a887d86704f4eac272969f61b686bdd3f772122aabaff"
+checksum = "0203df02a3b6dd63575cc1d6e609edc2181c9a11867a271b25cfd2abff3ec5ca"
dependencies = [
"cc",
"regex",
- "regex-syntax 0.8.4",
+ "regex-syntax 0.8.5",
"tree-sitter-language",
"wasmtime-c-api-impl",
]
[[package]]
name = "tree-sitter-bash"
-version = "0.23.1"
+version = "0.23.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3aa5e1c6bd02c0053f3f68edcf5d8866b38a8640584279e30fca88149ce14dda"
+checksum = "329a4d48623ac337d42b1df84e81a1c9dbb2946907c102ca72db158c1964a52e"
dependencies = [
"cc",
"tree-sitter-language",
@@ -13158,9 +13298,9 @@ dependencies = [
[[package]]
name = "tree-sitter-cpp"
-version = "0.23.1"
+version = "0.23.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1d67e862242878d6ee50e1e5814f267ee3eea0168aea2cdbd700ccfb4c74b6d3"
+checksum = "df2196ea9d47b4ab4a31b9297eaa5a5d19a0b121dceb9f118f6790ad0ab94743"
dependencies = [
"cc",
"tree-sitter-language",
@@ -13168,9 +13308,9 @@ dependencies = [
[[package]]
name = "tree-sitter-css"
-version = "0.23.0"
+version = "0.23.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8d0018d6b1692a806f9cddaa1e5616951fd58840c39a0b21401b55ab3df12292"
+checksum = "25435a275adb3226b6fddab891bbc50d1a500774a44ceb97022a39666ccda75d"
dependencies = [
"cc",
"tree-sitter-language",
@@ -13198,9 +13338,9 @@ dependencies = [
[[package]]
name = "tree-sitter-embedded-template"
-version = "0.23.0"
+version = "0.23.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9644d7586ebe850c84037ee2f4804dda4a9348eef053be6b1e0d7712342a2495"
+checksum = "790063ef14e5b67556abc0b3be0ed863fb41d65ee791cf8c0b20eb42a1fa46af"
dependencies = [
"cc",
"tree-sitter-language",
@@ -13208,9 +13348,9 @@ dependencies = [
[[package]]
name = "tree-sitter-go"
-version = "0.23.1"
+version = "0.23.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "caf57626e4c9b6d6efaf8a8d5ee1241c5f178ae7bfdf693713ae6a774f01424e"
+checksum = "dc4ee804a89f5c0e606b0b20579c86afc7cd0174aebd45c33b6b9c6237bcd97d"
dependencies = [
"cc",
"tree-sitter-language",
@@ -13255,9 +13395,9 @@ dependencies = [
[[package]]
name = "tree-sitter-jsdoc"
-version = "0.23.0"
+version = "0.23.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f8c4049eb0ad690e34e5f63640f75ce12a2ff8ba18344d0a13926805b139c0c8"
+checksum = "a3862dfcb1038fc5e7812d7df14190afdeb7e1415288fd5f51f58395f8cb0faf"
dependencies = [
"cc",
"tree-sitter-language",
@@ -13275,9 +13415,9 @@ dependencies = [
[[package]]
name = "tree-sitter-language"
-version = "0.1.0"
+version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2545046bd1473dac6c626659cc2567c6c0ff302fc8b84a56c4243378276f7f57"
+checksum = "e8ddffe35a0e5eeeadf13ff7350af564c6e73993a24db62caee1822b185c2600"
[[package]]
name = "tree-sitter-md"
@@ -13290,9 +13430,9 @@ dependencies = [
[[package]]
name = "tree-sitter-python"
-version = "0.23.2"
+version = "0.23.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "65661b1a3e24139e2e54207e47d910ab07e28790d78efc7d5dc3a11ce2a110eb"
+checksum = "2416de7eea3f2e1bd53c250f2d3f3394fc77f78497680f37f4b87918b8d752e3"
dependencies = [
"cc",
"tree-sitter-language",
@@ -13310,9 +13450,9 @@ dependencies = [
[[package]]
name = "tree-sitter-ruby"
-version = "0.23.0"
+version = "0.23.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6ec5ee842e27791e0adffa0b2a177614de51d2a26e5c7e84d014ed7f097e5ed0"
+checksum = "be0484ea4ef6bb9c575b4fdabde7e31340a8d2dbc7d52b321ac83da703249f95"
dependencies = [
"cc",
"tree-sitter-language",
@@ -13320,9 +13460,9 @@ dependencies = [
[[package]]
name = "tree-sitter-rust"
-version = "0.23.0"
+version = "0.23.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cffbbcb780348fbae8395742ae5b34c1fd794e4085d43aac9f259387f9a84dc8"
+checksum = "137ff3de3cc8a98302d048963459ead91135d4a1b423f09d25028b847ec3d3e3"
dependencies = [
"cc",
"tree-sitter-language",
@@ -13330,9 +13470,9 @@ dependencies = [
[[package]]
name = "tree-sitter-typescript"
-version = "0.23.0"
+version = "0.23.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "aecf1585ae2a9dddc2b1d4c0e2140b2ec9876e2a25fd79de47fcf7dae0384685"
+checksum = "6c5f76ed8d947a75cc446d5fccd8b602ebf0cde64ccf2ffa434d873d7a575eff"
dependencies = [
"cc",
"tree-sitter-language",
@@ -13366,7 +13506,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9e3dac10fd62eaf6617d3a904ae222845979aec67c615d1c842b4002c7666fb9"
dependencies = [
"byteorder",
- "bytes 1.7.2",
+ "bytes 1.8.0",
"data-encoding",
"http 0.2.12",
"httparse",
@@ -13374,7 +13514,7 @@ dependencies = [
"rand 0.8.5",
"rustls 0.21.12",
"sha1",
- "thiserror",
+ "thiserror 1.0.69",
"url",
"utf-8",
]
@@ -13386,7 +13526,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9ef1a641ea34f399a848dea702823bbecfb4c486f911735368f1f137cb8257e1"
dependencies = [
"byteorder",
- "bytes 1.7.2",
+ "bytes 1.8.0",
"data-encoding",
"http 1.1.0",
"httparse",
@@ -13394,7 +13534,7 @@ dependencies = [
"native-tls",
"rand 0.8.5",
"sha1",
- "thiserror",
+ "thiserror 1.0.69",
"url",
"utf-8",
]
@@ -13406,14 +13546,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "18e5b8366ee7a95b16d32197d0b2604b43a0be89dc5fac9f8e96ccafbaedda8a"
dependencies = [
"byteorder",
- "bytes 1.7.2",
+ "bytes 1.8.0",
"data-encoding",
"http 1.1.0",
"httparse",
"log",
"rand 0.8.5",
"sha1",
- "thiserror",
+ "thiserror 1.0.69",
"utf-8",
]
@@ -13431,9 +13571,9 @@ checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825"
[[package]]
name = "ucd-trie"
-version = "0.1.6"
+version = "0.1.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ed646292ffc8188ef8ea4d1e0e0150fb15a5c2e12ad9b8fc191ae7a8a7f3c4b9"
+checksum = "2896d95c02a80c6d6a5d6e953d479f5ddf2dfdb6a244441010e373ac0fb88971"
[[package]]
name = "uds_windows"
@@ -13487,18 +13627,15 @@ dependencies = [
[[package]]
name = "unicase"
-version = "2.7.0"
+version = "2.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f7d2d4dafb69621809a81864c9c1b864479e1235c0dd4e199924b9742439ed89"
-dependencies = [
- "version_check",
-]
+checksum = "7e51b68083f157f853b6379db119d1c1be0e6e4dec98101079dec41f6f5cf6df"
[[package]]
name = "unicode-bidi"
-version = "0.3.15"
+version = "0.3.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "08f95100a766bf4f8f28f90d77e0a5461bbdb219042e7679bebe79004fed8d75"
+checksum = "5ab17db44d7388991a428b2ee655ce0c212e862eff1768a455c58f9aad6e7893"
[[package]]
name = "unicode-bidi-mirroring"
@@ -13514,9 +13651,9 @@ checksum = "1df77b101bcc4ea3d78dafc5ad7e4f58ceffe0b2b16bf446aeb50b6cb4157656"
[[package]]
name = "unicode-ident"
-version = "1.0.12"
+version = "1.0.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"
+checksum = "e91b56cd4cadaeb79bbf1a5645f6b4f8dc5bde8834ad5894a8db35fda9efa1fe"
[[package]]
name = "unicode-linebreak"
@@ -13526,18 +13663,18 @@ checksum = "3b09c83c3c29d37506a3e260c08c03743a6bb66a9cd432c6934ab501a190571f"
[[package]]
name = "unicode-normalization"
-version = "0.1.23"
+version = "0.1.24"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a56d1686db2308d901306f92a263857ef59ea39678a5458e7cb17f01415101f5"
+checksum = "5033c97c4262335cded6d6fc3e5c18ab755e1a3dc96376350f3d8e9f009ad956"
dependencies = [
"tinyvec",
]
[[package]]
name = "unicode-properties"
-version = "0.1.2"
+version = "0.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "52ea75f83c0137a9b98608359a5f1af8144876eb67bcb1ce837368e906a9f524"
+checksum = "e70f2a8b45122e719eb623c01822704c4e0907e7e426a05927e1a1cfff5b75d0"
[[package]]
name = "unicode-script"
@@ -13547,21 +13684,21 @@ checksum = "9fb421b350c9aff471779e262955939f565ec18b86c15364e6bdf0d662ca7c1f"
[[package]]
name = "unicode-segmentation"
-version = "1.11.0"
+version = "1.12.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d4c87d22b6e3f4a18d4d40ef354e97c90fcb14dd91d7dc0aa9d8a1172ebf7202"
+checksum = "f6ccf251212114b54433ec949fd6a7841275f9ada20dddd2f29e9ceea4501493"
[[package]]
name = "unicode-width"
-version = "0.1.13"
+version = "0.1.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0336d538f7abc86d282a4189614dfaa90810dfc2c6f6427eaf88e16311dd225d"
+checksum = "7dd6e30e90baa6f72411720665d41d89b9a3d039dc45b8faea1ddd07f617f6af"
[[package]]
name = "unicode-xid"
-version = "0.2.5"
+version = "0.2.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "229730647fbc343e3a80e463c1db7f78f3855d3f3739bee0dda773c9a037c90a"
+checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853"
[[package]]
name = "unicode_categories"
@@ -13583,9 +13720,9 @@ checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1"
[[package]]
name = "url"
-version = "2.5.2"
+version = "2.5.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "22784dbdf76fdde8af1aeda5622b546b422b6fc585325248a2bf9f5e41e94d6c"
+checksum = "8d157f1b96d14500ffdc1f10ba712e780825526c03d9a49b4d0324b0d9113ada"
dependencies = [
"form_urlencoded",
"idna",
@@ -13627,6 +13764,18 @@ version = "0.7.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9"
+[[package]]
+name = "utf16_iter"
+version = "1.0.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c8232dd3cdaed5356e0f716d285e4b40b932ac434100fe9b7e0e8e935b9e6246"
+
+[[package]]
+name = "utf8_iter"
+version = "1.0.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be"
+
[[package]]
name = "utf8parse"
version = "0.2.2"
@@ -13641,7 +13790,7 @@ dependencies = [
"async-fs 1.6.0",
"collections",
"dirs 4.0.0",
- "futures 0.3.30",
+ "futures 0.3.31",
"futures-lite 1.13.0",
"git2",
"globset",
@@ -13659,9 +13808,9 @@ dependencies = [
[[package]]
name = "uuid"
-version = "1.10.0"
+version = "1.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "81dfa00651efa65069b0b6b651f4aaa31ba9e3c3ce0137aaad053604ee7e0314"
+checksum = "f8c5f0a0af699448548ad1a2fbf920fb4bee257eae39953ba95cb84891a0446a"
dependencies = [
"getrandom 0.2.15",
"serde",
@@ -13687,9 +13836,9 @@ checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d"
[[package]]
name = "value-bag"
-version = "1.9.0"
+version = "1.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5a84c137d37ab0142f0f2ddfe332651fdbf252e7b7dbb4e67b6c1f1b2e925101"
+checksum = "3ef4c4aa54d5d05a279399bfa921ec387b7aba77caf7a682ae8d86785b8fdad2"
dependencies = [
"value-bag-serde1",
"value-bag-sval2",
@@ -13697,9 +13846,9 @@ dependencies = [
[[package]]
name = "value-bag-serde1"
-version = "1.9.0"
+version = "1.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ccacf50c5cb077a9abb723c5bcb5e0754c1a433f1e1de89edc328e2760b6328b"
+checksum = "4bb773bd36fd59c7ca6e336c94454d9c66386416734817927ac93d81cb3c5b0b"
dependencies = [
"erased-serde",
"serde",
@@ -13708,9 +13857,9 @@ dependencies = [
[[package]]
name = "value-bag-sval2"
-version = "1.9.0"
+version = "1.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1785bae486022dfb9703915d42287dcb284c1ee37bd1080eeba78cc04721285b"
+checksum = "53a916a702cac43a88694c97657d449775667bcd14b70419441d05b7fea4a83a"
dependencies = [
"sval",
"sval_buffer",
@@ -13765,7 +13914,7 @@ dependencies = [
"command_palette",
"command_palette_hooks",
"editor",
- "futures 0.3.30",
+ "futures 0.3.31",
"gpui",
"indoc",
"itertools 0.13.0",
@@ -13880,7 +14029,7 @@ version = "0.3.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4378d202ff965b011c64817db11d5829506d3404edeadb61f190d111da3f231c"
dependencies = [
- "bytes 1.7.2",
+ "bytes 1.8.0",
"futures-channel",
"futures-util",
"headers",
@@ -13922,9 +14071,9 @@ checksum = "b8dad83b4f25e74f184f64c43b150b91efe7647395b42289f38e50566d82855b"
[[package]]
name = "wasm-bindgen"
-version = "0.2.93"
+version = "0.2.95"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a82edfc16a6c469f5f44dc7b571814045d60404b55a0ee849f9bcfa2e63dd9b5"
+checksum = "128d1e363af62632b8eb57219c8fd7877144af57558fb2ef0368d0087bddeb2e"
dependencies = [
"cfg-if",
"once_cell",
@@ -13933,9 +14082,9 @@ dependencies = [
[[package]]
name = "wasm-bindgen-backend"
-version = "0.2.93"
+version = "0.2.95"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9de396da306523044d3302746f1208fa71d7532227f15e347e2d93e4145dd77b"
+checksum = "cb6dd4d3ca0ddffd1dd1c9c04f94b868c37ff5fac97c30b97cff2d74fce3a358"
dependencies = [
"bumpalo",
"log",
@@ -13948,9 +14097,9 @@ dependencies = [
[[package]]
name = "wasm-bindgen-futures"
-version = "0.4.43"
+version = "0.4.45"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "61e9300f63a621e96ed275155c108eb6f843b6a26d053f122ab69724559dc8ed"
+checksum = "cc7ec4f8827a71586374db3e87abdb5a2bb3a15afed140221307c3ec06b1f63b"
dependencies = [
"cfg-if",
"js-sys",
@@ -13960,9 +14109,9 @@ dependencies = [
[[package]]
name = "wasm-bindgen-macro"
-version = "0.2.93"
+version = "0.2.95"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "585c4c91a46b072c92e908d99cb1dcdf95c5218eeb6f3bf1efa991ee7a68cccf"
+checksum = "e79384be7f8f5a9dd5d7167216f022090cf1f9ec128e6e6a482a2cb5c5422c56"
dependencies = [
"quote",
"wasm-bindgen-macro-support",
@@ -13970,9 +14119,9 @@ dependencies = [
[[package]]
name = "wasm-bindgen-macro-support"
-version = "0.2.93"
+version = "0.2.95"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "afc340c74d9005395cf9dd098506f7f44e38f2b4a21c6aaacf9a105ea5e1e836"
+checksum = "26c6ab57572f7a24a4985830b120de1594465e5d500f24afe89e16b4e833ef68"
dependencies = [
"proc-macro2",
"quote",
@@ -13983,9 +14132,9 @@ dependencies = [
[[package]]
name = "wasm-bindgen-shared"
-version = "0.2.93"
+version = "0.2.95"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c62a0a307cb4a311d3a07867860911ca130c3494e8c2719593806c08bc5d0484"
+checksum = "65fc09f10666a9f147042251e0dda9c18f166ff7de300607007e96bdebc1068d"
[[package]]
name = "wasm-encoder"
@@ -14012,7 +14161,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0fd83062c17b9f4985d438603cde0a5e8c5c8198201a6937f778b607924c7da2"
dependencies = [
"anyhow",
- "indexmap 2.4.0",
+ "indexmap 2.6.0",
"serde",
"serde_derive",
"serde_json",
@@ -14023,9 +14172,9 @@ dependencies = [
[[package]]
name = "wasm-streams"
-version = "0.4.1"
+version = "0.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4e072d4e72f700fb3443d8fe94a39315df013eef1104903cdb0a2abd322bbecd"
+checksum = "15053d8d85c7eccdbefef60f06769760a563c7f0a9d6902a13d35c7800b0ad65"
dependencies = [
"futures-util",
"js-sys",
@@ -14041,7 +14190,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "84e5df6dba6c0d7fafc63a450f1738451ed7a0b52295d83e868218fa286bf708"
dependencies = [
"bitflags 2.6.0",
- "indexmap 2.4.0",
+ "indexmap 2.6.0",
"semver",
]
@@ -14054,7 +14203,7 @@ dependencies = [
"ahash 0.8.11",
"bitflags 2.6.0",
"hashbrown 0.14.5",
- "indexmap 2.4.0",
+ "indexmap 2.6.0",
"semver",
"serde",
]
@@ -14084,7 +14233,7 @@ dependencies = [
"cfg-if",
"encoding_rs",
"hashbrown 0.14.5",
- "indexmap 2.4.0",
+ "indexmap 2.6.0",
"libc",
"libm",
"log",
@@ -14095,7 +14244,7 @@ dependencies = [
"paste",
"postcard",
"psm",
- "rustix 0.38.35",
+ "rustix 0.38.40",
"semver",
"serde",
"serde_derive",
@@ -14127,9 +14276,9 @@ dependencies = [
[[package]]
name = "wasmtime-c-api-impl"
-version = "24.0.0"
+version = "24.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "765e302e7d9125e614aaeec3ad6b6083605393004eca00214106a4ff6b47fc58"
+checksum = "4e038dd412700174019867608617127e7cc4f113f764dd10e7488dbf5f47b191"
dependencies = [
"anyhow",
"log",
@@ -14141,9 +14290,9 @@ dependencies = [
[[package]]
name = "wasmtime-c-api-macros"
-version = "24.0.0"
+version = "24.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2d09d02eaa84aa2de5babee7b0296557ad6e4903bb10aa8d135e393e753a43d6"
+checksum = "bde0ca2263811d980ab676bcb2a190c990737f58969a908976101ad208149a17"
dependencies = [
"proc-macro2",
"quote",
@@ -14188,7 +14337,7 @@ dependencies = [
"log",
"object",
"target-lexicon",
- "thiserror",
+ "thiserror 1.0.69",
"wasmparser 0.215.0",
"wasmtime-environ",
"wasmtime-versioned-export-macros",
@@ -14205,7 +14354,7 @@ dependencies = [
"cranelift-bitset",
"cranelift-entity",
"gimli 0.29.0",
- "indexmap 2.4.0",
+ "indexmap 2.6.0",
"log",
"object",
"postcard",
@@ -14230,7 +14379,7 @@ dependencies = [
"anyhow",
"cc",
"cfg-if",
- "rustix 0.38.35",
+ "rustix 0.38.40",
"wasmtime-asm-macros",
"wasmtime-versioned-export-macros",
"windows-sys 0.52.0",
@@ -14281,27 +14430,27 @@ dependencies = [
[[package]]
name = "wasmtime-wasi"
-version = "24.0.1"
+version = "24.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fda03f5bfd5c4cc09f75c7e44846663f25f2c48a2d688fbfb5c7a33af6cf34f5"
+checksum = "f88f94e393084426f5055d57ce7ae6346ae623783ee6792f411282d6b9e1e5c3"
dependencies = [
"anyhow",
"async-trait",
"bitflags 2.6.0",
- "bytes 1.7.2",
+ "bytes 1.8.0",
"cap-fs-ext",
"cap-net-ext",
"cap-rand",
"cap-std",
"cap-time-ext",
"fs-set-times",
- "futures 0.3.30",
+ "futures 0.3.31",
"io-extras",
"io-lifetimes 2.0.3",
"once_cell",
- "rustix 0.38.35",
+ "rustix 0.38.40",
"system-interface",
- "thiserror",
+ "thiserror 1.0.69",
"tokio",
"tracing",
"url",
@@ -14335,7 +14484,7 @@ checksum = "c58b085b2d330e5057dddd31f3ca527569b90fcdd35f6d373420c304927a5190"
dependencies = [
"anyhow",
"heck 0.4.1",
- "indexmap 2.4.0",
+ "indexmap 2.6.0",
"wit-parser 0.215.0",
]
@@ -14350,13 +14499,13 @@ dependencies = [
[[package]]
name = "wayland-backend"
-version = "0.3.6"
+version = "0.3.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f90e11ce2ca99c97b940ee83edbae9da2d56a08f9ea8158550fd77fa31722993"
+checksum = "056535ced7a150d45159d3a8dc30f91a2e2d588ca0b23f70e56033622b8016f6"
dependencies = [
"cc",
"downcast-rs",
- "rustix 0.38.35",
+ "rustix 0.38.40",
"scoped-tls",
"smallvec",
"wayland-sys",
@@ -14364,23 +14513,23 @@ dependencies = [
[[package]]
name = "wayland-client"
-version = "0.31.5"
+version = "0.31.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7e321577a0a165911bdcfb39cf029302479d7527b517ee58ab0f6ad09edf0943"
+checksum = "b66249d3fc69f76fd74c82cc319300faa554e9d865dab1f7cd66cc20db10b280"
dependencies = [
"bitflags 2.6.0",
- "rustix 0.38.35",
+ "rustix 0.38.40",
"wayland-backend",
"wayland-scanner",
]
[[package]]
name = "wayland-cursor"
-version = "0.31.5"
+version = "0.31.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6ef9489a8df197ebf3a8ce8a7a7f0a2320035c3743f3c1bd0bdbccf07ce64f95"
+checksum = "32b08bc3aafdb0035e7fe0fdf17ba0c09c268732707dca4ae098f60cb28c9e4c"
dependencies = [
- "rustix 0.38.35",
+ "rustix 0.38.40",
"wayland-client",
"xcursor",
]
@@ -14412,20 +14561,20 @@ dependencies = [
[[package]]
name = "wayland-scanner"
-version = "0.31.4"
+version = "0.31.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d7b56f89937f1cf2ee1f1259cf2936a17a1f45d8f0aa1019fae6d470d304cfa6"
+checksum = "597f2001b2e5fc1121e3d5b9791d3e78f05ba6bfa4641053846248e3a13661c3"
dependencies = [
"proc-macro2",
- "quick-xml 0.34.0",
+ "quick-xml 0.36.2",
"quote",
]
[[package]]
name = "wayland-sys"
-version = "0.31.4"
+version = "0.31.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "43676fe2daf68754ecf1d72026e4e6c15483198b5d24e888b74d3f22f887a148"
+checksum = "efa8ac0d8e8ed3e3b5c9fc92c7881406a268e11555abe36493efabe649a29e09"
dependencies = [
"dlib",
"log",
@@ -14435,9 +14584,19 @@ dependencies = [
[[package]]
name = "web-sys"
-version = "0.3.70"
+version = "0.3.72"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f6488b90108c040df0fe62fa815cbdee25124641df01814dd7282749234c6112"
+dependencies = [
+ "js-sys",
+ "wasm-bindgen",
+]
+
+[[package]]
+name = "web-time"
+version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "26fdeaafd9bd129f65e7c031593c24d62186301e0c72c8978fa1678be7d532c0"
+checksum = "5a6580f308b1fad9207618087a65c04e7a10bc77e02c8e84e9b00dd4b12fa0bb"
dependencies = [
"js-sys",
"wasm-bindgen",
@@ -14535,7 +14694,7 @@ dependencies = [
"either",
"home",
"once_cell",
- "rustix 0.38.35",
+ "rustix 0.38.40",
]
[[package]]
@@ -14546,30 +14705,30 @@ checksum = "b4ee928febd44d98f2f459a4a79bd4d928591333a494a10a868418ac1b39cf1f"
dependencies = [
"either",
"home",
- "rustix 0.38.35",
+ "rustix 0.38.40",
"winsafe",
]
[[package]]
name = "whoami"
-version = "1.5.1"
+version = "1.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a44ab49fad634e88f55bf8f9bb3abd2f27d7204172a112c7c9987e01c1c94ea9"
+checksum = "372d5b87f58ec45c384ba03563b03544dc5fadc3983e434b286913f5b4a9bb6d"
dependencies = [
- "redox_syscall 0.4.1",
+ "redox_syscall 0.5.7",
"wasite",
]
[[package]]
name = "wiggle"
-version = "24.0.1"
+version = "24.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2d3b31bd2b4d2d82a4b747b8dbc45f566214214a4ffdc5690429a73bc221dc8a"
+checksum = "c72a4c92952216582f55eab27819a1fe8d3c54b292b7b8e5f849b23bfed96e78"
dependencies = [
"anyhow",
"async-trait",
"bitflags 2.6.0",
- "thiserror",
+ "thiserror 1.0.69",
"tracing",
"wasmtime",
"wiggle-macro",
@@ -14577,9 +14736,9 @@ dependencies = [
[[package]]
name = "wiggle-generate"
-version = "24.0.1"
+version = "24.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e2c6136b195fc12067aa9d4e7a5baf118729394df7bc7cbf8c63119bc9f2a7cd"
+checksum = "cb744fb938a9fc38207838829b4a43831c1de499e3526eaea71deeff4d9cbb83"
dependencies = [
"anyhow",
"heck 0.4.1",
@@ -14592,9 +14751,9 @@ dependencies = [
[[package]]
name = "wiggle-macro"
-version = "24.0.1"
+version = "24.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8a41eaceee468da976ac43b85c4eb82e482f828d5e8e56f49f90dfac2d9bc3b4"
+checksum = "7cef395fff17bf8f9c1dee6c0e12801a3ba24928139af0ecb5ccb82ff87bf9d2"
dependencies = [
"proc-macro2",
"quote",
@@ -14660,6 +14819,16 @@ dependencies = [
"windows-targets 0.52.6",
]
+[[package]]
+name = "windows"
+version = "0.57.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "12342cb4d8e3b046f3d80effd474a7a02447231330ef77d71daa6fbc40681143"
+dependencies = [
+ "windows-core 0.57.0",
+ "windows-targets 0.52.6",
+]
+
[[package]]
name = "windows"
version = "0.58.0"
@@ -14689,19 +14858,42 @@ dependencies = [
"windows-targets 0.52.6",
]
+[[package]]
+name = "windows-core"
+version = "0.57.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d2ed2439a290666cd67ecce2b0ffaad89c2a56b976b736e6ece670297897832d"
+dependencies = [
+ "windows-implement 0.57.0",
+ "windows-interface 0.57.0",
+ "windows-result 0.1.2",
+ "windows-targets 0.52.6",
+]
+
[[package]]
name = "windows-core"
version = "0.58.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6ba6d44ec8c2591c134257ce647b7ea6b20335bf6379a27dac5f1641fcf59f99"
dependencies = [
- "windows-implement",
- "windows-interface",
+ "windows-implement 0.58.0",
+ "windows-interface 0.58.0",
"windows-result 0.2.0",
"windows-strings",
"windows-targets 0.52.6",
]
+[[package]]
+name = "windows-implement"
+version = "0.57.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9107ddc059d5b6fbfbffdfa7a7fe3e22a226def0b2608f72e9d552763d3e1ad7"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.87",
+]
+
[[package]]
name = "windows-implement"
version = "0.58.0"
@@ -14713,6 +14905,17 @@ dependencies = [
"syn 2.0.87",
]
+[[package]]
+name = "windows-interface"
+version = "0.57.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "29bee4b38ea3cde66011baa44dba677c432a78593e202392d1e9070cf2a7fca7"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.87",
+]
+
[[package]]
name = "windows-interface"
version = "0.58.0"
@@ -14988,9 +15191,9 @@ dependencies = [
[[package]]
name = "winnow"
-version = "0.6.18"
+version = "0.6.20"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "68a9bda4691f099d435ad181000724da8e5899daa10713c2d432552b9ccd3a6f"
+checksum = "36c1fec1a2bb5866f07c25f68c26e565c4c200aebb96d7e55710c19d3e8ac49b"
dependencies = [
"memchr",
]
@@ -15085,7 +15288,7 @@ checksum = "d8a39a15d1ae2077688213611209849cad40e9e5cccf6e61951a425850677ff3"
dependencies = [
"anyhow",
"heck 0.4.1",
- "indexmap 2.4.0",
+ "indexmap 2.6.0",
"wasm-metadata",
"wit-bindgen-core",
"wit-component",
@@ -15113,7 +15316,7 @@ checksum = "421c0c848a0660a8c22e2fd217929a0191f14476b68962afd2af89fd22e39825"
dependencies = [
"anyhow",
"bitflags 2.6.0",
- "indexmap 2.4.0",
+ "indexmap 2.6.0",
"log",
"serde",
"serde_derive",
@@ -15132,7 +15335,7 @@ checksum = "196d3ecfc4b759a8573bf86a9b3f8996b304b3732e4c7de81655f875f6efdca6"
dependencies = [
"anyhow",
"id-arena",
- "indexmap 2.4.0",
+ "indexmap 2.6.0",
"log",
"semver",
"serde",
@@ -15150,7 +15353,7 @@ checksum = "935a97eaffd57c3b413aa510f8f0b550a4a9fe7d59e79cd8b89a83dcb860321f"
dependencies = [
"anyhow",
"id-arena",
- "indexmap 2.4.0",
+ "indexmap 2.6.0",
"log",
"semver",
"serde",
@@ -15168,7 +15371,7 @@ checksum = "e366f27a5cabcddb2706a78296a40b8fcc451e1a6aba2fc1d94b4a01bdaaef4b"
dependencies = [
"anyhow",
"log",
- "thiserror",
+ "thiserror 1.0.69",
"wast",
]
@@ -15188,7 +15391,7 @@ dependencies = [
"derive_more",
"env_logger 0.11.5",
"fs",
- "futures 0.3.30",
+ "futures 0.3.31",
"git",
"gpui",
"http_client",
@@ -15225,7 +15428,7 @@ dependencies = [
"collections",
"env_logger 0.11.5",
"fs",
- "futures 0.3.30",
+ "futures 0.3.31",
"fuzzy",
"git",
"git2",
@@ -15252,6 +15455,18 @@ dependencies = [
"util",
]
+[[package]]
+name = "write16"
+version = "1.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d1890f4022759daae28ed4fe62859b1236caebfc61ede2f63ed4e695f3f6d936"
+
+[[package]]
+name = "writeable"
+version = "0.5.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1e9df38ee2d2c3c5948ea468a8406ff0db0b29ae1ffde1bcf20ef305bcc95c51"
+
[[package]]
name = "wyz"
version = "0.5.1"
@@ -15263,9 +15478,9 @@ dependencies = [
[[package]]
name = "x11-clipboard"
-version = "0.9.2"
+version = "0.9.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b98785a09322d7446e28a13203d2cae1059a0dd3dfb32cb06d0a225f023d8286"
+checksum = "662d74b3d77e396b8e5beb00b9cad6a9eccf40b2ef68cc858784b14c41d535a3"
dependencies = [
"libc",
"x11rb",
@@ -15280,7 +15495,7 @@ dependencies = [
"as-raw-xcb-connection",
"gethostname",
"libc",
- "rustix 0.38.35",
+ "rustix 0.38.40",
"x11rb-protocol",
]
@@ -15428,6 +15643,30 @@ dependencies = [
"pkg-config",
]
+[[package]]
+name = "yoke"
+version = "0.7.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6c5b1314b079b0930c31e3af543d8ee1757b1951ae1e1565ec704403a7240ca5"
+dependencies = [
+ "serde",
+ "stable_deref_trait",
+ "yoke-derive",
+ "zerofrom",
+]
+
+[[package]]
+name = "yoke-derive"
+version = "0.7.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "28cc31741b18cb6f1d5ff12f5b7523e3d6eb0852bbbad19d73905511d9849b95"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.87",
+ "synstructure",
+]
+
[[package]]
name = "zbus"
version = "4.4.0"
@@ -15437,9 +15676,9 @@ dependencies = [
"async-broadcast",
"async-executor",
"async-fs 2.1.2",
- "async-io 2.3.4",
+ "async-io 2.4.0",
"async-lock 3.4.0",
- "async-process 2.2.4",
+ "async-process 2.3.0",
"async-recursion 1.1.1",
"async-task",
"async-trait",
@@ -15528,7 +15767,7 @@ dependencies = [
"file_finder",
"file_icons",
"fs",
- "futures 0.3.30",
+ "futures 0.3.31",
"git",
"git_hosting_providers",
"go_to_line",
@@ -15830,6 +16069,27 @@ dependencies = [
"syn 2.0.87",
]
+[[package]]
+name = "zerofrom"
+version = "0.1.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "91ec111ce797d0e0784a1116d0ddcdbea84322cd79e5d5ad173daeba4f93ab55"
+dependencies = [
+ "zerofrom-derive",
+]
+
+[[package]]
+name = "zerofrom-derive"
+version = "0.1.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0ea7b4a3637ea8669cedf0f1fd5c286a17f3de97b8dd5a70a6c167a1730e63a5"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.87",
+ "synstructure",
+]
+
[[package]]
name = "zeroize"
version = "1.8.1"
@@ -15852,15 +16112,15 @@ dependencies = [
[[package]]
name = "zeromq"
-version = "0.4.0"
+version = "0.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fb0560d00172817b7f7c2265060783519c475702ae290b154115ca75e976d4d0"
+checksum = "6a4528179201f6eecf211961a7d3276faa61554c82651ecc66387f68fc3004bd"
dependencies = [
"async-dispatcher",
"async-std",
"async-trait",
"asynchronous-codec",
- "bytes 1.7.2",
+ "bytes 1.8.0",
"crossbeam-queue",
"dashmap 5.5.3",
"futures-channel",
@@ -15873,10 +16133,32 @@ dependencies = [
"parking_lot",
"rand 0.8.5",
"regex",
- "thiserror",
+ "thiserror 1.0.69",
"uuid",
]
+[[package]]
+name = "zerovec"
+version = "0.10.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "aa2b893d79df23bfb12d5461018d408ea19dfafe76c2c7ef6d4eba614f8ff079"
+dependencies = [
+ "yoke",
+ "zerofrom",
+ "zerovec-derive",
+]
+
+[[package]]
+name = "zerovec-derive"
+version = "0.10.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6eafa6dfb17584ea3e2bd6e76e0cc15ad7af12b09abdd1ca55961bed9b1063c6"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.87",
+]
+
[[package]]
name = "zip"
version = "0.6.6"
diff --git a/crates/assistant/src/assistant_panel.rs b/crates/assistant/src/assistant_panel.rs
index 1a6e1c217e8..b682bfdccab 100644
--- a/crates/assistant/src/assistant_panel.rs
+++ b/crates/assistant/src/assistant_panel.rs
@@ -3333,7 +3333,8 @@ impl ContextEditor {
self.context.update(cx, |context, cx| {
for image in images {
- let Some(render_image) = image.to_image_data(cx).log_err() else {
+ let Some(render_image) = image.to_image_data(cx.svg_renderer()).log_err()
+ else {
continue;
};
let image_id = image.id();
diff --git a/crates/gpui/examples/gif_viewer.rs b/crates/gpui/examples/gif_viewer.rs
index 455a7d6ba96..da175e8a693 100644
--- a/crates/gpui/examples/gif_viewer.rs
+++ b/crates/gpui/examples/gif_viewer.rs
@@ -1,6 +1,4 @@
-use gpui::{
- div, img, prelude::*, App, AppContext, ImageSource, Render, ViewContext, WindowOptions,
-};
+use gpui::{div, img, prelude::*, App, AppContext, Render, ViewContext, WindowOptions};
use std::path::PathBuf;
struct GifViewer {
@@ -16,7 +14,7 @@ impl GifViewer {
impl Render for GifViewer {
fn render(&mut self, _cx: &mut ViewContext<Self>) -> impl IntoElement {
div().size_full().child(
- img(ImageSource::File(self.gif_path.clone().into()))
+ img(self.gif_path.clone())
.size_full()
.object_fit(gpui::ObjectFit::Contain)
.id("gif"),
diff --git a/crates/gpui/examples/image/image.rs b/crates/gpui/examples/image/image.rs
index 24a94bf746e..19a4e9313f6 100644
--- a/crates/gpui/examples/image/image.rs
+++ b/crates/gpui/examples/image/image.rs
@@ -61,7 +61,7 @@ impl RenderOnce for ImageContainer {
}
struct ImageShowcase {
- local_resource: Arc<PathBuf>,
+ local_resource: Arc<std::path::Path>,
remote_resource: SharedUri,
asset_resource: SharedString,
}
@@ -153,9 +153,10 @@ fn main() {
cx.open_window(window_options, |cx| {
cx.new_view(|_cx| ImageShowcase {
// Relative path to your root project path
- local_resource: Arc::new(
- PathBuf::from_str("crates/gpui/examples/image/app-icon.png").unwrap(),
- ),
+ local_resource: PathBuf::from_str("crates/gpui/examples/image/app-icon.png")
+ .unwrap()
+ .into(),
+
remote_resource: "https://picsum.photos/512/512".into(),
asset_resource: "image/color.svg".into(),
diff --git a/crates/gpui/examples/image_loading.rs b/crates/gpui/examples/image_loading.rs
new file mode 100644
index 00000000000..eef7d03e432
--- /dev/null
+++ b/crates/gpui/examples/image_loading.rs
@@ -0,0 +1,214 @@
+use std::{path::Path, sync::Arc, time::Duration};
+
+use anyhow::anyhow;
+use gpui::{
+ black, div, img, prelude::*, pulsating_between, px, red, size, Animation, AnimationExt, App,
+ AppContext, Asset, AssetLogger, AssetSource, Bounds, Hsla, ImageAssetLoader, ImageCacheError,
+ ImgResourceLoader, Length, Pixels, RenderImage, Resource, SharedString, ViewContext,
+ WindowBounds, WindowContext, WindowOptions, LOADING_DELAY,
+};
+
+struct Assets {}
+
+impl AssetSource for Assets {
+ fn load(&self, path: &str) -> anyhow::Result<Option<std::borrow::Cow<'static, [u8]>>> {
+ std::fs::read(path)
+ .map(Into::into)
+ .map_err(Into::into)
+ .map(Some)
+ }
+
+ fn list(&self, path: &str) -> anyhow::Result<Vec<SharedString>> {
+ Ok(std::fs::read_dir(path)?
+ .filter_map(|entry| {
+ Some(SharedString::from(
+ entry.ok()?.path().to_string_lossy().to_string(),
+ ))
+ })
+ .collect::<Vec<_>>())
+ }
+}
+
+const IMAGE: &str = "examples/image/app-icon.png";
+
+#[derive(Copy, Clone, Hash)]
+struct LoadImageParameters {
+ timeout: Duration,
+ fail: bool,
+}
+
+struct LoadImageWithParameters {}
+
+impl Asset for LoadImageWithParameters {
+ type Source = LoadImageParameters;
+
+ type Output = Result<Arc<RenderImage>, ImageCacheError>;
+
+ fn load(
+ parameters: Self::Source,
+ cx: &mut AppContext,
+ ) -> impl std::future::Future<Output = Self::Output> + Send + 'static {
+ let timer = cx.background_executor().timer(parameters.timeout);
+ let data = AssetLogger::<ImageAssetLoader>::load(
+ Resource::Path(Path::new(IMAGE).to_path_buf().into()),
+ cx,
+ );
+ async move {
+ timer.await;
+ if parameters.fail {
+ log::error!("Intentionally failed to load image");
+ Err(anyhow!("Failed to load image").into())
+ } else {
+ data.await
+ }
+ }
+ }
+}
+
+struct ImageLoadingExample {}
+
+impl ImageLoadingExample {
+ fn loading_element() -> impl IntoElement {
+ div().size_full().flex_none().p_0p5().rounded_sm().child(
+ div().size_full().with_animation(
+ "loading-bg",
+ Animation::new(Duration::from_secs(3))
+ .repeat()
+ .with_easing(pulsating_between(0.04, 0.24)),
+ move |this, delta| this.bg(black().opacity(delta)),
+ ),
+ )
+ }
+
+ fn fallback_element() -> impl IntoElement {
+ let fallback_color: Hsla = black().opacity(0.5);
+
+ div().size_full().flex_none().p_0p5().child(
+ div()
+ .size_full()
+ .flex()
+ .items_center()
+ .justify_center()
+ .rounded_sm()
+ .text_sm()
+ .text_color(fallback_color)
+ .border_1()
+ .border_color(fallback_color)
+ .child("?"),
+ )
+ }
+}
+
+impl Render for ImageLoadingExample {
+ fn render(&mut self, _cx: &mut ViewContext<Self>) -> impl IntoElement {
+ div().flex().flex_col().size_full().justify_around().child(
+ div().flex().flex_row().w_full().justify_around().child(
+ div()
+ .flex()
+ .bg(gpui::white())
+ .size(Length::Definite(Pixels(300.0).into()))
+ .justify_center()
+ .items_center()
+ .child({
+ let image_source = LoadImageParameters {
+ timeout: LOADING_DELAY.saturating_sub(Duration::from_millis(25)),
+ fail: false,
+ };
+
+ // Load within the 'loading delay', should not show loading fallback
+ img(move |cx: &mut WindowContext| {
+ cx.use_asset::<LoadImageWithParameters>(&image_source)
+ })
+ .id("image-1")
+ .border_1()
+ .size_12()
+ .with_fallback(|| Self::fallback_element().into_any_element())
+ .border_color(red())
+ .with_loading(|| Self::loading_element().into_any_element())
+ .on_click(move |_, cx| {
+ cx.remove_asset::<LoadImageWithParameters>(&image_source);
+ })
+ })
+ .child({
+ // Load after a long delay
+ let image_source = LoadImageParameters {
+ timeout: Duration::from_secs(5),
+ fail: false,
+ };
+
+ img(move |cx: &mut WindowContext| {
+ cx.use_asset::<LoadImageWithParameters>(&image_source)
+ })
+ .id("image-2")
+ .with_fallback(|| Self::fallback_element().into_any_element())
+ .with_loading(|| Self::loading_element().into_any_element())
+ .size_12()
+ .border_1()
+ .border_color(red())
+ .on_click(move |_, cx| {
+ cx.remove_asset::<LoadImageWithParameters>(&image_source);
+ })
+ })
+ .child({
+ // Fail to load image after a long delay
+ let image_source = LoadImageParameters {
+ timeout: Duration::from_secs(5),
+ fail: true,
+ };
+
+ // Fail to load after a long delay
+ img(move |cx: &mut WindowContext| {
+ cx.use_asset::<LoadImageWithParameters>(&image_source)
+ })
+ .id("image-3")
+ .with_fallback(|| Self::fallback_element().into_any_element())
+ .with_loading(|| Self::loading_element().into_any_element())
+ .size_12()
+ .border_1()
+ .border_color(red())
+ .on_click(move |_, cx| {
+ cx.remove_asset::<LoadImageWithParameters>(&image_source);
+ })
+ })
+ .child({
+ // Ensure that the normal image loader doesn't spam logs
+ let image_source = Path::new(
+ "this/file/really/shouldn't/exist/or/won't/be/an/image/I/hope",
+ )
+ .to_path_buf();
+ img(image_source.clone())
+ .id("image-1")
+ .border_1()
+ .size_12()
+ .with_fallback(|| Self::fallback_element().into_any_element())
+ .border_color(red())
+ .with_loading(|| Self::loading_element().into_any_element())
+ .on_click(move |_, cx| {
+ cx.remove_asset::<ImgResourceLoader>(&image_source.clone().into());
+ })
+ }),
+ ),
+ )
+ }
+}
+
+fn main() {
+ env_logger::init();
+ App::new()
+ .with_assets(Assets {})
+ .run(|cx: &mut AppContext| {
+ let options = WindowOptions {
+ window_bounds: Some(WindowBounds::Windowed(Bounds::centered(
+ None,
+ size(px(300.), Pixels(300.)),
+ cx,
+ ))),
+ ..Default::default()
+ };
+ cx.open_window(options, |cx| {
+ cx.activate(false);
+ cx.new_view(|_cx| ImageLoadingExample {})
+ })
+ .unwrap();
+ });
+}
diff --git a/crates/gpui/src/app.rs b/crates/gpui/src/app.rs
index da14927fa21..50cadeff8f9 100644
--- a/crates/gpui/src/app.rs
+++ b/crates/gpui/src/app.rs
@@ -747,7 +747,7 @@ impl AppContext {
}
/// Returns the SVG renderer GPUI uses
- pub(crate) fn svg_renderer(&self) -> SvgRenderer {
+ pub fn svg_renderer(&self) -> SvgRenderer {
self.svg_renderer.clone()
}
@@ -1369,7 +1369,7 @@ impl AppContext {
}
/// Remove an asset from GPUI's cache
- pub fn remove_cached_asset<A: Asset + 'static>(&mut self, source: &A::Source) {
+ pub fn remove_asset<A: Asset>(&mut self, source: &A::Source) {
let asset_id = (TypeId::of::<A>(), hash(source));
self.loading_assets.remove(&asset_id);
}
@@ -1378,12 +1378,7 @@ impl AppContext {
///
/// Note that the multiple calls to this method will only result in one `Asset::load` call at a
/// time, and the results of this call will be cached
- ///
- /// This asset will not be cached by default, see [Self::use_cached_asset]
- pub fn fetch_asset<A: Asset + 'static>(
- &mut self,
- source: &A::Source,
- ) -> (Shared<Task<A::Output>>, bool) {
+ pub fn fetch_asset<A: Asset>(&mut self, source: &A::Source) -> (Shared<Task<A::Output>>, bool) {
let asset_id = (TypeId::of::<A>(), hash(source));
let mut is_first = false;
let task = self
diff --git a/crates/gpui/src/asset_cache.rs b/crates/gpui/src/asset_cache.rs
index 0c6e5f2f90c..57ac1fb582c 100644
--- a/crates/gpui/src/asset_cache.rs
+++ b/crates/gpui/src/asset_cache.rs
@@ -1,30 +1,43 @@
use crate::{AppContext, SharedString, SharedUri};
use futures::Future;
+
+use std::fmt::Debug;
use std::hash::{Hash, Hasher};
-use std::path::PathBuf;
+use std::marker::PhantomData;
+use std::path::{Path, PathBuf};
use std::sync::Arc;
+/// An enum representing
#[derive(Debug, PartialEq, Eq, Hash, Clone)]
-pub(crate) enum UriOrPath {
+pub enum Resource {
+ /// This resource is at a given URI
Uri(SharedUri),
- Path(Arc<PathBuf>),
+ /// This resource is at a given path in the file system
+ Path(Arc<Path>),
+ /// This resource is embedded in the application binary
Embedded(SharedString),
}
-impl From<SharedUri> for UriOrPath {
+impl From<SharedUri> for Resource {
fn from(value: SharedUri) -> Self {
Self::Uri(value)
}
}
-impl From<Arc<PathBuf>> for UriOrPath {
- fn from(value: Arc<PathBuf>) -> Self {
+impl From<PathBuf> for Resource {
+ fn from(value: PathBuf) -> Self {
+ Self::Path(value.into())
+ }
+}
+
+impl From<Arc<Path>> for Resource {
+ fn from(value: Arc<Path>) -> Self {
Self::Path(value)
}
}
/// A trait for asynchronous asset loading.
-pub trait Asset {
+pub trait Asset: 'static {
/// The source of the asset.
type Source: Clone + Hash + Send;
@@ -38,6 +51,31 @@ pub trait Asset {
) -> impl Future<Output = Self::Output> + Send + 'static;
}
+/// An asset Loader that logs whatever passes through it
+pub enum AssetLogger<T> {
+ #[doc(hidden)]
+ _Phantom(PhantomData<T>, &'static dyn crate::seal::Sealed),
+}
+
+impl<R: Clone + Send, E: Clone + Send + std::error::Error, T: Asset<Output = Result<R, E>>> Asset
+ for AssetLogger<T>
+{
+ type Source = T::Source;
+
+ type Output = T::Output;
+
+ fn load(
+ source: Self::Source,
+ cx: &mut AppContext,
+ ) -> impl Future<Output = Self::Output> + Send + 'static {
+ let load = T::load(source, cx);
+ async {
+ load.await
+ .inspect_err(|e| log::error!("Failed to load asset: {}", e))
+ }
+ }
+}
+
/// Use a quick, non-cryptographically secure hash function to get an identifier from data
pub fn hash<T: Hash>(data: &T) -> u64 {
let mut hasher = collections::FxHasher::default();
diff --git a/crates/gpui/src/elements/div.rs b/crates/gpui/src/elements/div.rs
index 961e28364fd..6928ca74ee4 100644
--- a/crates/gpui/src/elements/div.rs
+++ b/crates/gpui/src/elements/div.rs
@@ -2383,7 +2383,7 @@ where
/// A wrapper around an element that can store state, produced after assigning an ElementId.
pub struct Stateful<E> {
- element: E,
+ pub(crate) element: E,
}
impl<E> Styled for Stateful<E>
diff --git a/crates/gpui/src/elements/img.rs b/crates/gpui/src/elements/img.rs
index 729e944b34b..4e326720955 100644
--- a/crates/gpui/src/elements/img.rs
+++ b/crates/gpui/src/elements/img.rs
@@ -1,9 +1,11 @@
use crate::{
- px, AbsoluteLength, AppContext, Asset, Bounds, DefiniteLength, Element, ElementId,
- GlobalElementId, Hitbox, Image, InteractiveElement, Interactivity, IntoElement, LayoutId,
- Length, ObjectFit, Pixels, RenderImage, SharedString, SharedUri, StyleRefinement, Styled,
- SvgSize, UriOrPath, WindowContext,
+ px, AbsoluteLength, AnyElement, AppContext, Asset, AssetLogger, Bounds, DefiniteLength,
+ Element, ElementId, GlobalElementId, Hitbox, Image, InteractiveElement, Interactivity,
+ IntoElement, LayoutId, Length, ObjectFit, Pixels, RenderImage, Resource, SharedString,
+ SharedUri, StyleRefinement, Styled, SvgSize, Task, WindowContext,
};
+use anyhow::{anyhow, Result};
+
use futures::{AsyncReadExt, Future};
use image::{
codecs::gif::GifDecoder, AnimationDecoder, Frame, ImageBuffer, ImageError, ImageFormat,
@@ -11,45 +13,56 @@ use image::{
use smallvec::SmallVec;
use std::{
fs,
- io::Cursor,
- path::PathBuf,
+ io::{self, Cursor},
+ ops::{Deref, DerefMut},
+ path::{Path, PathBuf},
+ str::FromStr,
sync::Arc,
time::{Duration, Instant},
};
use thiserror::Error;
use util::ResultExt;
+use super::{FocusableElement, Stateful, StatefulInteractiveElement};
+
+/// The delay before showing the loading state.
+pub const LOADING_DELAY: Duration = Duration::from_millis(200);
+
+/// A type alias to the resource loader that the `img()` element uses.
+///
+/// Note: that this is only for Resources, like URLs or file paths.
+/// Custom loaders, or external images will not use this asset loader
+pub type ImgResourceLoader = AssetLogger<ImageAssetLoader>;
+
/// A source of image content.
-#[derive(Clone, Debug, PartialEq, Eq)]
+#[derive(Clone)]
pub enum ImageSource {
- /// Image content will be loaded from provided URI at render time.
- Uri(SharedUri),
- /// Image content will be loaded from the provided file at render time.
- File(Arc<PathBuf>),
+ /// The image content will be loaded from some resource location
+ Resource(Resource),
/// Cached image data
Render(Arc<RenderImage>),
/// Cached image data
Image(Arc<Image>),
- /// Image content will be loaded from Asset at render time.
- Embedded(SharedString),
+ /// A custom loading function to use
+ Custom(Arc<dyn Fn(&mut WindowContext) -> Option<Result<Arc<RenderImage>, ImageCacheError>>>),
}
fn is_uri(uri: &str) -> bool {
- uri.contains("://")
+ http_client::Uri::from_str(uri).is_ok()
}
impl From<SharedUri> for ImageSource {
fn from(value: SharedUri) -> Self {
- Self::Uri(value)
+ Self::Resource(Resource::Uri(value))
}
}
-impl From<&'static str> for ImageSource {
- fn from(s: &'static str) -> Self {
+impl<'a> From<&'a str> for ImageSource {
+ fn from(s: &'a str) -> Self {
if is_uri(s) {
- Self::Uri(s.into())
+ Self::Resource(Resource::Uri(s.to_string().into()))
} else {
- Self::Embedded(s.into())
+ Self::Resource(Resource::Embedded(s.to_string().into()))
}
}
}
@@ -57,32 +70,34 @@ impl From<&'static str> for ImageSource {
impl From<String> for ImageSource {
fn from(s: String) -> Self {
if is_uri(&s) {
- Self::Uri(s.into())
+ Self::Resource(Resource::Uri(s.into()))
} else {
- Self::Embedded(s.into())
+ Self::Resource(Resource::Embedded(s.into()))
}
}
}
impl From<SharedString> for ImageSource {
fn from(s: SharedString) -> Self {
- if is_uri(&s) {
- Self::Uri(s.into())
- } else {
- Self::Embedded(s)
- }
+ s.as_ref().into()
+ }
+}
+
+impl From<&Path> for ImageSource {
+ fn from(value: &Path) -> Self {
+ Self::Resource(value.to_path_buf().into())
}
}
-impl From<Arc<PathBuf>> for ImageSource {
- fn from(value: Arc<PathBuf>) -> Self {
- Self::File(value)
+impl From<Arc<Path>> for ImageSource {
+ fn from(value: Arc<Path>) -> Self {
+ Self::Resource(value.into())
}
}
impl From<PathBuf> for ImageSource {
fn from(value: PathBuf) -> Self {
- Self::File(value.into())
+ Self::Resource(value.into())
}
}
@@ -98,12 +113,80 @@ impl From<Arc<Image>> for ImageSource {
}
}
+impl<F: Fn(&mut WindowContext) -> Option<Result<Arc<RenderImage>, ImageCacheError>> + 'static>
+ From<F> for ImageSource
+{
+ fn from(value: F) -> Self {
+ Self::Custom(Arc::new(value))
+ }
+}
+
+/// The style of an image element.
+pub struct ImageStyle {
+ grayscale: bool,
+ object_fit: ObjectFit,
+ loading: Option<Box<dyn Fn() -> AnyElement>>,
+ fallback: Option<Box<dyn Fn() -> AnyElement>>,
+}
+
+impl Default for ImageStyle {
+ fn default() -> Self {
+ Self {
+ grayscale: false,
+ object_fit: ObjectFit::Contain,
+ loading: None,
+ fallback: None,
+ }
+ }
+}
+
+/// Style an image element.
+pub trait StyledImage: Sized {
+ /// Get a mutable [ImageStyle] from the element.
+ fn image_style(&mut self) -> &mut ImageStyle;
+
+ /// Set the image to be displayed in grayscale.
+ fn grayscale(mut self, grayscale: bool) -> Self {
+ self.image_style().grayscale = grayscale;
+ self
+ }
+
+ /// Set the object fit for the image.
+ fn object_fit(mut self, object_fit: ObjectFit) -> Self {
+ self.image_style().object_fit = object_fit;
+ self
+ }
+
+ /// Set the object fit for the image.
+ fn with_fallback(mut self, fallback: impl Fn() -> AnyElement + 'static) -> Self {
+ self.image_style().fallback = Some(Box::new(fallback));
+ self
+ }
+
+ /// Set the object fit for the image.
+ fn with_loading(mut self, loading: impl Fn() -> AnyElement + 'static) -> Self {
+ self.image_style().loading = Some(Box::new(loading));
+ self
+ }
+}
+
+impl StyledImage for Img {
+ fn image_style(&mut self) -> &mut ImageStyle {
+ &mut self.style
+ }
+}
+
+impl StyledImage for Stateful<Img> {
+ fn image_style(&mut self) -> &mut ImageStyle {
+ &mut self.element.style
+ }
+}
+
/// An image element.
pub struct Img {
interactivity: Interactivity,
source: ImageSource,
- grayscale: bool,
- object_fit: ObjectFit,
+ style: ImageStyle,
}
/// Create a new image element.
@@ -111,8 +194,7 @@ pub fn img(source: impl Into<ImageSource>) -> Img {
Img {
interactivity: Interactivity::default(),
source: source.into(),
- grayscale: false,
- object_fit: ObjectFit::Contain,
+ style: ImageStyle::default(),
}
}
@@ -125,16 +207,19 @@ impl Img {
"hdr", "exr", "pbm", "pam", "ppm", "pgm", "ff", "farbfeld", "qoi", "svg",
]
}
+}
- /// Set the image to be displayed in grayscale.
- pub fn grayscale(mut self, grayscale: bool) -> Self {
- self.grayscale = grayscale;
- self
+impl Deref for Stateful<Img> {
+ type Target = Img;
+
+ fn deref(&self) -> &Self::Target {
+ &self.element
}
- /// Set the object fit for the image.
- pub fn object_fit(mut self, object_fit: ObjectFit) -> Self {
- self.object_fit = object_fit;
- self
+}
+
+impl DerefMut for Stateful<Img> {
+ fn deref_mut(&mut self) -> &mut Self::Target {
+ &mut self.element
}
}
@@ -142,10 +227,17 @@ impl Img {
struct ImgState {
frame_index: usize,
last_frame_time: Option<Instant>,
+ started_loading: Option<(Instant, Task<()>)>,
+}
+
+/// The image layout state between frames
+pub struct ImgLayoutState {
+ frame_index: usize,
+ replacement: Option<AnyElement>,
}
impl Element for Img {
- type RequestLayoutState = usize;
+ type RequestLayoutState = ImgLayoutState;
type PrepaintState = Option<Hitbox>;
fn id(&self) -> Option<ElementId> {
@@ -157,11 +249,17 @@ impl Element for Img {
global_id: Option<&GlobalElementId>,
cx: &mut WindowContext,
) -> (LayoutId, Self::RequestLayoutState) {
+ let mut layout_state = ImgLayoutState {
+ frame_index: 0,
+ replacement: None,
+ };
+
cx.with_optional_element_state(global_id, |state, cx| {
let mut state = state.map(|state| {
state.unwrap_or(ImgState {
frame_index: 0,
last_frame_time: None,
+ started_loading: None,
})
});
@@ -170,64 +268,105 @@ impl Element for Img {
let layout_id = self
.interactivity
.request_layout(global_id, cx, |mut style, cx| {
- if let Some(data) = self.source.use_data(cx) {
- if let Some(state) = &mut state {
- let frame_count = data.frame_count();
- if frame_count > 1 {
- let current_time = Instant::now();
- if let Some(last_frame_time) = state.last_frame_time {
- let elapsed = current_time - last_frame_time;
- let frame_duration =
- Duration::from(data.delay(state.frame_index));
-
- if elapsed >= frame_duration {
- state.frame_index = (state.frame_index + 1) % frame_count;
- state.last_frame_time =
- Some(current_time - (elapsed - frame_duration));
+ let mut replacement_id = None;
+
+ match self.source.use_data(cx) {
+ Some(Ok(data)) => {
+ if let Some(state) = &mut state {
+ let frame_count = data.frame_count();
+ if frame_count > 1 {
+ let current_time = Instant::now();
+ if let Some(last_frame_time) = state.last_frame_time {
+ let elapsed = current_time - last_frame_time;
+ let frame_duration =
+ Duration::from(data.delay(state.frame_index));
+
+ if elapsed >= frame_duration {
+ state.frame_index =
+ (state.frame_index + 1) % frame_count;
+ state.last_frame_time =
+ Some(current_time - (elapsed - frame_duration));
+ }
+ } else {
+ state.last_frame_time = Some(current_time);
}
- } else {
- state.last_frame_time = Some(current_time);
}
+ state.started_loading = None;
}
- }
- let image_size = data.size(frame_index);
-
- if let Length::Auto = style.size.width {
- style.size.width = match style.size.height {
- Length::Definite(DefiniteLength::Absolute(
- AbsoluteLength::Pixels(height),
- )) => Length::Definite(
- px(image_size.width.0 as f32 * height.0
- / image_size.height.0 as f32)
- .into(),
- ),
- _ => Length::Definite(px(image_size.width.0 as f32).into()),
- };
- }
+ let image_size = data.size(frame_index);
+
+ if let Length::Auto = style.size.width {
+ style.size.width = match style.size.height {
+ Length::Definite(DefiniteLength::Absolute(
+ AbsoluteLength::Pixels(height),
+ )) => Length::Definite(
+ px(image_size.width.0 as f32 * height.0
+ / image_size.height.0 as f32)
+ .into(),
+ ),
+ _ => Length::Definite(px(image_size.width.0 as f32).into()),
+ };
+ }
- if let Length::Auto = style.size.height {
- style.size.height = match style.size.width {
- Length::Definite(DefiniteLength::Absolute(
- AbsoluteLength::Pixels(width),
- )) => Length::Definite(
- px(image_size.height.0 as f32 * width.0
- / image_size.width.0 as f32)
- .into(),
- ),
- _ => Length::Definite(px(image_size.height.0 as f32).into()),
- };
- }
+ if let Length::Auto = style.size.height {
+ style.size.height = match style.size.width {
+ Length::Definite(DefiniteLength::Absolute(
+ AbsoluteLength::Pixels(width),
+ )) => Length::Definite(
+ px(image_size.height.0 as f32 * width.0
+ / image_size.width.0 as f32)
+ .into(),
+ ),
+ _ => Length::Definite(px(image_size.height.0 as f32).into()),
+ };
+ }
- if global_id.is_some() && data.frame_count() > 1 {
- cx.request_animation_frame();
+ if global_id.is_some() && data.frame_count() > 1 {
+ cx.request_animation_frame();
+ }
+ }
+ Some(_err) => {
+ if let Some(fallback) = self.style.fallback.as_ref() {
+ let mut element = fallback();
+ replacement_id = Some(element.request_layout(cx));
+ layout_state.replacement = Some(element);
+ }
+ if let Some(state) = &mut state {
+ state.started_loading = None;
+ }
+ }
+ None => {
+ if let Some(state) = &mut state {
+ if let Some((started_loading, _)) = state.started_loading {
+ if started_loading.elapsed() > LOADING_DELAY {
+ if let Some(loading) = self.style.loading.as_ref() {
+ let mut element = loading();
+ replacement_id = Some(element.request_layout(cx));
+ layout_state.replacement = Some(element);
+ }
+ }
+ } else {
+ let parent_view_id = cx.parent_view_id();
+ let task = cx.spawn(|mut cx| async move {
+ cx.background_executor().timer(LOADING_DELAY).await;
+ cx.update(|cx| {
+ cx.notify(parent_view_id);
+ })
+ .ok();
+ });
+ state.started_loading = Some((Instant::now(), task));
+ }
+ }
}
}
- cx.request_layout(style, [])
+ cx.request_layout(style, replacement_id)
});
- ((layout_id, frame_index), state)
+ layout_state.frame_index = frame_index;
+
+ ((layout_id, layout_state), state)
})
}
@@ -235,18 +374,24 @@ impl Element for Img {
&mut self,
global_id: Option<&GlobalElementId>,
bounds: Bounds<Pixels>,
- _request_layout: &mut Self::RequestLayoutState,
+ request_layout: &mut Self::RequestLayoutState,
cx: &mut WindowContext,
- ) -> Option<Hitbox> {
+ ) -> Self::PrepaintState {
self.interactivity
- .prepaint(global_id, bounds, bounds.size, cx, |_, _, hitbox, _| hitbox)
+ .prepaint(global_id, bounds, bounds.size, cx, |_, _, hitbox, cx| {
+ if let Some(replacement) = &mut request_layout.replacement {
+ replacement.prepaint(cx);
+ }
+
+ hitbox
+ })
}
fn paint(
&mut self,
global_id: Option<&GlobalElementId>,
bounds: Bounds<Pixels>,
- frame_index: &mut Self::RequestLayoutState,
+ layout_state: &mut Self::RequestLayoutState,
hitbox: &mut Self::PrepaintState,
cx: &mut WindowContext,
) {
@@ -255,29 +400,26 @@ impl Element for Img {
.paint(global_id, bounds, hitbox.as_ref(), cx, |style, cx| {
let corner_radii = style.corner_radii.to_pixels(bounds.size, cx.rem_size());
- if let Some(data) = source.use_data(cx) {
- let new_bounds = self.object_fit.get_bounds(bounds, data.size(*frame_index));
+ if let Some(Ok(data)) = source.use_data(cx) {
+ let new_bounds = self
+ .style
+ .object_fit
+ .get_bounds(bounds, data.size(layout_state.frame_index));
cx.paint_image(
new_bounds,
corner_radii,
data.clone(),
- *frame_index,
- self.grayscale,
+ layout_state.frame_index,
+ self.style.grayscale,
)
.log_err();
+ } else if let Some(replacement) = &mut layout_state.replacement {
+ replacement.paint(cx);
}
})
}
}
-impl IntoElement for Img {
- type Element = Self;
-
- fn into_element(self) -> Self::Element {
- self
- }
-}
-
impl Styled for Img {
fn style(&mut self) -> &mut StyleRefinement {
&mut self.interactivity.base_style
@@ -290,41 +432,28 @@ impl InteractiveElement for Img {
}
}
-impl ImageSource {
- pub(crate) fn use_data(&self, cx: &mut WindowContext) -> Option<Arc<RenderImage>> {
- match self {
- ImageSource::Uri(_) | ImageSource::Embedded(_) | ImageSource::File(_) => {
- let uri_or_path: UriOrPath = match self {
- ImageSource::Uri(uri) => uri.clone().into(),
- ImageSource::File(path) => path.clone().into(),
- ImageSource::Embedded(path) => UriOrPath::Embedded(path.clone()),
- _ => unreachable!(),
- };
-
- cx.use_asset::<ImageAsset>(&uri_or_path)?.log_err()
- }
+impl IntoElement for Img {
+ type Element = Self;
- ImageSource::Render(data) => Some(data.to_owned()),
- ImageSource::Image(data) => cx.use_asset::<ImageDecoder>(data)?.log_err(),
- }
+ fn into_element(self) -> Self::Element {
+ self
}
+}
- /// Fetch the data associated with this source, using GPUI's asset caching
- pub async fn data(&self, cx: &mut AppContext) -> Option<Arc<RenderImage>> {
- match self {
- ImageSource::Uri(_) | ImageSource::Embedded(_) | ImageSource::File(_) => {
- let uri_or_path: UriOrPath = match self {
- ImageSource::Uri(uri) => uri.clone().into(),
- ImageSource::File(path) => path.clone().into(),
- ImageSource::Embedded(path) => UriOrPath::Embedded(path.clone()),
- _ => unreachable!(),
- };
+impl FocusableElement for Img {}
- cx.fetch_asset::<ImageAsset>(&uri_or_path).0.await.log_err()
- }
+impl StatefulInteractiveElement for Img {}
- ImageSource::Render(data) => Some(data.to_owned()),
- ImageSource::Image(data) => cx.fetch_asset::<ImageDecoder>(data).0.await.log_err(),
+impl ImageSource {
+ pub(crate) fn use_data(
+ &self,
+ cx: &mut WindowContext,
+ ) -> Option<Result<Arc<RenderImage>, ImageCacheError>> {
+ match self {
+ ImageSource::Resource(resource) => cx.use_asset::<ImgResourceLoader>(&resource),
+ ImageSource::Custom(loading_fn) => loading_fn(cx),
+ ImageSource::Render(data) => Some(Ok(data.to_owned())),
+ ImageSource::Image(data) => cx.use_asset::<AssetLogger<ImageDecoder>>(data),
}
}
}
@@ -334,22 +463,23 @@ enum ImageDecoder {}
impl Asset for ImageDecoder {
type Source = Arc<Image>;
- type Output = Result<Arc<RenderImage>, Arc<anyhow::Error>>;
+ type Output = Result<Arc<RenderImage>, ImageCacheError>;
fn load(
source: Self::Source,
cx: &mut AppContext,
) -> impl Future<Output = Self::Output> + Send + 'static {
- let result = source.to_image_data(cx).map_err(Arc::new);
- async { result }
+ let renderer = cx.svg_renderer();
+ async move { source.to_image_data(renderer).map_err(Into::into) }
}
}
+/// An image loader for the GPUI asset system
#[derive(Clone)]
-enum ImageAsset {}
+pub enum ImageAssetLoader {}
-impl Asset for ImageAsset {
- type Source = UriOrPath;
+impl Asset for ImageAssetLoader {
+ type Source = Resource;
type Output = Result<Arc<RenderImage>, ImageCacheError>;
fn load(
@@ -363,12 +493,12 @@ impl Asset for ImageAsset {
let asset_source = cx.asset_source().clone();
async move {
let bytes = match source.clone() {
- UriOrPath::Path(uri) => fs::read(uri.as_ref())?,
- UriOrPath::Uri(uri) => {
+ Resource::Path(uri) => fs::read(uri.as_ref())?,
+ Resource::Uri(uri) => {
let mut response = client
.get(uri.as_ref(), ().into(), true)
.await
- .map_err(|e| ImageCacheError::Client(Arc::new(e)))?;
+ .map_err(|e| anyhow!(e))?;
let mut body = Vec::new();
response.body_mut().read_to_end(&mut body).await?;
if !response.status().is_success() {
@@ -383,13 +513,13 @@ impl Asset for ImageAsset {
}
body
}
- UriOrPath::Embedded(path) => {
+ Resource::Embedded(path) => {
let data = asset_source.load(&path).ok().flatten();
if let Some(data) = data {
data.to_vec()
} else {
return Err(ImageCacheError::Asset(
- format!("not found: {}", path).into(),
+ format!("Embedded resource not found: {}", path).into(),
));
}
}
@@ -450,9 +580,9 @@ impl Asset for ImageAsset {
/// An error that can occur when interacting with the image cache.
#[derive(Debug, Error, Clone)]
pub enum ImageCacheError {
- /// An error that occurred while fetching an image from a remote source.
- #[error("http error: {0}")]
- Client(#[from] Arc<anyhow::Error>),
+ /// Some other kind of error occurred
+ #[error("error: {0}")]
+ Other(#[from] Arc<anyhow::Error>),
/// An error that occurred while reading the image from disk.
#[error("IO error: {0}")]
Io(Arc<std::io::Error>),
@@ -477,20 +607,26 @@ pub enum ImageCacheError {
Usvg(Arc<usvg::Error>),
}
-impl From<std::io::Error> for ImageCacheError {
- fn from(error: std::io::Error) -> Self {
- Self::Io(Arc::new(error))
+impl From<anyhow::Error> for ImageCacheError {
+ fn from(value: anyhow::Error) -> Self {
+ Self::Other(Arc::new(value))
}
}
-impl From<ImageError> for ImageCacheError {
- fn from(error: ImageError) -> Self {
- Self::Image(Arc::new(error))
+impl From<io::Error> for ImageCacheError {
+ fn from(value: io::Error) -> Self {
+ Self::Io(Arc::new(value))
}
}
impl From<usvg::Error> for ImageCacheError {
- fn from(error: usvg::Error) -> Self {
- Self::Usvg(Arc::new(error))
+ fn from(value: usvg::Error) -> Self {
+ Self::Usvg(Arc::new(value))
+ }
+}
+
+impl From<image::ImageError> for ImageCacheError {
+ fn from(value: image::ImageError) -> Self {
+ Self::Image(Arc::new(value))
}
}
diff --git a/crates/gpui/src/platform.rs b/crates/gpui/src/platform.rs
index 727ca952dab..3e4d0706f07 100644
--- a/crates/gpui/src/platform.rs
+++ b/crates/gpui/src/platform.rs
@@ -27,11 +27,11 @@ mod test;
mod windows;
use crate::{
- point, Action, AnyWindowHandle, AppContext, AsyncWindowContext, BackgroundExecutor, Bounds,
- DevicePixels, DispatchEventResult, Font, FontId, FontMetrics, FontRun, ForegroundExecutor,
- GPUSpecs, GlyphId, ImageSource, Keymap, LineLayout, Pixels, PlatformInput, Point,
- RenderGlyphParams, RenderImage, RenderImageParams, RenderSvgParams, ScaledPixels, Scene,
- SharedString, Size, SvgSize, Task, TaskLabel, WindowContext, DEFAULT_WINDOW_SIZE,
+ point, Action, AnyWindowHandle, AsyncWindowContext, BackgroundExecutor, Bounds, DevicePixels,
+ DispatchEventResult, Font, FontId, FontMetrics, FontRun, ForegroundExecutor, GPUSpecs, GlyphId,
+ ImageSource, Keymap, LineLayout, Pixels, PlatformInput, Point, RenderGlyphParams, RenderImage,
+ RenderImageParams, RenderSvgParams, ScaledPixels, Scene, SharedString, Size, SvgRenderer,
+ SvgSize, Task, TaskLabel, WindowContext, DEFAULT_WINDOW_SIZE,
};
use anyhow::{anyhow, Result};
use async_task::Runnable;
@@ -1290,11 +1290,13 @@ impl Image {
/// Use the GPUI `use_asset` API to make this image renderable
pub fn use_render_image(self: Arc<Self>, cx: &mut WindowContext) -> Option<Arc<RenderImage>> {
- ImageSource::Image(self).use_data(cx)
+ ImageSource::Image(self)
+ .use_data(cx)
+ .and_then(|result| result.ok())
}
/// Convert the clipboard image to an `ImageData` object.
- pub fn to_image_data(&self, cx: &AppContext) -> Result<Arc<RenderImage>> {
+ pub fn to_image_data(&self, svg_renderer: SvgRenderer) -> Result<Arc<RenderImage>> {
fn frames_for_image(
bytes: &[u8],
format: image::ImageFormat,
@@ -1331,10 +1333,7 @@ impl Image {
ImageFormat::Bmp => frames_for_image(&self.bytes, image::ImageFormat::Bmp)?,
ImageFormat::Tiff => frames_for_image(&self.bytes, image::ImageFormat::Tiff)?,
ImageFormat::Svg => {
- // TODO: Fix this
- let pixmap = cx
- .svg_renderer()
- .render_pixmap(&self.bytes, SvgSize::ScaleFactor(1.0))?;
+ let pixmap = svg_renderer.render_pixmap(&self.bytes, SvgSize::ScaleFactor(1.0))?;
let buffer =
image::ImageBuffer::from_raw(pixmap.width(), pixmap.height(), pixmap.take())
diff --git a/crates/gpui/src/prelude.rs b/crates/gpui/src/prelude.rs
index 2ab115fa626..e1cc14e93ef 100644
--- a/crates/gpui/src/prelude.rs
+++ b/crates/gpui/src/prelude.rs
@@ -5,5 +5,5 @@
pub use crate::{
util::FluentBuilder, BorrowAppContext, BorrowWindow, Context, Element, FocusableElement,
InteractiveElement, IntoElement, ParentElement, Refineable, Render, RenderOnce,
- StatefulInteractiveElement, Styled, VisualContext,
+ StatefulInteractiveElement, Styled, StyledImage, VisualContext,
};
diff --git a/crates/gpui/src/svg_renderer.rs b/crates/gpui/src/svg_renderer.rs
index a5cbb673728..f99880ec5e3 100644
--- a/crates/gpui/src/svg_renderer.rs
+++ b/crates/gpui/src/svg_renderer.rs
@@ -10,7 +10,7 @@ pub(crate) struct RenderSvgParams {
}
#[derive(Clone)]
-pub(crate) struct SvgRenderer {
+pub struct SvgRenderer {
asset_source: Arc<dyn AssetSource>,
}
@@ -24,7 +24,7 @@ impl SvgRenderer {
Self { asset_source }
}
- pub fn render(&self, params: &RenderSvgParams) -> Result<Option<Vec<u8>>> {
+ pub(crate) fn render(&self, params: &RenderSvgParams) -> Result<Option<Vec<u8>>> {
if params.size.is_zero() {
return Err(anyhow!("can't render at a zero size"));
}
diff --git a/crates/gpui/src/window.rs b/crates/gpui/src/window.rs
index ba974567a6c..0f2be2497ac 100644
--- a/crates/gpui/src/window.rs
+++ b/crates/gpui/src/window.rs
@@ -900,7 +900,13 @@ impl<'a> WindowContext<'a> {
/// Indicate that this view has changed, which will invoke any observers and also mark the window as dirty.
/// If this view or any of its ancestors are *cached*, notifying it will cause it or its ancestors to be redrawn.
- pub fn notify(&mut self, view_id: EntityId) {
+ /// Note that this method will always cause a redraw, the entire window is refreshed if view_id is None.
+ pub fn notify(&mut self, view_id: Option<EntityId>) {
+ let Some(view_id) = view_id else {
+ self.refresh();
+ return;
+ };
+
for view_id in self
.window
.rendered_frame
@@ -1165,13 +1171,7 @@ impl<'a> WindowContext<'a> {
/// If called from within a view, it will notify that view on the next frame. Otherwise, it will refresh the entire window.
pub fn request_animation_frame(&self) {
let parent_id = self.parent_view_id();
- self.on_next_frame(move |cx| {
- if let Some(parent_id) = parent_id {
- cx.notify(parent_id)
- } else {
- cx.refresh()
- }
- });
+ self.on_next_frame(move |cx| cx.notify(parent_id));
}
/// Spawn the future returned by the given closure on the application thread pool.
@@ -1982,9 +1982,7 @@ impl<'a> WindowContext<'a> {
///
/// Note that the multiple calls to this method will only result in one `Asset::load` call at a
/// time.
- ///
- /// This asset will not be cached by default, see [Self::use_cached_asset]
- pub fn use_asset<A: Asset + 'static>(&mut self, source: &A::Source) -> Option<A::Output> {
+ pub fn use_asset<A: Asset>(&mut self, source: &A::Source) -> Option<A::Output> {
let (task, is_first) = self.fetch_asset::<A>(source);
task.clone().now_or_never().or_else(|| {
if is_first {
@@ -1994,13 +1992,7 @@ impl<'a> WindowContext<'a> {
|mut cx| async move {
task.await;
- cx.on_next_frame(move |cx| {
- if let Some(parent_id) = parent_id {
- cx.notify(parent_id)
- } else {
- cx.refresh()
- }
- });
+ cx.on_next_frame(move |cx| cx.notify(parent_id));
}
})
.detach();
@@ -2163,6 +2155,9 @@ impl<'a> WindowContext<'a> {
/// A variant of `with_element_state` that allows the element's id to be optional. This is a convenience
/// method for elements where the element id may or may not be assigned. Prefer using `with_element_state`
/// when the element is guaranteed to have an id.
+ ///
+ /// The first option means 'no ID provided'
+ /// The second option means 'not yet initialized'
pub fn with_optional_element_state<S, R>(
&mut self,
global_id: Option<&GlobalElementId>,
@@ -4227,7 +4222,7 @@ impl<'a, V: 'static> ViewContext<'a, V> {
/// Indicate that this view has changed, which will invoke any observers and also mark the window as dirty.
/// If this view or any of its ancestors are *cached*, notifying it will cause it or its ancestors to be redrawn.
pub fn notify(&mut self) {
- self.window_cx.notify(self.view.entity_id());
+ self.window_cx.notify(Some(self.view.entity_id()));
}
/// Register a callback to be invoked when the window is resized.
diff --git a/crates/ui/src/components/scrollbar.rs b/crates/ui/src/components/scrollbar.rs
index c8f09439c33..7dbda4b3fbc 100644
--- a/crates/ui/src/components/scrollbar.rs
+++ b/crates/ui/src/components/scrollbar.rs
@@ -370,7 +370,7 @@ impl Element for Scrollbar {
};
if let Some(id) = state.parent_id {
- cx.notify(id);
+ cx.notify(Some(id));
}
}
} else {
@@ -382,7 +382,7 @@ impl Element for Scrollbar {
if phase.bubble() {
state.drag.take();
if let Some(id) = state.parent_id {
- cx.notify(id);
+ cx.notify(Some(id));
}
}
});
diff --git a/crates/workspace/src/workspace.rs b/crates/workspace/src/workspace.rs
index 047e47e8148..31089f78828 100644
--- a/crates/workspace/src/workspace.rs
+++ b/crates/workspace/src/workspace.rs
@@ -5896,7 +5896,7 @@ pub fn client_side_decorations(element: impl IntoElement, cx: &mut WindowContext
let edge = cx.try_global::<GlobalResizeEdge>();
if new_edge != edge.map(|edge| edge.0) {
cx.window_handle()
- .update(cx, |workspace, cx| cx.notify(workspace.entity_id()))
+ .update(cx, |workspace, cx| cx.notify(Some(workspace.entity_id())))
.ok();
}
})