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