app-editors/zed: add 0.141.2, drop 0.140.5
[gentoo-zh.git] / app-editors / zed / zed-0.141.2.ebuild
blobdc3eece50a09ea8968b5cdd0734f4c57b904344e
1 # Copyright 2024 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
4 # Autogenerated by pycargoebuild 0.13.2
6 EAPI=8
8 CRATES="
9         addr2line@0.21.0
10         adler32@1.2.0
11         adler@1.0.2
12         aes@0.8.4
13         ahash@0.7.8
14         ahash@0.8.8
15         aho-corasick@1.1.1
16         alacritty_terminal@0.23.0
17         aliasable@0.1.3
18         allocator-api2@0.2.16
19         alsa-sys@0.3.1
20         alsa@0.7.1
21         ambient-authority@0.0.2
22         android-tzdata@0.1.1
23         android_system_properties@0.1.5
24         anes@0.1.6
25         anstream@0.5.0
26         anstyle-parse@0.2.1
27         anstyle-query@1.0.0
28         anstyle-wincon@2.1.0
29         anstyle@1.0.3
30         any_vec@0.13.0
31         anyhow@1.0.83
32         approx@0.5.1
33         arbitrary@1.3.2
34         arrayref@0.3.7
35         arrayvec@0.7.4
36         as-raw-xcb-connection@1.0.1
37         ascii@1.1.0
38         ash-window@0.13.0
39         ash@0.38.0+1.3.281
40         ashpd@0.8.1
41         async-attributes@1.1.2
42         async-broadcast@0.7.0
43         async-channel@1.9.0
44         async-channel@2.2.0
45         async-compat@0.2.1
46         async-compression@0.4.6
47         async-dispatcher@0.1.2
48         async-executor@1.5.1
49         async-fs@1.6.0
50         async-fs@2.1.1
51         async-global-executor@2.3.1
52         async-io@1.13.0
53         async-io@2.3.1
54         async-lock@2.8.0
55         async-lock@3.3.0
56         async-native-tls@0.3.3
57         async-native-tls@0.5.0
58         async-net@1.7.0
59         async-net@2.0.0
60         async-process@1.7.0
61         async-process@2.1.0
62         async-recursion@0.3.2
63         async-recursion@1.0.5
64         async-signal@0.2.5
65         async-std@1.12.0
66         async-stream-impl@0.3.5
67         async-stream@0.3.5
68         async-tar@0.4.2
69         async-task@4.7.0
70         async-trait@0.1.77
71         async-tungstenite@0.16.1
72         async_zip@0.0.17
73         asynchronous-codec@0.7.0
74         atoi@2.0.0
75         atomic-waker@1.1.1
76         atomic@0.5.3
77         atty@0.2.14
78         autocfg@1.1.0
79         aws-config@1.1.5
80         aws-credential-types@1.1.5
81         aws-runtime@1.1.5
82         aws-sdk-s3@1.15.0
83         aws-sdk-sso@1.13.0
84         aws-sdk-ssooidc@1.13.0
85         aws-sdk-sts@1.13.0
86         aws-sigv4@1.1.5
87         aws-smithy-async@1.1.5
88         aws-smithy-checksums@0.60.5
89         aws-smithy-eventstream@0.60.4
90         aws-smithy-http@0.60.5
91         aws-smithy-json@0.60.5
92         aws-smithy-query@0.60.5
93         aws-smithy-runtime-api@1.1.5
94         aws-smithy-runtime@1.1.5
95         aws-smithy-types@1.1.5
96         aws-smithy-xml@0.60.5
97         aws-types@1.1.5
98         axum-core@0.3.4
99         axum-extra@0.4.2
100         axum@0.6.20
101         backtrace@0.3.69
102         base16ct@0.1.1
103         base64-simd@0.8.0
104         base64@0.13.1
105         base64@0.21.7
106         base64@0.22.0
107         base64ct@1.6.0
108         bigdecimal@0.3.1
109         bincode@1.3.3
110         bindgen@0.64.0
111         bindgen@0.65.1
112         bit-set@0.5.3
113         bit-vec@0.6.3
114         bitflags@1.3.2
115         bitflags@2.4.2
116         bitvec@1.0.1
117         block-buffer@0.10.4
118         block-buffer@0.9.0
119         block-padding@0.3.3
120         block@0.1.6
121         blocking@1.5.1
122         borsh-derive-internal@0.10.3
123         borsh-derive@0.10.3
124         borsh-schema-derive-internal@0.10.3
125         borsh@0.10.3
126         bstr@1.6.2
127         bumpalo@3.14.0
128         bytecheck@0.6.11
129         bytecheck_derive@0.6.11
130         bytemuck@1.14.0
131         bytemuck_derive@1.5.0
132         byteorder@1.4.3
133         bytes-utils@0.1.4
134         bytes@0.4.12
135         bytes@1.5.0
136         calloop-wayland-source@0.3.0
137         calloop@0.13.0
138         cap-fs-ext@3.0.0
139         cap-net-ext@3.0.0
140         cap-primitives@3.0.0
141         cap-rand@3.0.0
142         cap-std@3.0.0
143         cap-time-ext@3.0.0
144         cargo_toml@0.20.2
145         cast@0.3.0
146         castaway@0.1.2
147         cbc@0.1.2
148         cbindgen@0.26.0
149         cc@1.0.90
150         cesu8@1.1.0
151         cexpr@0.6.0
152         cfg-if@1.0.0
153         cfg_aliases@0.1.1
154         chrono@0.4.38
155         chunked_transfer@1.4.1
156         ciborium-io@0.2.2
157         ciborium-ll@0.2.2
158         ciborium@0.2.2
159         cipher@0.3.0
160         cipher@0.4.4
161         clang-sys@1.6.1
162         clap@3.2.25
163         clap@4.4.4
164         clap_builder@4.4.4
165         clap_derive@4.4.2
166         clap_lex@0.2.4
167         clap_lex@0.5.1
168         clickhouse-derive@0.1.1
169         clickhouse-rs-cityhash-sys@0.1.2
170         clickhouse@0.11.6
171         clipboard-win@3.1.1
172         cmake@0.1.50
173         cocoa-foundation@0.1.2
174         cocoa@0.25.0
175         codespan-reporting@0.11.1
176         color_quant@1.1.0
177         colorchoice@1.0.0
178         combine@4.6.6
179         concurrent-queue@2.2.0
180         console@0.15.7
181         const-cstr@0.3.0
182         const-oid@0.9.5
183         const-random-macro@0.1.16
184         const-random@0.1.18
185         convert_case@0.4.0
186         convert_case@0.6.0
187         core-foundation-sys@0.6.2
188         core-foundation-sys@0.8.6
189         core-foundation@0.9.4
190         core-graphics-types@0.1.3
191         core-graphics@0.23.1
192         core-services@0.2.1
193         core-text@20.1.0
194         coreaudio-rs@0.11.2
195         coreaudio-sys@0.2.12
196         cpal@0.15.2
197         cpp_demangle@0.4.3
198         cpufeatures@0.2.9
199         cranelift-bforest@0.106.0
200         cranelift-codegen-meta@0.106.0
201         cranelift-codegen-shared@0.106.0
202         cranelift-codegen@0.106.0
203         cranelift-control@0.106.0
204         cranelift-entity@0.106.0
205         cranelift-frontend@0.106.0
206         cranelift-isle@0.106.0
207         cranelift-native@0.106.0
208         cranelift-wasm@0.106.0
209         crc-catalog@2.2.0
210         crc32c@0.6.5
211         crc32fast@1.3.2
212         crc@3.0.1
213         criterion-plot@0.5.0
214         criterion@0.4.0
215         crossbeam-channel@0.5.8
216         crossbeam-deque@0.8.3
217         crossbeam-epoch@0.9.15
218         crossbeam-queue@0.3.8
219         crossbeam-utils@0.8.16
220         crunchy@0.2.2
221         crypto-bigint@0.4.9
222         crypto-bigint@0.5.5
223         crypto-common@0.1.6
224         crypto-mac@0.11.0
225         ctor@0.2.6
226         ctrlc@3.4.4
227         curl-sys@0.4.67+curl-8.3.0
228         curl@0.4.44
229         cursor-icon@1.1.0
230         dashmap@5.5.3
231         dasp_sample@0.11.0
232         data-encoding@2.5.0
233         data-url@0.3.1
234         deflate64@0.1.8
235         deflate@0.8.6
236         der@0.6.1
237         der@0.7.8
238         deranged@0.3.11
239         derivative@2.2.0
240         derive_more@0.99.17
241         dialoguer@0.11.0
242         diff@0.1.13
243         digest@0.10.7
244         digest@0.9.0
245         dirs-next@2.0.0
246         dirs-sys-next@0.1.2
247         dirs-sys@0.3.7
248         dirs-sys@0.4.1
249         dirs@4.0.0
250         dirs@5.0.1
251         dlib@0.5.2
252         dotenvy@0.15.7
253         downcast-rs@1.2.0
254         doxygen-rs@0.4.2
255         dwrote@0.11.0
256         dyn-clone@1.0.14
257         ecdsa@0.14.8
258         either@1.9.0
259         elliptic-curve@0.12.3
260         embed-resource@2.4.2
261         emojis@0.6.1
262         encode_unicode@0.3.6
263         encoding_rs@0.8.33
264         endi@1.1.0
265         enumflags2@0.7.9
266         enumflags2_derive@0.7.9
267         env_logger@0.9.3
268         envy@0.4.2
269         equivalent@1.0.1
270         erased-serde@0.4.5
271         errno-dragonfly@0.1.2
272         errno@0.2.8
273         errno@0.3.8
274         etagere@0.2.8
275         etcetera@0.8.0
276         euclid@0.22.9
277         event-listener-strategy@0.4.0
278         event-listener-strategy@0.5.0
279         event-listener@2.5.3
280         event-listener@4.0.3
281         event-listener@5.1.0
282         exec@0.3.1
283         fallible-iterator@0.3.0
284         fancy-regex@0.12.0
285         fast-srgb8@1.0.0
286         fastrand@1.9.0
287         fastrand@2.0.0
288         fd-lock@4.0.2
289         fdeflate@0.3.4
290         ff@0.12.1
291         filedescriptor@0.8.2
292         filetime@0.2.22
293         finl_unicode@1.2.0
294         fixedbitset@0.4.2
295         flate2@1.0.27
296         float-cmp@0.9.0
297         float-ord@0.2.0
298         flume@0.11.0
299         fnv@1.0.7
300         font-types@0.5.5
301         fontconfig-parser@0.5.6
302         fontdb@0.18.0
303         foreign-types-macros@0.2.3
304         foreign-types-shared@0.1.1
305         foreign-types-shared@0.3.1
306         foreign-types@0.3.2
307         foreign-types@0.5.0
308         fork@0.1.23
309         form_urlencoded@1.2.1
310         freetype-sys@0.13.1
311         freetype@0.7.0
312         fs-set-times@0.20.1
313         fsevent-sys@3.1.0
314         fsevent-sys@4.1.0
315         funty@2.0.0
316         futf@0.1.5
317         futures-batch@0.6.1
318         futures-channel@0.3.30
319         futures-core@0.3.30
320         futures-executor@0.3.28
321         futures-intrusive@0.5.0
322         futures-io@0.3.30
323         futures-lite@1.13.0
324         futures-lite@2.2.0
325         futures-macro@0.3.30
326         futures-sink@0.3.30
327         futures-task@0.3.30
328         futures-timer@3.0.3
329         futures-util@0.3.30
330         futures@0.1.31
331         futures@0.3.28
332         fuzzy-matcher@0.3.7
333         generic-array@0.14.7
334         gethostname@0.4.3
335         getrandom@0.1.16
336         getrandom@0.2.10
337         gif@0.11.4
338         gimli@0.28.0
339         git2@0.19.0
340         glob@0.3.1
341         globset@0.4.14
342         gloo-timers@0.2.6
343         glow@0.13.1
344         gpu-alloc-ash@0.7.0
345         gpu-alloc-types@0.3.0
346         gpu-alloc@0.6.0
347         grid@0.13.0
348         group@0.12.1
349         h2@0.3.21
350         half@2.4.1
351         hashbrown@0.12.3
352         hashbrown@0.13.2
353         hashbrown@0.14.5
354         hashlink@0.8.4
355         headers-core@0.2.0
356         headers@0.3.9
357         heck@0.3.3
358         heck@0.4.1
359         heed-traits@0.20.0
360         heed-types@0.20.0
361         heed@0.20.1
362         hermit-abi@0.1.19
363         hermit-abi@0.3.3
364         hex@0.4.3
365         hexf-parse@0.2.1
366         hidden-trait@0.1.2
367         hkdf@0.12.3
368         hmac@0.11.0
369         hmac@0.12.1
370         home@0.5.9
371         hound@3.5.0
372         html5ever@0.27.0
373         http-body@0.4.5
374         http-range-header@0.3.1
375         http@0.2.9
376         http@1.0.0
377         httparse@1.8.0
378         httpdate@1.0.3
379         human_bytes@0.4.3
380         humantime@2.1.0
381         hyper-rustls@0.24.2
382         hyper-tls@0.5.0
383         hyper@0.14.27
384         iana-time-zone-haiku@0.1.2
385         iana-time-zone@0.1.57
386         id-arena@2.2.1
387         idna@0.5.0
388         ignore@0.4.22
389         image@0.23.14
390         imagesize@0.12.0
391         indexmap@1.9.3
392         indexmap@2.2.6
393         indoc@1.0.9
394         inherent@1.0.10
395         inotify-sys@0.1.5
396         inotify@0.9.6
397         inout@0.1.3
398         instant@0.1.12
399         io-extras@0.18.1
400         io-lifetimes@1.0.11
401         io-lifetimes@2.0.3
402         iovec@0.1.4
403         ipc-channel@0.18.0
404         ipnet@2.8.0
405         is-docker@0.2.0
406         is-wsl@0.4.0
407         isahc@1.7.2
408         itertools@0.10.5
409         itertools@0.11.0
410         itertools@0.12.1
411         itoa@1.0.11
412         jni-sys@0.3.0
413         jni@0.19.0
414         jni@0.20.0
415         jobserver@0.1.28
416         jpeg-decoder@0.1.22
417         js-sys@0.3.64
418         jwt@0.16.0
419         khronos-egl@5.0.0
420         kqueue-sys@1.0.4
421         kqueue@1.0.8
422         kurbo@0.11.0
423         kv-log-macro@1.0.7
424         lazy-bytes-cast@5.0.1
425         lazy_static@1.4.0
426         lazycell@1.3.0
427         leb128@0.2.5
428         libc@0.2.153
429         libgit2-sys@0.17.0+1.8.1
430         libloading@0.7.4
431         libloading@0.8.0
432         libm@0.2.8
433         libmimalloc-sys@0.1.37
434         libsqlite3-sys@0.26.0
435         libz-sys@1.1.12
436         line-wrap@0.1.1
437         linkify@0.10.0
438         linkme-impl@0.3.17
439         linkme@0.3.17
440         linux-raw-sys@0.3.8
441         linux-raw-sys@0.4.12
442         lmdb-master-sys@0.2.0
443         lock_api@0.4.10
444         log@0.4.21
445         lz4-sys@1.9.4
446         lz4@1.24.0
447         mac@0.1.1
448         mach2@0.4.1
449         mach@0.3.2
450         malloc_buf@0.0.6
451         markup5ever@0.12.1
452         markup5ever_rcdom@0.3.0
453         matchers@0.1.0
454         matchit@0.7.3
455         maybe-owned@0.3.4
456         md-5@0.10.5
457         memchr@2.7.2
458         memfd@0.6.4
459         memmap2@0.8.0
460         memmap2@0.9.4
461         memoffset@0.9.0
462         metal@0.25.0
463         mimalloc@0.1.41
464         mime@0.3.17
465         minimal-lexical@0.2.1
466         miniz_oxide@0.3.7
467         miniz_oxide@0.4.4
468         miniz_oxide@0.7.1
469         mint@0.5.9
470         mio@0.8.11
471         miow@0.6.0
472         multimap@0.8.3
473         naga@0.14.2
474         nanoid@0.4.0
475         nanorand@0.7.0
476         native-tls@0.2.11
477         ndk-context@0.1.1
478         ndk-sys@0.4.1+23.1.7779620
479         ndk@0.7.0
480         new_debug_unreachable@1.0.4
481         nix@0.24.3
482         nix@0.27.1
483         nix@0.28.0
484         nom@7.1.3
485         notify@6.1.1
486         ntapi@0.4.1
487         nu-ansi-term@0.46.0
488         num-bigint-dig@0.7.1
489         num-bigint-dig@0.8.4
490         num-bigint@0.4.4
491         num-complex@0.4.4
492         num-conv@0.1.0
493         num-derive@0.3.3
494         num-format@0.4.4
495         num-integer@0.1.45
496         num-iter@0.1.43
497         num-rational@0.3.2
498         num-rational@0.4.1
499         num-traits@0.2.16
500         num@0.4.1
501         num_cpus@1.16.0
502         num_enum@0.5.11
503         num_enum_derive@0.5.11
504         objc@0.2.7
505         objc_exception@0.1.2
506         object@0.32.1
507         oboe-sys@0.5.0
508         oboe@0.5.0
509         once_cell@1.19.0
510         oo7@0.3.0
511         oorandom@11.1.3
512         opaque-debug@0.3.0
513         open@5.1.2
514         openssl-macros@0.1.1
515         openssl-probe@0.1.5
516         openssl-src@300.2.3+3.2.1
517         openssl-sys@0.9.93
518         openssl@0.10.57
519         option-ext@0.2.0
520         ordered-float@2.10.0
521         ordered-float@3.9.1
522         ordered-stream@0.2.0
523         os_str_bytes@6.5.1
524         ouroboros@0.17.2
525         ouroboros_macro@0.17.2
526         outref@0.5.1
527         overload@0.1.1
528         p256@0.11.1
529         page_size@0.6.0
530         palette@0.7.5
531         palette_derive@0.7.5
532         parity-tokio-ipc@0.9.0
533         parking@2.2.0
534         parking_lot@0.12.1
535         parking_lot_core@0.9.8
536         password-hash@0.2.1
537         paste@1.0.14
538         pathdiff@0.2.1
539         pathfinder_geometry@0.5.1
540         pbkdf2@0.12.2
541         pbkdf2@0.8.0
542         peeking_take_while@0.1.2
543         pem-rfc7468@0.7.0
544         pem@0.8.3
545         percent-encoding@2.3.1
546         petgraph@0.6.4
547         phf@0.11.2
548         phf_codegen@0.11.2
549         phf_generator@0.10.0
550         phf_generator@0.11.2
551         phf_macros@0.11.2
552         phf_shared@0.10.0
553         phf_shared@0.11.2
554         pico-args@0.5.0
555         pin-project-internal@1.1.3
556         pin-project-lite@0.2.13
557         pin-project@1.1.3
558         pin-utils@0.1.0
559         piper@0.2.1
560         pkcs1@0.7.5
561         pkcs8@0.10.2
562         pkcs8@0.9.0
563         pkg-config@0.3.27
564         plist@1.5.1
565         plotters-backend@0.3.5
566         plotters-svg@0.3.5
567         plotters@0.3.5
568         png@0.16.8
569         png@0.17.13
570         polling@2.8.0
571         polling@3.3.2
572         pollster@0.2.5
573         postage@0.5.0
574         powerfmt@0.2.0
575         ppv-lite86@0.2.17
576         precomputed-hash@0.1.1
577         pretty_assertions@1.4.0
578         prettyplease@0.2.15
579         proc-macro-crate@0.1.5
580         proc-macro-crate@1.3.1
581         proc-macro-crate@3.1.0
582         proc-macro-error-attr@1.0.4
583         proc-macro-error@1.0.4
584         proc-macro2@1.0.81
585         profiling-procmacros@1.0.15
586         profiling@1.0.15
587         prometheus@0.13.3
588         prost-build@0.9.0
589         prost-derive@0.9.0
590         prost-types@0.9.0
591         prost@0.9.0
592         protobuf@2.28.0
593         psm@0.1.21
594         ptr_meta@0.1.4
595         ptr_meta_derive@0.1.4
596         pulldown-cmark@0.10.0
597         quick-xml@0.30.0
598         quick-xml@0.31.0
599         quote@1.0.35
600         radium@0.7.0
601         rand@0.7.3
602         rand@0.8.5
603         rand_chacha@0.2.2
604         rand_chacha@0.3.1
605         rand_core@0.5.1
606         rand_core@0.6.4
607         rand_hc@0.2.0
608         rangemap@1.4.0
609         raw-window-handle@0.5.2
610         raw-window-handle@0.6.0
611         raw-window-metal@0.4.0
612         rayon-core@1.12.0
613         rayon@1.8.0
614         read-fonts@0.19.3
615         redox_syscall@0.2.16
616         redox_syscall@0.3.5
617         redox_syscall@0.4.1
618         redox_users@0.4.3
619         regalloc2@0.9.3
620         regex-automata@0.1.10
621         regex-automata@0.3.9
622         regex-automata@0.4.5
623         regex-lite@0.1.5
624         regex-syntax@0.6.29
625         regex-syntax@0.8.2
626         regex@1.10.3
627         rend@0.4.0
628         repair_json@0.1.0
629         reqwest@0.11.20
630         resvg@0.41.0
631         rfc6979@0.3.1
632         rgb@0.8.36
633         ring@0.17.7
634         rkyv@0.7.42
635         rkyv_derive@0.7.42
636         rmp@0.8.12
637         rmpv@1.0.1
638         rodio@0.17.1
639         roxmltree@0.19.0
640         rsa@0.4.0
641         rsa@0.9.2
642         runtimelib@0.12.0
643         rust-embed-impl@8.4.0
644         rust-embed-utils@8.4.0
645         rust-embed@8.4.0
646         rust_decimal@1.32.0
647         rustc-demangle@0.1.23
648         rustc-hash@1.1.0
649         rustc_version@0.4.0
650         rustix-openpty@0.1.1
651         rustix@0.37.23
652         rustix@0.38.32
653         rustls-native-certs@0.6.3
654         rustls-pemfile@1.0.3
655         rustls-webpki@0.101.7
656         rustls@0.21.12
657         rustversion@1.0.14
658         rustybuzz@0.14.1
659         ryu@1.0.18
660         safemem@0.3.3
661         salsa20@0.8.1
662         same-file@1.0.6
663         schannel@0.1.22
664         schemars@0.8.15
665         schemars_derive@0.8.15
666         scoped-tls@1.0.1
667         scoped_threadpool@0.1.9
668         scopeguard@1.2.0
669         scrypt@0.7.0
670         sct@0.7.1
671         sea-bae@0.2.0
672         sea-orm-macros@0.12.3
673         sea-orm@0.12.3
674         sea-query-binder@0.5.0
675         sea-query@0.30.2
676         seahash@4.1.0
677         sealed@0.4.0
678         sec1@0.3.0
679         security-framework-sys@2.9.1
680         security-framework@2.9.2
681         self_cell@1.0.3
682         semver@1.0.18
683         serde@1.0.202
684         serde_derive@1.0.202
685         serde_derive_internals@0.26.0
686         serde_fmt@1.0.3
687         serde_json@1.0.117
688         serde_json_lenient@0.1.7
689         serde_path_to_error@0.1.15
690         serde_repr@0.1.16
691         serde_spanned@0.6.5
692         serde_urlencoded@0.7.1
693         sha-1@0.9.8
694         sha1@0.10.6
695         sha1_smol@1.0.0
696         sha2@0.10.7
697         sha2@0.9.9
698         sharded-slab@0.1.4
699         shell-words@1.1.0
700         shellexpand@2.1.2
701         shellexpand@3.1.0
702         shlex@1.3.0
703         signal-hook-registry@1.4.1
704         signal-hook@0.3.17
705         signature@1.6.4
706         signature@2.1.0
707         simd-adler32@0.3.7
708         simdutf8@0.1.4
709         similar@1.3.0
710         simple_asn1@0.5.4
711         simplecss@0.2.1
712         simplelog@0.9.0
713         siphasher@0.3.11
714         siphasher@1.0.1
715         skrifa@0.19.3
716         slab@0.4.9
717         slice-group-by@0.3.1
718         slotmap@1.0.6
719         sluice@0.5.5
720         smallvec@1.11.1
721         smol@1.3.0
722         socket2@0.4.9
723         socket2@0.5.7
724         spdx@0.10.4
725         spin@0.5.2
726         spin@0.9.8
727         spirv@0.2.0+1.5.4
728         spki@0.6.0
729         spki@0.7.2
730         sptr@0.3.2
731         sqlformat@0.2.2
732         sqlx-core@0.7.2
733         sqlx-macros-core@0.7.2
734         sqlx-macros@0.7.2
735         sqlx-mysql@0.7.2
736         sqlx-postgres@0.7.2
737         sqlx-sqlite@0.7.2
738         sqlx@0.7.2
739         stable_deref_trait@1.2.0
740         static_assertions@1.1.0
741         strict-num@0.1.1
742         string_cache@0.8.7
743         string_cache_codegen@0.5.2
744         stringprep@0.1.4
745         strsim@0.10.0
746         strsim@0.11.1
747         strum@0.25.0
748         strum_macros@0.25.2
749         subtle@2.5.0
750         sval@2.8.0
751         sval_buffer@2.8.0
752         sval_dynamic@2.8.0
753         sval_fmt@2.8.0
754         sval_json@2.8.0
755         sval_ref@2.8.0
756         sval_serde@2.8.0
757         svg_fmt@0.4.1
758         svgtypes@0.15.0
759         swash@0.1.17
760         syn@1.0.109
761         syn@2.0.59
762         sync_wrapper@0.1.2
763         synchronoise@1.0.1
764         sys-locale@0.3.1
765         sysinfo@0.30.7
766         system-interface@0.27.1
767         taffy@0.4.3
768         take-until@0.2.0
769         tap@1.0.1
770         target-lexicon@0.12.13
771         tempfile@3.9.0
772         tendril@0.4.3
773         termcolor@1.1.3
774         textwrap@0.16.0
775         thiserror-impl@1.0.60
776         thiserror@1.0.60
777         thread_local@1.1.7
778         tiff@0.6.1
779         tiktoken-rs@0.5.9
780         time-core@0.1.2
781         time-macros@0.2.18
782         time@0.3.36
783         tiny-keccak@2.0.2
784         tiny-skia-path@0.11.4
785         tiny-skia@0.11.4
786         tiny_http@0.8.2
787         tinytemplate@1.2.1
788         tinyvec@1.6.0
789         tinyvec_macros@0.1.1
790         tokio-io@0.1.13
791         tokio-macros@2.2.0
792         tokio-native-tls@0.3.1
793         tokio-rustls@0.24.1
794         tokio-stream@0.1.14
795         tokio-tungstenite@0.20.1
796         tokio-util@0.7.9
797         tokio@1.37.0
798         toml@0.5.11
799         toml@0.7.8
800         toml@0.8.10
801         toml_datetime@0.6.5
802         toml_edit@0.19.15
803         toml_edit@0.21.1
804         toml_edit@0.22.6
805         tower-http@0.3.5
806         tower-http@0.4.4
807         tower-layer@0.3.2
808         tower-service@0.3.2
809         tower@0.4.13
810         tracing-attributes@0.1.27
811         tracing-core@0.1.32
812         tracing-futures@0.2.5
813         tracing-log@0.2.0
814         tracing-serde@0.1.3
815         tracing-subscriber@0.3.18
816         tracing@0.1.40
817         tree-sitter-bash@0.20.5
818         tree-sitter-c@0.20.6
819         tree-sitter-cpp@0.20.5
820         tree-sitter-css@0.20.0
821         tree-sitter-elixir@0.1.1
822         tree-sitter-embedded-template@0.20.0
823         tree-sitter-gomod@1.0.1
824         tree-sitter-html@0.19.0
825         tree-sitter-json@0.20.2
826         tree-sitter-python@0.20.4
827         tree-sitter-regex@0.20.0
828         tree-sitter-ruby@0.20.0
829         tree-sitter-rust@0.20.4
830         tree-sitter-typescript@0.20.5
831         tree-sitter-yaml@0.0.1
832         try-lock@0.2.4
833         ttf-parser@0.21.1
834         tungstenite@0.16.0
835         tungstenite@0.20.1
836         typeid@1.0.0
837         typenum@1.17.0
838         uds_windows@1.1.0
839         unicase@2.7.0
840         unicode-bidi-mirroring@0.2.0
841         unicode-bidi@0.3.13
842         unicode-ccc@0.2.0
843         unicode-ident@1.0.12
844         unicode-linebreak@0.1.5
845         unicode-normalization@0.1.22
846         unicode-properties@0.1.1
847         unicode-script@0.5.5
848         unicode-segmentation@1.10.1
849         unicode-width@0.1.11
850         unicode-xid@0.2.4
851         unicode_categories@0.1.1
852         unindent@0.1.11
853         untrusted@0.9.0
854         url@2.5.0
855         urlencoding@2.1.3
856         usvg@0.41.0
857         utf-8@0.7.6
858         utf8parse@0.2.1
859         uuid@1.8.0
860         valuable@0.1.0
861         value-bag-serde1@1.9.0
862         value-bag-sval2@1.9.0
863         value-bag@1.9.0
864         vcpkg@0.2.15
865         version_check@0.9.4
866         vscode_theme@0.2.0
867         vsimd@0.8.0
868         vswhom-sys@0.1.2
869         vswhom@0.1.0
870         vte@0.13.0
871         vte_generate_state_changes@0.1.1
872         waker-fn@1.1.0
873         walkdir@2.5.0
874         want@0.3.1
875         wasi@0.11.0+wasi-snapshot-preview1
876         wasi@0.9.0+wasi-snapshot-preview1
877         wasm-bindgen-backend@0.2.92
878         wasm-bindgen-futures@0.4.37
879         wasm-bindgen-macro-support@0.2.92
880         wasm-bindgen-macro@0.2.92
881         wasm-bindgen-shared@0.2.92
882         wasm-bindgen@0.2.92
883         wasm-encoder@0.201.0
884         wasm-metadata@0.201.0
885         wasmparser@0.201.0
886         wasmprinter@0.201.0
887         wasmtime-asm-macros@19.0.0
888         wasmtime-c-api-impl@19.0.0
889         wasmtime-c-api-macros@19.0.0
890         wasmtime-component-macro@19.0.0
891         wasmtime-component-util@19.0.0
892         wasmtime-cranelift-shared@19.0.0
893         wasmtime-cranelift@19.0.0
894         wasmtime-environ@19.0.0
895         wasmtime-fiber@19.0.0
896         wasmtime-jit-icache-coherence@19.0.0
897         wasmtime-runtime@19.0.0
898         wasmtime-slab@19.0.0
899         wasmtime-types@19.0.0
900         wasmtime-versioned-export-macros@19.0.0
901         wasmtime-wasi@19.0.0
902         wasmtime-winch@19.0.0
903         wasmtime-wit-bindgen@19.0.0
904         wasmtime-wmemcheck@19.0.0
905         wasmtime@19.0.0
906         wast@35.0.2
907         wayland-backend@0.3.3
908         wayland-client@0.31.2
909         wayland-cursor@0.31.1
910         wayland-protocols-plasma@0.2.0
911         wayland-protocols@0.31.2
912         wayland-scanner@0.31.1
913         wayland-sys@0.31.1
914         web-sys@0.3.64
915         webpki-roots@0.24.0
916         weezl@0.1.8
917         which@4.4.2
918         which@6.0.0
919         whoami@1.4.1
920         wiggle-generate@19.0.0
921         wiggle-macro@19.0.0
922         wiggle@19.0.0
923         winapi-i686-pc-windows-gnu@0.4.0
924         winapi-util@0.1.8
925         winapi-x86_64-pc-windows-gnu@0.4.0
926         winapi@0.3.9
927         winch-codegen@0.17.0
928         windows-core@0.52.0
929         windows-core@0.57.0
930         windows-implement@0.57.0
931         windows-interface@0.57.0
932         windows-result@0.1.1
933         windows-sys@0.45.0
934         windows-sys@0.48.0
935         windows-sys@0.52.0
936         windows-targets@0.42.2
937         windows-targets@0.48.5
938         windows-targets@0.52.5
939         windows@0.46.0
940         windows@0.48.0
941         windows@0.52.0
942         windows@0.57.0
943         windows_aarch64_gnullvm@0.42.2
944         windows_aarch64_gnullvm@0.48.5
945         windows_aarch64_gnullvm@0.52.5
946         windows_aarch64_msvc@0.42.2
947         windows_aarch64_msvc@0.48.5
948         windows_aarch64_msvc@0.52.5
949         windows_i686_gnu@0.42.2
950         windows_i686_gnu@0.48.5
951         windows_i686_gnu@0.52.5
952         windows_i686_gnullvm@0.52.5
953         windows_i686_msvc@0.42.2
954         windows_i686_msvc@0.48.5
955         windows_i686_msvc@0.52.5
956         windows_x86_64_gnu@0.42.2
957         windows_x86_64_gnu@0.48.5
958         windows_x86_64_gnu@0.52.5
959         windows_x86_64_gnullvm@0.42.2
960         windows_x86_64_gnullvm@0.48.5
961         windows_x86_64_gnullvm@0.52.5
962         windows_x86_64_msvc@0.42.2
963         windows_x86_64_msvc@0.48.5
964         windows_x86_64_msvc@0.52.5
965         winnow@0.5.15
966         winnow@0.6.1
967         winreg@0.50.0
968         winreg@0.52.0
969         winresource@0.1.17
970         winx@0.36.3
971         wio@0.2.2
972         wit-bindgen-core@0.22.0
973         wit-bindgen-rt@0.22.0
974         wit-bindgen-rust-macro@0.22.0
975         wit-bindgen-rust@0.22.0
976         wit-bindgen@0.22.0
977         wit-component@0.201.0
978         wit-parser@0.201.0
979         witx@0.9.1
980         wyz@0.5.1
981         x11-clipboard@0.9.2
982         x11rb-protocol@0.13.0
983         x11rb@0.13.0
984         xattr@0.2.3
985         xcursor@0.3.5
986         xdg-home@1.1.0
987         xkbcommon@0.7.0
988         xkeysym@0.2.0
989         xml5ever@0.18.0
990         xmlparser@0.13.5
991         xmlwriter@0.1.0
992         yansi@0.5.1
993         yazi@0.1.6
994         yeslogic-fontconfig-sys@3.2.0
995         zbus@4.0.1
996         zbus_macros@4.0.1
997         zbus_names@3.0.0
998         zed_extension_api@0.0.4
999         zed_extension_api@0.0.6
1000         zeno@0.2.3
1001         zerocopy-derive@0.7.32
1002         zerocopy@0.7.32
1003         zeroize@1.6.0
1004         zeroize_derive@1.4.2
1005         zeromq@0.4.0
1006         zstd-safe@5.0.2+zstd.1.5.2
1007         zstd-sys@2.0.8+zstd.1.5.5
1008         zstd@0.11.2+zstd.1.5.2
1009         zvariant@4.0.2
1010         zvariant_derive@4.0.2
1011         zvariant_utils@1.1.0
1014 declare -A GIT_CRATES=(
1015         [alacritty_terminal]='https://github.com/alacritty/alacritty;cacdb5bb3b72bad2c729227537979d95af75978f;alacritty-%commit%/alacritty_terminal'
1016         [async-pipe]='https://github.com/zed-industries/async-pipe-rs;82d00a04211cf4e1236029aa03e6b6ce2a74c553;async-pipe-rs-%commit%'
1017         [blade-graphics]='https://github.com/zed-industries/blade;33fd51359d113c03b785e28f4a6cf75bacb0b26d;blade-%commit%/blade-graphics'
1018         [blade-macros]='https://github.com/zed-industries/blade;33fd51359d113c03b785e28f4a6cf75bacb0b26d;blade-%commit%/blade-macros'
1019         [blade-util]='https://github.com/zed-industries/blade;33fd51359d113c03b785e28f4a6cf75bacb0b26d;blade-%commit%/blade-util'
1020         [cosmic-text]='https://github.com/pop-os/cosmic-text;542b20ca4376a3b5de5fa629db1a4ace44e18e0c;cosmic-text-%commit%'
1021         [font-kit]='https://github.com/zed-industries/font-kit;5a5c4d4ca395c74eb0abde38508e170ce0fd761a;font-kit-%commit%'
1022         [lsp-types]='https://github.com/zed-industries/lsp-types;72357d6f6d212bdffba3b5ef4b31d8ca856058e7;lsp-types-%commit%'
1023         [nvim-rs]='https://github.com/KillTheMule/nvim-rs;0d2b1c884f3c39a76b5b7aac0b429f4624843954;nvim-rs-%commit%'
1024         [pathfinder_simd]='https://github.com/servo/pathfinder;30419d07660dc11a21e42ef4a7fa329600cff152;pathfinder-%commit%/simd'
1025         [tree-sitter-go]='https://github.com/tree-sitter/tree-sitter-go;b82ab803d887002a0af11f6ce63d72884580bf33;tree-sitter-go-%commit%'
1026         [tree-sitter-gowork]='https://github.com/d1y/tree-sitter-go-work;a2a4b99b53b3740855ff33f0b54cab0bb4ce6f45;tree-sitter-go-work-%commit%'
1027         [tree-sitter-heex]='https://github.com/phoenixframework/tree-sitter-heex;2e1348c3cf2c9323e87c2744796cf3f3868aa82a;tree-sitter-heex-%commit%'
1028         [tree-sitter-jsdoc]='https://github.com/tree-sitter/tree-sitter-jsdoc;6a6cf9e7341af32d8e2b2e24a37fbfebefc3dc55;tree-sitter-jsdoc-%commit%'
1029         [tree-sitter-markdown]='https://github.com/MDeiml/tree-sitter-markdown;330ecab87a3e3a7211ac69bbadc19eabecdb1cca;tree-sitter-markdown-%commit%'
1030         [tree-sitter-proto]='https://github.com/rewinfrey/tree-sitter-proto;36d54f288aee112f13a67b550ad32634d0c2cb52;tree-sitter-proto-%commit%'
1031         [tree-sitter]='https://github.com/tree-sitter/tree-sitter;7b4894ba2ae81b988846676f54c0988d4027ef4f;tree-sitter-%commit%/lib'
1032         [xim-ctext]='https://github.com/npmania/xim-rs;27132caffc5b9bc9c432ca4afad184ab6e7c16af;xim-rs-%commit%/xim-ctext'
1033         [xim-parser]='https://github.com/npmania/xim-rs;27132caffc5b9bc9c432ca4afad184ab6e7c16af;xim-rs-%commit%/xim-parser'
1034         [xim]='https://github.com/npmania/xim-rs;27132caffc5b9bc9c432ca4afad184ab6e7c16af;xim-rs-%commit%'
1037 inherit cargo desktop flag-o-matic optfeature toolchain-funcs xdg
1039 DESCRIPTION="high-performance, multiplayer code editor"
1040 HOMEPAGE="
1041         https://zed.dev/
1042         https://github.com/zed-industries/zed/
1044 SRC_URI="
1045         https://github.com/zed-industries/zed/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
1046         ${CARGO_CRATE_URIS}
1049 LICENSE="GPL-3+ AGPL-3+ Apache-2.0"
1050 # Dependent crate licenses
1051 LICENSE+="
1052         Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD Boost-1.0
1053         CC0-1.0 ISC LGPL-3 MIT MPL-2.0 Unicode-DFS-2016 ZLIB
1055 SLOT="0"
1056 KEYWORDS="~amd64"
1057 IUSE="+lto"
1058 REQUIRED_USE="lto? ( !debug )"
1060 DEPEND="
1061         dev-db/sqlite:3
1062         dev-libs/libgit2
1063         dev-libs/mimalloc
1064         dev-libs/openssl:0/3
1065         dev-libs/wayland
1066         dev-libs/wayland-protocols
1067         dev-util/wayland-scanner
1068         dev-util/vulkan-tools
1069         media-libs/alsa-lib
1070         media-libs/fontconfig
1071         media-libs/freetype
1072         media-libs/vulkan-loader
1073         net-misc/curl
1074         sys-libs/zlib
1075         x11-libs/libXau
1076         x11-libs/libxcb
1077         x11-libs/libxkbcommon
1079 RDEPEND="${DEPEND}"
1080 BDEPEND="
1081         >=virtual/rust-1.78.0
1082         dev-util/vulkan-headers
1083         >=sys-devel/clang-17:*
1084         sys-devel/gettext
1085         sys-devel/mold
1088 pkg_setup() {
1089         if use !debug && use lto; then
1090                 # NOTE: upstream sets to thinlto by default
1091                 if tc-is-gcc; then
1092                         einfo "Enforcing lto for CC is Gcc"
1093                         export CARGO_PROFILE_RELEASE_LTO="true"
1094                         #append-flags "-ffat-lto-objects"
1095                 elif tc-is-clang; then
1096                         einfo "Enforcing thinlto for CC is Clang"
1097                         export CARGO_PROFILE_RELEASE_LTO="thin"
1098                         #append-flags "-flto=thin"
1099                 fi
1100         else
1101                 export CARGO_PROFILE_RELEASE_LTO="false"
1102                 filter-lto
1103         fi
1104         # In case of compiler switch with unsupported flags
1105         strip-unsupported-flags
1106         # flags from upstream
1107         export RUSTFLAGS="${RUSTFLAGS} -C link-args=-Wl,--disable-new-dtags,-rpath,\$ORIGIN/../lib"
1109         # Upstream explicitly use sys-devel/mold as linker
1110         # Any other linker might just fail
1111         einfo "Enforcing mold linker"
1112         export RUSTFLAGS="${RUSTFLAGS} -C link-arg=-fuse-ld=mold"
1114         # A possible (no warranty!) workaround for other linkers
1115         #export RUSTFLAGS="${RUSTFLAGS} -C link-args=-Wl,-z,nostart-stop-gc"
1118 src_prepare() {
1119         default
1121         # Cargo offline fetch workaround
1122         local PF_COMMIT="30419d07660dc11a21e42ef4a7fa329600cff152"
1123         local PF_GIT="git = \"https://github.com/servo/pathfinder.git\", rev = \"${PF_COMMIT}\""
1124         local PF_PATH="path = \"${WORKDIR}/pathfinder-${PF_COMMIT}/simd\""
1126         local TS_COMMIT="7b4894ba2ae81b988846676f54c0988d4027ef4f"
1127         local TS_GIT="git = \"https://github.com/tree-sitter/tree-sitter\", rev = \"${TS_COMMIT}\""
1128         local TS_PATH="path = \"${WORKDIR}/tree-sitter-${TS_COMMIT}/lib\""
1130         sed -e "s#${PF_GIT}#${PF_PATH}#" \
1131                 -e "s#${TS_GIT}#${TS_PATH}#" \
1132                 -i "${S}/Cargo.toml" || die "Cargo fetch workaround failed"
1134         export DO_STARTUP_NOTIFY="true"
1135         export APP_ICON="zed"
1136         export APP_NAME="Zed"
1137         export APP_CLI="zeditor"
1138         # sys-devel/gettext
1139         envsubst < "crates/zed/resources/zed.desktop.in" > zed.desktop || die
1142 src_configure() {
1143         cargo_src_configure --all-features
1146 src_compile() {
1147         # Set RELEASE_VERSION so it's compiled into GPUI and it knows about the version
1148         export RELEASE_VERSION="${PV}"
1149         export ZED_UPDATE_EXPLANATION='Updates are handled by portage'
1150         cargo_src_compile --package zed --package cli
1153 src_install() {
1154         newbin $(cargo_target_dir)/cli zeditor
1155         # hard-coded in crates/cli/src/main.rs
1156         # libexec/zed-editor
1157         exeinto "/usr/libexec"
1158         newexe $(cargo_target_dir)/zed zed-editor
1160         newicon -s 512 crates/zed/resources/app-icon.png zed.png
1161         newicon -s 1024 crates/zed/resources/app-icon@2x.png zed.png
1162         domenu "${S}/zed.desktop"
1165 pkg_postinst() {
1166         xdg_pkg_postinst
1167         optfeature "improved Rust language support" "dev-lang/rust[rust-analyzer]"
1168         optfeature "improved Rust language support" "dev-lang/rust-bin[rust-analyzer]"