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