app-editors/zed: add 0.151.2, drop 0.150.4
[gentoo-zh.git] / app-editors / zed / zed-0.151.2.ebuild
blobbc0735d43be21ceb286be827b948811757e7dbe6
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         adler2@2.0.0
11         adler@1.0.2
12         aes@0.8.4
13         ahash@0.7.8
14         ahash@0.8.11
15         aho-corasick@1.1.3
16         aliasable@0.1.3
17         aligned-vec@0.5.0
18         allocator-api2@0.2.18
19         alsa-sys@0.3.1
20         alsa@0.9.1
21         ambient-authority@0.0.2
22         ammonia@4.0.0
23         android-tzdata@0.1.1
24         android_system_properties@0.1.5
25         anes@0.1.6
26         anstream@0.6.15
27         anstyle-parse@0.2.5
28         anstyle-query@1.1.1
29         anstyle-wincon@3.0.4
30         anstyle@1.0.8
31         any_vec@0.14.0
32         anyhow@1.0.86
33         approx@0.5.1
34         arbitrary@1.3.2
35         arg_enum_proc_macro@0.3.4
36         arrayref@0.3.8
37         arrayvec@0.7.6
38         as-raw-xcb-connection@1.0.1
39         ascii@1.1.0
40         ash-window@0.13.0
41         ash@0.38.0+1.3.281
42         ashpd@0.9.1
43         async-attributes@1.1.2
44         async-broadcast@0.7.1
45         async-channel@1.9.0
46         async-channel@2.3.1
47         async-compat@0.2.4
48         async-compression@0.4.12
49         async-dispatcher@0.1.2
50         async-executor@1.13.0
51         async-fs@1.6.0
52         async-fs@2.1.2
53         async-global-executor@2.4.1
54         async-io@1.13.0
55         async-io@2.3.4
56         async-lock@2.8.0
57         async-lock@3.4.0
58         async-native-tls@0.5.0
59         async-net@1.8.0
60         async-net@2.0.0
61         async-process@1.8.1
62         async-process@2.2.4
63         async-recursion@0.3.2
64         async-recursion@1.1.1
65         async-signal@0.2.10
66         async-std@1.12.0
67         async-stream-impl@0.3.5
68         async-stream@0.3.5
69         async-stripe@0.38.1
70         async-tar@0.4.2
71         async-task@4.7.1
72         async-trait@0.1.81
73         async-tungstenite@0.23.0
74         async-watch@0.3.1
75         async_zip@0.0.17
76         asynchronous-codec@0.7.0
77         atoi@2.0.0
78         atomic-waker@1.1.2
79         atomic@0.5.3
80         autocfg@1.3.0
81         av1-grain@0.2.3
82         avif-serialize@0.8.1
83         aws-config@1.5.5
84         aws-credential-types@1.2.1
85         aws-runtime@1.4.2
86         aws-sdk-s3@1.47.0
87         aws-sdk-sso@1.40.0
88         aws-sdk-ssooidc@1.41.0
89         aws-sdk-sts@1.40.0
90         aws-sigv4@1.2.3
91         aws-smithy-async@1.2.1
92         aws-smithy-checksums@0.60.12
93         aws-smithy-eventstream@0.60.4
94         aws-smithy-http@0.60.10
95         aws-smithy-json@0.60.7
96         aws-smithy-query@0.60.7
97         aws-smithy-runtime-api@1.7.2
98         aws-smithy-runtime@1.7.1
99         aws-smithy-types@1.2.4
100         aws-smithy-xml@0.60.8
101         aws-types@1.3.3
102         axum-core@0.3.4
103         axum-extra@0.4.2
104         axum@0.6.20
105         backtrace@0.3.73
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.1
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         bindgen@0.69.4
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.5.3
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.6.1
130         borsh-derive@1.5.1
131         borsh@1.5.1
132         bstr@1.10.0
133         built@0.7.4
134         bumpalo@3.16.0
135         by_address@1.2.1
136         bytecheck@0.6.12
137         bytecheck_derive@0.6.12
138         bytemuck@1.17.1
139         bytemuck_derive@1.7.1
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.7.1
145         calloop-wayland-source@0.3.0
146         calloop@0.13.0
147         camino@1.1.9
148         cap-fs-ext@3.2.0
149         cap-net-ext@3.2.0
150         cap-primitives@3.2.0
151         cap-rand@3.2.0
152         cap-std@3.2.0
153         cap-time-ext@3.2.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.1.15
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.5.0
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.8.1
175         clap@4.5.16
176         clap_builder@4.5.15
177         clap_complete@4.5.24
178         clap_derive@4.5.13
179         clap_lex@0.7.2
180         clickhouse-derive@0.1.1
181         clickhouse-rs-cityhash-sys@0.1.2
182         clickhouse@0.11.6
183         cobs@0.2.3
184         cocoa-foundation@0.1.2
185         cocoa@0.25.0
186         codespan-reporting@0.11.1
187         color_quant@1.1.0
188         colorchoice@1.0.2
189         combine@4.6.7
190         concurrent-queue@2.5.0
191         console@0.15.8
192         const-oid@0.9.6
193         const-random-macro@0.1.16
194         const-random@0.1.18
195         convert_case@0.4.0
196         convert_case@0.6.0
197         core-foundation-sys@0.8.7
198         core-foundation@0.9.4
199         core-graphics-types@0.1.3
200         core-graphics@0.23.2
201         core-services@0.2.1
202         core-text@20.1.0
203         coreaudio-rs@0.11.3
204         coreaudio-sys@0.2.15
205         cpal@0.15.3
206         cpp_demangle@0.4.4
207         cpufeatures@0.2.13
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.4.0
219         crc32c@0.6.8
220         crc32fast@1.4.2
221         crc@3.2.1
222         criterion-plot@0.5.0
223         criterion@0.5.1
224         crossbeam-channel@0.5.13
225         crossbeam-deque@0.8.5
226         crossbeam-epoch@0.9.18
227         crossbeam-queue@0.3.11
228         crossbeam-utils@0.8.20
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.5
235         curl-sys@0.4.74+curl-8.9.0
236         curl@0.4.46
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.6.0
242         data-url@0.3.1
243         dbus@0.9.7
244         deflate64@0.1.9
245         der@0.6.1
246         der@0.7.9
247         deranged@0.3.11
248         derivative@2.2.0
249         derive_more@0.99.18
250         dialoguer@0.11.0
251         diff@0.1.13
252         digest@0.10.7
253         dirs-sys@0.3.7
254         dirs-sys@0.4.1
255         dirs@4.0.0
256         dirs@5.0.1
257         dlib@0.5.2
258         dotenvy@0.15.7
259         downcast-rs@1.2.1
260         doxygen-rs@0.4.2
261         dwrote@0.11.1
262         dyn-clone@1.0.17
263         ecdsa@0.14.8
264         either@1.13.0
265         elasticlunr-rs@3.0.2
266         elliptic-curve@0.12.3
267         embed-resource@2.4.3
268         embedded-io@0.4.0
269         embedded-io@0.6.1
270         emojis@0.6.3
271         encode_unicode@0.3.6
272         encoding_rs@0.8.34
273         endi@1.1.0
274         enumflags2@0.7.10
275         enumflags2_derive@0.7.10
276         env_filter@0.1.2
277         env_logger@0.11.5
278         envy@0.4.2
279         equivalent@1.0.1
280         erased-serde@0.4.5
281         errno-dragonfly@0.1.2
282         errno@0.2.8
283         errno@0.3.9
284         etagere@0.2.13
285         etcetera@0.8.0
286         euclid@0.22.11
287         event-listener-strategy@0.5.2
288         event-listener@2.5.3
289         event-listener@3.1.0
290         event-listener@5.3.1
291         exec@0.3.1
292         exr@1.72.0
293         fallible-iterator@0.3.0
294         fancy-regex@0.12.0
295         fast-srgb8@1.0.0
296         fastrand@1.9.0
297         fastrand@2.1.1
298         fd-lock@4.0.2
299         fdeflate@0.3.4
300         ff@0.12.1
301         filedescriptor@0.8.2
302         filetime@0.2.25
303         fixedbitset@0.4.2
304         flate2@1.0.33
305         float-cmp@0.9.0
306         float-ord@0.3.2
307         flume@0.11.0
308         fnv@1.0.7
309         font-types@0.6.0
310         fontconfig-parser@0.5.7
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.20.1
320         fs-set-times@0.20.1
321         fsevent-sys@3.1.0
322         fsevent-sys@4.1.0
323         funty@2.0.0
324         futf@0.1.5
325         futures-batch@0.6.1
326         futures-channel@0.3.30
327         futures-core@0.3.30
328         futures-executor@0.3.30
329         futures-intrusive@0.5.0
330         futures-io@0.3.30
331         futures-lite@1.13.0
332         futures-lite@2.3.0
333         futures-macro@0.3.30
334         futures-sink@0.3.30
335         futures-task@0.3.30
336         futures-timer@3.0.3
337         futures-util@0.3.30
338         futures@0.1.31
339         futures@0.3.30
340         fuzzy-matcher@0.3.7
341         generic-array@0.14.7
342         gethostname@0.4.3
343         getrandom@0.1.16
344         getrandom@0.2.15
345         gif@0.13.1
346         gimli@0.28.1
347         gimli@0.29.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.14.0
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.26
359         half@2.4.1
360         handlebars@4.5.0
361         handlebars@5.1.2
362         hashbrown@0.12.3
363         hashbrown@0.13.2
364         hashbrown@0.14.5
365         hashlink@0.8.4
366         headers-core@0.2.0
367         headers@0.3.9
368         heck@0.3.3
369         heck@0.4.1
370         heck@0.5.0
371         heed-traits@0.20.0
372         heed-types@0.20.1
373         heed@0.20.5
374         hermit-abi@0.3.9
375         hermit-abi@0.4.0
376         hex@0.4.3
377         hexf-parse@0.2.1
378         hidden-trait@0.1.2
379         hkdf@0.12.4
380         hmac@0.12.1
381         home@0.5.9
382         hound@3.5.1
383         html5ever@0.27.0
384         html_to_markdown@0.1.0
385         http-body-util@0.1.2
386         http-body@0.4.6
387         http-body@1.0.1
388         http-range-header@0.3.1
389         http-types@2.12.0
390         http@0.2.12
391         http@1.1.0
392         httparse@1.9.4
393         httpdate@1.0.3
394         human_bytes@0.4.3
395         humantime@2.1.0
396         hyper-rustls@0.24.2
397         hyper-tls@0.5.0
398         hyper@0.14.30
399         iana-time-zone-haiku@0.1.2
400         iana-time-zone@0.1.60
401         id-arena@2.2.1
402         idna@0.5.0
403         ignore@0.4.22
404         image-webp@0.1.3
405         image@0.25.2
406         imagesize@0.12.0
407         imgref@1.10.1
408         indexmap@1.9.3
409         indexmap@2.4.0
410         indoc@2.0.5
411         infer@0.2.3
412         inherent@1.0.11
413         inotify-sys@0.1.5
414         inotify@0.9.6
415         inout@0.1.3
416         instant@0.1.13
417         interpolate_name@0.2.4
418         io-extras@0.18.2
419         io-lifetimes@1.0.11
420         io-lifetimes@2.0.3
421         iovec@0.1.4
422         ipc-channel@0.18.2
423         ipnet@2.9.0
424         is-docker@0.2.0
425         is-terminal@0.4.13
426         is-wsl@0.4.0
427         is_terminal_polyfill@1.70.1
428         isahc@1.7.2
429         itertools@0.10.5
430         itertools@0.11.0
431         itertools@0.12.1
432         itoa@1.0.11
433         jni-sys@0.3.0
434         jni@0.21.1
435         jobserver@0.1.32
436         jpeg-decoder@0.3.1
437         js-sys@0.3.70
438         jsonwebtoken@9.3.0
439         khronos-egl@6.0.0
440         kqueue-sys@1.0.4
441         kqueue@1.0.8
442         kurbo@0.11.0
443         kv-log-macro@1.0.7
444         lazy_static@1.5.0
445         lazycell@1.3.0
446         leb128@0.2.5
447         lebe@0.5.2
448         libc@0.2.158
449         libdbus-sys@0.2.5
450         libfuzzer-sys@0.4.7
451         libgit2-sys@0.17.0+1.8.1
452         libloading@0.8.5
453         libm@0.2.8
454         libmimalloc-sys@0.1.39
455         libredox@0.1.3
456         libsqlite3-sys@0.26.0
457         libz-sys@1.1.20
458         linkify@0.10.0
459         linkme-impl@0.3.28
460         linkme@0.3.28
461         linux-raw-sys@0.3.8
462         linux-raw-sys@0.4.14
463         lmdb-master-sys@0.2.4
464         lock_api@0.4.12
465         log@0.4.22
466         loop9@0.1.5
467         lru@0.12.4
468         lz4-sys@1.10.0
469         lz4@1.26.0
470         mac@0.1.1
471         mach2@0.4.2
472         malloc_buf@0.0.6
473         maplit@1.0.2
474         markup5ever@0.12.1
475         markup5ever_rcdom@0.3.0
476         matchers@0.1.0
477         matchit@0.7.3
478         maybe-owned@0.3.4
479         maybe-rayon@0.1.1
480         md-5@0.10.6
481         mdbook@0.4.40
482         memchr@2.7.4
483         memfd@0.6.4
484         memmap2@0.9.4
485         memoffset@0.9.1
486         metal@0.29.0
487         mimalloc@0.1.43
488         mime@0.3.17
489         mime_guess@2.0.5
490         minimal-lexical@0.2.1
491         miniz_oxide@0.7.4
492         miniz_oxide@0.8.0
493         mint@0.5.9
494         mio@0.8.11
495         mio@1.0.2
496         miow@0.6.0
497         multimap@0.8.3
498         naga@22.1.0
499         nanoid@0.4.0
500         nanorand@0.7.0
501         native-tls@0.2.12
502         ndk-context@0.1.1
503         ndk-sys@0.5.0+25.2.9519653
504         ndk@0.8.0
505         new_debug_unreachable@1.0.6
506         nix@0.28.0
507         nix@0.29.0
508         nom@7.1.3
509         noop_proc_macro@0.3.0
510         normpath@1.3.0
511         notify-debouncer-mini@0.4.1
512         notify@6.1.1
513         ntapi@0.4.1
514         nu-ansi-term@0.46.0
515         num-bigint-dig@0.8.4
516         num-bigint@0.4.6
517         num-complex@0.4.6
518         num-conv@0.1.0
519         num-derive@0.4.2
520         num-format@0.4.4
521         num-integer@0.1.46
522         num-iter@0.1.45
523         num-rational@0.4.2
524         num-traits@0.2.19
525         num@0.4.3
526         num_cpus@1.16.0
527         num_enum@0.7.3
528         num_enum_derive@0.7.3
529         num_threads@0.1.7
530         objc@0.2.7
531         object@0.33.0
532         object@0.36.4
533         oboe-sys@0.6.1
534         oboe@0.6.1
535         once_cell@1.19.0
536         oo7@0.3.3
537         oorandom@11.1.4
538         open@5.3.0
539         opener@0.7.2
540         openssl-macros@0.1.1
541         openssl-probe@0.1.5
542         openssl-src@300.3.1+3.3.1
543         openssl-sys@0.9.103
544         openssl@0.10.66
545         option-ext@0.2.0
546         ordered-float@2.10.1
547         ordered-float@3.9.2
548         ordered-stream@0.2.0
549         ouroboros@0.17.2
550         ouroboros_macro@0.17.2
551         outref@0.5.1
552         overload@0.1.1
553         p256@0.11.1
554         page_size@0.6.0
555         palette@0.7.6
556         palette_derive@0.7.6
557         parity-tokio-ipc@0.9.0
558         parking@2.2.0
559         parking_lot@0.12.3
560         parking_lot_core@0.9.10
561         password-hash@0.5.0
562         paste@1.0.15
563         pathdiff@0.2.1
564         pathfinder_geometry@0.5.1
565         pathfinder_simd@0.5.4
566         pbkdf2@0.12.2
567         peeking_take_while@0.1.2
568         pem-rfc7468@0.7.0
569         pem@3.0.4
570         percent-encoding@2.3.1
571         pest@2.7.11
572         pest_derive@2.7.11
573         pest_generator@2.7.11
574         pest_meta@2.7.11
575         petgraph@0.6.5
576         phf@0.11.2
577         phf_codegen@0.11.2
578         phf_generator@0.10.0
579         phf_generator@0.11.2
580         phf_macros@0.11.2
581         phf_shared@0.10.0
582         phf_shared@0.11.2
583         pico-args@0.5.0
584         pin-project-internal@1.1.5
585         pin-project-lite@0.2.14
586         pin-project@1.1.5
587         pin-utils@0.1.0
588         piper@0.2.4
589         pkcs1@0.7.5
590         pkcs8@0.10.2
591         pkcs8@0.9.0
592         pkg-config@0.3.30
593         plist@1.7.0
594         plotters-backend@0.3.6
595         plotters-svg@0.3.6
596         plotters@0.3.6
597         png@0.17.13
598         polling@2.8.0
599         polling@3.7.3
600         pollster@0.2.5
601         postage@0.5.0
602         postcard@1.0.10
603         powerfmt@0.2.0
604         ppv-lite86@0.2.20
605         precomputed-hash@0.1.1
606         pretty_assertions@1.4.0
607         prettyplease@0.2.22
608         proc-macro-crate@3.2.0
609         proc-macro-error-attr@1.0.4
610         proc-macro-error@1.0.4
611         proc-macro2@1.0.86
612         profiling-procmacros@1.0.15
613         profiling@1.0.15
614         prometheus@0.13.4
615         prost-build@0.9.0
616         prost-derive@0.9.0
617         prost-types@0.9.0
618         prost@0.9.0
619         protobuf@2.28.0
620         protols-tree-sitter-proto@0.2.0
621         psm@0.1.21
622         ptr_meta@0.1.4
623         ptr_meta_derive@0.1.4
624         pulldown-cmark-escape@0.10.1
625         pulldown-cmark@0.10.3
626         qoi@0.4.1
627         quick-error@2.0.1
628         quick-xml@0.32.0
629         quick-xml@0.34.0
630         quote@1.0.37
631         radium@0.7.0
632         rand@0.7.3
633         rand@0.8.5
634         rand_chacha@0.2.2
635         rand_chacha@0.3.1
636         rand_core@0.5.1
637         rand_core@0.6.4
638         rand_hc@0.2.0
639         rangemap@1.5.1
640         rav1e@0.7.1
641         ravif@0.11.10
642         raw-window-handle@0.6.2
643         raw-window-metal@0.4.0
644         rayon-core@1.12.1
645         rayon@1.10.0
646         read-fonts@0.20.0
647         redox_syscall@0.2.16
648         redox_syscall@0.4.1
649         redox_syscall@0.5.3
650         redox_users@0.4.6
651         regalloc2@0.9.3
652         regex-automata@0.1.10
653         regex-automata@0.4.7
654         regex-lite@0.1.6
655         regex-syntax@0.6.29
656         regex-syntax@0.8.4
657         regex@1.10.6
658         rend@0.4.2
659         reqwest@0.11.27
660         resvg@0.41.0
661         rfc6979@0.3.1
662         rgb@0.8.49
663         ring@0.17.8
664         rkyv@0.7.45
665         rkyv_derive@0.7.45
666         rmp@0.8.14
667         rmpv@1.3.0
668         rodio@0.17.3
669         roxmltree@0.19.0
670         roxmltree@0.20.0
671         rsa@0.9.6
672         runtimelib@0.15.0
673         rust-embed-impl@8.5.0
674         rust-embed-utils@8.5.0
675         rust-embed@8.5.0
676         rust_decimal@1.36.0
677         rustc-demangle@0.1.24
678         rustc-hash@1.1.0
679         rustc_version@0.4.1
680         rustix-openpty@0.1.1
681         rustix@0.37.27
682         rustix@0.38.35
683         rustls-native-certs@0.6.3
684         rustls-pemfile@1.0.4
685         rustls-webpki@0.101.7
686         rustls@0.21.12
687         rustversion@1.0.17
688         rustybuzz@0.14.1
689         ryu@1.0.18
690         salsa20@0.10.2
691         same-file@1.0.6
692         schannel@0.1.23
693         schemars@0.8.21
694         schemars_derive@0.8.21
695         scoped-tls@1.0.1
696         scopeguard@1.2.0
697         scrypt@0.11.0
698         sct@0.7.1
699         sea-bae@0.2.0
700         sea-orm-macros@0.12.15
701         sea-orm@0.12.15
702         sea-query-binder@0.5.0
703         sea-query@0.30.7
704         seahash@4.1.0
705         sealed@0.4.0
706         sec1@0.3.0
707         security-framework-sys@2.11.1
708         security-framework@2.11.1
709         self_cell@1.0.4
710         semver@1.0.23
711         serde@1.0.209
712         serde_derive@1.0.209
713         serde_derive_internals@0.26.0
714         serde_derive_internals@0.29.1
715         serde_fmt@1.0.3
716         serde_json@1.0.127
717         serde_json_lenient@0.1.8
718         serde_path_to_error@0.1.16
719         serde_qs@0.10.1
720         serde_qs@0.8.5
721         serde_repr@0.1.19
722         serde_spanned@0.6.7
723         serde_urlencoded@0.7.1
724         sha1@0.10.6
725         sha1_smol@1.0.1
726         sha2@0.10.8
727         sharded-slab@0.1.7
728         shell-words@1.1.0
729         shellexpand@2.1.2
730         shellexpand@3.1.0
731         shlex@1.3.0
732         signal-hook-registry@1.4.2
733         signal-hook@0.3.17
734         signature@1.6.4
735         signature@2.2.0
736         simd-adler32@0.3.7
737         simd_helpers@0.1.0
738         simdutf8@0.1.4
739         similar@1.3.0
740         simple_asn1@0.6.2
741         simplecss@0.2.1
742         simplelog@0.12.2
743         siphasher@0.3.11
744         siphasher@1.0.1
745         skrifa@0.20.0
746         slab@0.4.9
747         slice-group-by@0.3.1
748         slotmap@1.0.7
749         sluice@0.5.5
750         smallvec@1.13.2
751         smart-default@0.6.0
752         smol@1.3.0
753         smol_str@0.1.24
754         socket2@0.4.10
755         socket2@0.5.7
756         spdx@0.10.6
757         spin@0.9.8
758         spirv@0.3.0+sdk-1.3.268.0
759         spki@0.6.0
760         spki@0.7.3
761         sptr@0.3.2
762         sqlformat@0.2.4
763         sqlx-core@0.7.2
764         sqlx-macros-core@0.7.2
765         sqlx-macros@0.7.2
766         sqlx-mysql@0.7.2
767         sqlx-postgres@0.7.2
768         sqlx-sqlite@0.7.2
769         sqlx@0.7.2
770         stable_deref_trait@1.2.0
771         static_assertions@1.1.0
772         strict-num@0.1.1
773         string_cache@0.8.7
774         string_cache_codegen@0.5.2
775         stringprep@0.1.5
776         strsim@0.11.1
777         strum@0.25.0
778         strum_macros@0.25.3
779         subtle@2.6.1
780         sval@2.13.0
781         sval_buffer@2.13.0
782         sval_dynamic@2.13.0
783         sval_fmt@2.13.0
784         sval_json@2.13.0
785         sval_nested@2.13.0
786         sval_ref@2.13.0
787         sval_serde@2.13.0
788         svg_fmt@0.4.3
789         svgtypes@0.15.2
790         swash@0.1.18
791         syn@1.0.109
792         syn@2.0.76
793         syn_derive@0.1.8
794         sync_wrapper@0.1.2
795         synchronoise@1.0.1
796         sys-locale@0.3.1
797         sysinfo@0.30.13
798         system-configuration-sys@0.5.0
799         system-configuration@0.5.1
800         system-deps@6.2.2
801         system-interface@0.27.2
802         taffy@0.4.4
803         take-until@0.2.0
804         tap@1.0.1
805         target-lexicon@0.12.16
806         tempfile@3.12.0
807         tendril@0.4.3
808         termcolor@1.4.1
809         terminal_size@0.3.0
810         thiserror-impl@1.0.63
811         thiserror@1.0.63
812         thread_local@1.1.8
813         tiff@0.9.1
814         tiktoken-rs@0.5.9
815         time-core@0.1.2
816         time-macros@0.2.18
817         time@0.3.36
818         tiny-keccak@2.0.2
819         tiny-skia-path@0.11.4
820         tiny-skia@0.11.4
821         tiny_http@0.8.2
822         tinytemplate@1.2.1
823         tinyvec@1.8.0
824         tinyvec_macros@0.1.1
825         tokio-io@0.1.13
826         tokio-macros@2.4.0
827         tokio-native-tls@0.3.1
828         tokio-rustls@0.24.1
829         tokio-socks@0.5.2
830         tokio-stream@0.1.15
831         tokio-tungstenite@0.20.1
832         tokio-tungstenite@0.21.0
833         tokio-util@0.7.11
834         tokio@1.40.0
835         toml@0.5.11
836         toml@0.7.8
837         toml@0.8.19
838         toml_datetime@0.6.8
839         toml_edit@0.19.15
840         toml_edit@0.22.20
841         topological-sort@0.2.2
842         tower-http@0.3.5
843         tower-http@0.4.4
844         tower-layer@0.3.3
845         tower-service@0.3.3
846         tower@0.4.13
847         tracing-attributes@0.1.27
848         tracing-core@0.1.32
849         tracing-futures@0.2.5
850         tracing-log@0.2.0
851         tracing-serde@0.1.3
852         tracing-subscriber@0.3.18
853         tracing@0.1.40
854         tree-sitter-bash@0.21.0
855         tree-sitter-c@0.21.4
856         tree-sitter-cpp@0.22.3
857         tree-sitter-css@0.21.1
858         tree-sitter-elixir@0.2.0
859         tree-sitter-embedded-template@0.20.0
860         tree-sitter-go@0.21.2
861         tree-sitter-html@0.20.4
862         tree-sitter-jsdoc@0.21.0
863         tree-sitter-json@0.21.0
864         tree-sitter-python@0.21.0
865         tree-sitter-regex@0.21.0
866         tree-sitter-ruby@0.21.0
867         tree-sitter-rust@0.21.2
868         tree-sitter-typescript@0.21.2
869         tree-sitter-yaml@0.6.1
870         try-lock@0.2.5
871         ttf-parser@0.21.1
872         tungstenite@0.20.1
873         tungstenite@0.21.0
874         typeid@1.0.2
875         typenum@1.17.0
876         ucd-trie@0.1.6
877         uds_windows@1.1.0
878         unicase@2.7.0
879         unicode-bidi-mirroring@0.2.0
880         unicode-bidi@0.3.15
881         unicode-ccc@0.2.0
882         unicode-ident@1.0.12
883         unicode-linebreak@0.1.5
884         unicode-normalization@0.1.23
885         unicode-properties@0.1.2
886         unicode-script@0.5.6
887         unicode-segmentation@1.11.0
888         unicode-width@0.1.13
889         unicode-xid@0.2.5
890         unicode_categories@0.1.1
891         unindent@0.1.11
892         untrusted@0.9.0
893         url@2.5.2
894         urlencoding@2.1.3
895         usvg@0.41.0
896         utf-8@0.7.6
897         utf8parse@0.2.2
898         uuid@1.10.0
899         v_frame@0.3.8
900         valuable@0.1.0
901         value-bag-serde1@1.9.0
902         value-bag-sval2@1.9.0
903         value-bag@1.9.0
904         vcpkg@0.2.15
905         version-compare@0.2.0
906         version_check@0.9.5
907         vscode_theme@0.2.0
908         vsimd@0.8.0
909         vswhom-sys@0.1.2
910         vswhom@0.1.0
911         vte@0.13.0
912         vte_generate_state_changes@0.1.2
913         waker-fn@1.2.0
914         walkdir@2.5.0
915         want@0.3.1
916         warp@0.3.7
917         wasi@0.11.0+wasi-snapshot-preview1
918         wasi@0.9.0+wasi-snapshot-preview1
919         wasite@0.1.0
920         wasm-bindgen-backend@0.2.93
921         wasm-bindgen-futures@0.4.43
922         wasm-bindgen-macro-support@0.2.93
923         wasm-bindgen-macro@0.2.93
924         wasm-bindgen-shared@0.2.93
925         wasm-bindgen@0.2.93
926         wasm-encoder@0.201.0
927         wasm-encoder@0.207.0
928         wasm-metadata@0.201.0
929         wasmparser@0.201.0
930         wasmparser@0.207.0
931         wasmprinter@0.207.0
932         wasmtime-asm-macros@21.0.1
933         wasmtime-c-api-impl@21.0.1
934         wasmtime-c-api-macros@21.0.1
935         wasmtime-component-macro@21.0.1
936         wasmtime-component-util@21.0.1
937         wasmtime-cranelift@21.0.1
938         wasmtime-environ@21.0.1
939         wasmtime-fiber@21.0.1
940         wasmtime-jit-icache-coherence@21.0.1
941         wasmtime-slab@21.0.1
942         wasmtime-types@21.0.1
943         wasmtime-versioned-export-macros@21.0.1
944         wasmtime-wasi@21.0.1
945         wasmtime-winch@21.0.1
946         wasmtime-wit-bindgen@21.0.1
947         wasmtime@21.0.1
948         wast@35.0.2
949         wayland-backend@0.3.6
950         wayland-client@0.31.5
951         wayland-cursor@0.31.5
952         wayland-protocols-plasma@0.2.0
953         wayland-protocols@0.31.2
954         wayland-scanner@0.31.4
955         wayland-sys@0.31.4
956         web-sys@0.3.70
957         webpki-roots@0.24.0
958         weezl@0.1.8
959         which@4.4.2
960         which@6.0.3
961         whoami@1.5.1
962         wiggle-generate@21.0.1
963         wiggle-macro@21.0.1
964         wiggle@21.0.1
965         winapi-i686-pc-windows-gnu@0.4.0
966         winapi-util@0.1.9
967         winapi-x86_64-pc-windows-gnu@0.4.0
968         winapi@0.3.9
969         winch-codegen@0.19.1
970         windows-core@0.52.0
971         windows-core@0.54.0
972         windows-core@0.58.0
973         windows-implement@0.58.0
974         windows-interface@0.58.0
975         windows-result@0.1.2
976         windows-result@0.2.0
977         windows-strings@0.1.0
978         windows-sys@0.45.0
979         windows-sys@0.48.0
980         windows-sys@0.52.0
981         windows-sys@0.59.0
982         windows-targets@0.42.2
983         windows-targets@0.48.5
984         windows-targets@0.52.6
985         windows@0.48.0
986         windows@0.52.0
987         windows@0.54.0
988         windows@0.58.0
989         windows_aarch64_gnullvm@0.42.2
990         windows_aarch64_gnullvm@0.48.5
991         windows_aarch64_gnullvm@0.52.6
992         windows_aarch64_msvc@0.42.2
993         windows_aarch64_msvc@0.48.5
994         windows_aarch64_msvc@0.52.6
995         windows_i686_gnu@0.42.2
996         windows_i686_gnu@0.48.5
997         windows_i686_gnu@0.52.6
998         windows_i686_gnullvm@0.52.6
999         windows_i686_msvc@0.42.2
1000         windows_i686_msvc@0.48.5
1001         windows_i686_msvc@0.52.6
1002         windows_x86_64_gnu@0.42.2
1003         windows_x86_64_gnu@0.48.5
1004         windows_x86_64_gnu@0.52.6
1005         windows_x86_64_gnullvm@0.42.2
1006         windows_x86_64_gnullvm@0.48.5
1007         windows_x86_64_gnullvm@0.52.6
1008         windows_x86_64_msvc@0.42.2
1009         windows_x86_64_msvc@0.48.5
1010         windows_x86_64_msvc@0.52.6
1011         winnow@0.5.40
1012         winnow@0.6.18
1013         winreg@0.50.0
1014         winreg@0.52.0
1015         winresource@0.1.17
1016         winsafe@0.0.19
1017         winx@0.36.3
1018         wio@0.2.2
1019         wit-bindgen-core@0.22.0
1020         wit-bindgen-rt@0.22.0
1021         wit-bindgen-rust-macro@0.22.0
1022         wit-bindgen-rust@0.22.0
1023         wit-bindgen@0.22.0
1024         wit-component@0.201.0
1025         wit-parser@0.201.0
1026         wit-parser@0.207.0
1027         witx@0.9.1
1028         wyz@0.5.1
1029         x11-clipboard@0.9.2
1030         x11rb-protocol@0.13.1
1031         x11rb@0.13.1
1032         xattr@0.2.3
1033         xcursor@0.3.8
1034         xdg-home@1.3.0
1035         xkeysym@0.2.1
1036         xml5ever@0.18.1
1037         xmlparser@0.13.6
1038         xmlwriter@0.1.0
1039         yansi@0.5.1
1040         yazi@0.1.6
1041         yeslogic-fontconfig-sys@6.0.0
1042         zbus@4.4.0
1043         zbus_macros@4.4.0
1044         zbus_names@3.0.0
1045         zed_extension_api@0.1.0
1046         zeno@0.2.3
1047         zerocopy-derive@0.7.35
1048         zerocopy@0.7.35
1049         zeroize@1.8.1
1050         zeroize_derive@1.4.2
1051         zeromq@0.4.0
1052         zstd-safe@5.0.2+zstd.1.5.2
1053         zstd-sys@2.0.13+zstd.1.5.6
1054         zstd@0.11.2+zstd.1.5.2
1055         zune-core@0.4.12
1056         zune-inflate@0.2.54
1057         zune-jpeg@0.4.13
1058         zvariant@4.2.0
1059         zvariant_derive@4.2.0
1060         zvariant_utils@2.1.0
1063 declare -A GIT_CRATES=(
1064         [alacritty_terminal]='https://github.com/alacritty/alacritty;91d034ff8b53867143c005acfaa14609147c9a2c;alacritty-%commit%/alacritty_terminal'
1065         [async-pipe]='https://github.com/zed-industries/async-pipe-rs;82d00a04211cf4e1236029aa03e6b6ce2a74c553;async-pipe-rs-%commit%'
1066         [blade-graphics]='https://github.com/kvark/blade;bf40d4f91fb56031e8676376dba2fc021b3e8eaf;blade-%commit%/blade-graphics'
1067         [blade-macros]='https://github.com/kvark/blade;bf40d4f91fb56031e8676376dba2fc021b3e8eaf;blade-%commit%/blade-macros'
1068         [blade-util]='https://github.com/kvark/blade;bf40d4f91fb56031e8676376dba2fc021b3e8eaf;blade-%commit%/blade-util'
1069         [cosmic-text]='https://github.com/pop-os/cosmic-text;542b20ca4376a3b5de5fa629db1a4ace44e18e0c;cosmic-text-%commit%'
1070         [font-kit]='https://github.com/zed-industries/font-kit;40391b7c0041d8a8572af2afa3de32ae088f0120;font-kit-%commit%'
1071         [lsp-types]='https://github.com/zed-industries/lsp-types;72357d6f6d212bdffba3b5ef4b31d8ca856058e7;lsp-types-%commit%'
1072         [nvim-rs]='https://github.com/KillTheMule/nvim-rs;69500bae73b8b3f02a05b7bee621a0d0e633da6c;nvim-rs-%commit%'
1073         [tree-sitter-gomod]='https://github.com/camdencheek/tree-sitter-go-mod;1f55029bacd0a6a11f6eb894c4312d429dcf735c;tree-sitter-go-mod-%commit%'
1074         [tree-sitter-gowork]='https://github.com/d1y/tree-sitter-go-work;dcbabff454703c3a4bc98a23cf8778d4be46fd22;tree-sitter-go-work-%commit%'
1075         [tree-sitter-heex]='https://github.com/phoenixframework/tree-sitter-heex;6dd0303acf7138dd2b9b432a229e16539581c701;tree-sitter-heex-%commit%'
1076         [tree-sitter-language]='https://github.com/tree-sitter/tree-sitter;7f4a57817d58a2f134fe863674acad6bbf007228;tree-sitter-%commit%/lib/language'
1077         [tree-sitter-md]='https://github.com/zed-industries/tree-sitter-markdown;e3855e37f8f2c71aa7513c18a9c95fb7461b1b10;tree-sitter-markdown-%commit%'
1078         [tree-sitter]='https://github.com/tree-sitter/tree-sitter;7f4a57817d58a2f134fe863674acad6bbf007228;tree-sitter-%commit%/lib'
1079         [xim-ctext]='https://github.com/npmania/xim-rs;27132caffc5b9bc9c432ca4afad184ab6e7c16af;xim-rs-%commit%/xim-ctext'
1080         [xim-parser]='https://github.com/npmania/xim-rs;27132caffc5b9bc9c432ca4afad184ab6e7c16af;xim-rs-%commit%/xim-parser'
1081         [xim]='https://github.com/npmania/xim-rs;27132caffc5b9bc9c432ca4afad184ab6e7c16af;xim-rs-%commit%'
1082         [xkbcommon]='https://github.com/ConradIrwin/xkbcommon-rs;fcbb4612185cc129ceeff51d22f7fb51810a03b2;xkbcommon-rs-%commit%'
1085 inherit cargo desktop edo toolchain-funcs xdg
1087 DESCRIPTION="high-performance, multiplayer code editor"
1088 HOMEPAGE="
1089         https://zed.dev/
1090         https://github.com/zed-industries/zed/
1092 SRC_URI="
1093         https://github.com/zed-industries/zed/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
1094         ${CARGO_CRATE_URIS}
1097 # OFL-1.1 for IBM Plex
1098 # TODO: more check
1099 LICENSE="GPL-3+ AGPL-3+ Apache-2.0 OFL-1.1"
1100 # Dependent crate licenses
1101 LICENSE+="
1102         Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD CC0-1.0 ISC
1103         LGPL-3 MIT MPL-2.0 Unicode-DFS-2016 ZLIB
1105 SLOT="0"
1106 KEYWORDS="~amd64"
1107 IUSE="+lto"
1108 REQUIRED_USE="lto? ( !debug )"
1110 DEPEND="
1111         >=dev-db/sqlite-3.38.0:3
1112         dev-libs/libgit2
1113         dev-libs/openssl:0/3
1114         dev-libs/wayland
1115         dev-libs/wayland-protocols
1116         dev-util/wayland-scanner
1117         dev-util/vulkan-tools
1118         media-libs/alsa-lib
1119         media-libs/fontconfig
1120         media-libs/freetype
1121         media-libs/vulkan-loader
1122         net-misc/curl
1123         sys-libs/zlib
1124         x11-libs/libXau
1125         x11-libs/libxcb
1126         x11-libs/libxkbcommon
1128 RDEPEND="${DEPEND}"
1129 BDEPEND="
1130         >=dev-util/cargo-about-0.6.1
1131         dev-util/vulkan-headers
1132         >=sys-devel/clang-17:*
1133         sys-devel/gettext
1134         sys-devel/mold
1135         >=virtual/rust-1.80.1
1138 pkg_setup() {
1139         if use !debug && use lto; then
1140                 # NOTE: upstream sets to thinlto by default
1141                 if tc-is-gcc; then
1142                         einfo "Enforcing lto for CC is Gcc"
1143                         export CARGO_PROFILE_RELEASE_LTO="true"
1144                 elif tc-is-clang; then
1145                         einfo "Enforcing thinlto for CC is Clang"
1146                         export CARGO_PROFILE_RELEASE_LTO="thin"
1147                 fi
1148         else
1149                 export CARGO_PROFILE_RELEASE_LTO="false"
1150         fi
1151         # flags from upstream
1152         export RUSTFLAGS="${RUSTFLAGS} -C link-args=-Wl,--disable-new-dtags,-rpath,\$ORIGIN/../lib"
1154         # Upstream explicitly use sys-devel/mold as linker
1155         # Any other linker might just fail
1156         einfo "Enforcing mold linker"
1157         export RUSTFLAGS="${RUSTFLAGS} -C linker=clang -C link-arg=-fuse-ld=mold"
1159         # A possible (no warranty!) workaround for other linkers
1160         #export RUSTFLAGS="${RUSTFLAGS} -C link-args=-Wl,-z,nostart-stop-gc"
1163 src_prepare() {
1164         local PATCHES=(
1165                 "${FILESDIR}/${PN}-0.142.6-remove-cargo-install-in-generate-licenses.patch"
1166                 # From https://github.com/getsolus/packages/tree/main/packages/z/zed
1167                 "${FILESDIR}/${PN}-0.143.7-use-system-libs.patch"
1168                 "${FILESDIR}/${PN}-0.147.2-fix-cargo-eclass-rustflags-merge.patch"
1169         )
1171         default
1173         # Cargo offline fetch workaround
1174         local TS_COMMIT="7f4a57817d58a2f134fe863674acad6bbf007228"
1175         local TS_GIT="git = \"https://github.com/tree-sitter/tree-sitter\", rev = \"${TS_COMMIT}\""
1176         local TS_PATH="path = \"${WORKDIR}/tree-sitter-${TS_COMMIT}/lib\""
1178         sed -e "s#${TS_GIT}#${TS_PATH}#" -i "${S}/Cargo.toml" || die "Cargo fetch workaround failed"
1180         export DO_STARTUP_NOTIFY="true"
1181         export APP_ICON="zed"
1182         export APP_NAME="Zed"
1183         export APP_CLI="zeditor"
1184         export APP_ID="dev.zed.Zed"
1185         export APP_ARGS="%U"
1186         # sys-devel/gettext
1187         envsubst < "crates/zed/resources/zed.desktop.in" > ${APP_ID}.desktop || die
1189         # For "View Denpendency licenses" Button in menu
1190         # This requires package *cargo-about*
1191         # Without this the button leads to crash
1192         edo ${BASH} ./script/generate-licenses
1195 src_compile() {
1196         # Set RELEASE_VERSION so it's compiled into GPUI and it knows about the version
1197         export RELEASE_VERSION="${PV}"
1198         export ZED_UPDATE_EXPLANATION='Updates are handled by portage'
1199         cargo_src_compile --package zed --package cli
1202 src_test() {
1203         cargo_src_test --all-features
1206 src_install() {
1207         newbin $(cargo_target_dir)/cli zeditor
1208         # hard-coded in crates/cli/src/main.rs
1209         # ["../libexec/zed-editor", "../lib/zed/zed-editor", "./zed"]
1210         exeinto "/usr/libexec"
1211         newexe $(cargo_target_dir)/zed zed-editor
1213         newicon -s 512 crates/zed/resources/app-icon.png zed.png
1214         newicon -s 1024 crates/zed/resources/app-icon@2x.png zed.png
1215         domenu "${S}/${APP_ID}.desktop"