devela/
_dep.rs

1// devela::_dep
2//
3//! Re-exported optional dependencies.
4//
5// TOC
6// - standard libraries
7// - external dependencies
8
9#![cfg_attr(not(feature = "all"), allow(rustdoc::private_intra_doc_links))]
10
11use crate::code::reexport;
12
13/* standard libraries */
14
15#[doc(hidden)]
16pub use super::_core; // for completion
17
18/// <span class='stab portability' title='re-exported `alloc`'>`alloc`</span>
19/// *Re-exported Rust `alloc` library.*
20#[cfg_attr(feature = "nightly_doc", doc(cfg(feature = "alloc")))]
21#[cfg(feature = "alloc")]
22#[doc(inline)]
23pub extern crate alloc as _alloc;
24
25/// <span class='stab portability' title='re-exported `std`'>`std`</span>
26/// *Re-exported Rust `std` library.*
27/// <br/><hr>
28#[cfg_attr(feature = "nightly_doc", doc(cfg(feature = "std")))]
29#[cfg(feature = "std")]
30#[doc(inline)]
31pub use ::std as _std;
32
33/* 51 optional dependencies */
34// In sync with ../Cargo.toml::dep_all & ../config/dep_all.rs
35
36reexport! { optional_crate (unsafe) "dep_allocator_api2", "allocator-api2", allocator_api2,
37    doc: "Mirror of Rust's allocator api for use on stable rust"
38}
39reexport! { optional_crate (unsafe) "dep_atomic", "atomic", atomic,
40    doc: "A generic atomic wrapper type."
41}
42reexport! { optional_crate (unsafe) "dep_bumpalo", "bumpalo", bumpalo,
43    doc: "A fast bump allocation arena for Rust."
44}
45reexport! { optional_crate (unsafe) "dep_bytemuck", "bytemuck", bytemuck,
46    doc: "Small utilities for casting between plain data types."
47}
48reexport! { optional_crate (unsafe) "dep_const_str", "const-str", const_str,
49    doc: "Compile-time string operations."
50}
51reexport! { optional_crate (safe) "dep_crossterm", "crossterm", crossterm,
52    doc: "Cross-platform Terminal Manipulation Library.",
53    features: "std"
54}
55reexport! { optional_crate (unsafe) "dep_fltk", "fltk", fltk,
56    doc: "Rust bindings for the FLTK GUI library."
57}
58reexport! { optional_crate (safe) "dep_flume", "flume", flume,
59    doc: "A blazingly fast multi-producer channel."
60}
61reexport! { optional_crate (unsafe) "dep_fontdue", "fontdue", fontdue,
62    doc: " A simple no_std font parser and rasterizer."
63}
64reexport! { optional_crate (safe) "dep_gilrs", "gilrs", gilrs,
65    doc: "Game Input Library for Rust."
66}
67reexport! { optional_crate (unsafe) "dep_hashbrown", "hashbrown", hashbrown,
68    doc: "A drop-in replacement for Rust’s standard `HashMap` and `HashSet`.",
69    features: "alloc"
70}
71reexport! { optional_crate (unsafe) "dep_image", "image", image,
72    doc: "Basic image processing and encoders/decoders for common image formats."
73}
74reexport! { optional_crate (safe) "dep_itertools", "itertools", itertools,
75    doc: "Extra iterator adaptors, iterator methods, functions, and macros."
76}
77reexport! { optional_crate (safe) "dep_jiff", "jiff", jiff,
78    doc: "A high level datetime library that is secure and performant.",
79    features: "alloc"
80}
81reexport! { optional_crate (unsafe) "dep_js_sys", "js-sys", js_sys,
82    doc: "Bindings for all JS global objects and functions in all JS environments."
83}
84reexport! { optional_crate (safe) "dep_kira", "kira", kira,
85    doc: "Expressive audio library for games."
86}
87reexport! { optional_crate (unsafe) "dep_libm", "libm", libm,
88    doc: "A port of [`MUSL`](https://musl.libc.org/)'s libm to Rust."
89}
90reexport! { optional_crate (safe) "dep_log", "log", log,
91    doc: "A lightweight logging facade."
92}
93reexport! { optional_crate (unsafe) "dep_memchr", "memchr", memchr,
94    doc: "Optimized routines for string search primitives."
95}
96reexport! { optional_crate (unsafe) "dep_midir", "midir", midir,
97    doc: "A cross-platform, realtime MIDI processing library."
98}
99reexport! { optional_crate (unsafe) "dep_miniquad", "miniquad", miniquad,
100    doc: "Cross-platform window context and rendering library."
101}
102reexport! { optional_crate (unsafe) "dep_nc", "nc", nc,
103    doc: "Access system calls directly in: linux, android, freebsd, netbsd, macos."
104}
105reexport! { optional_crate (safe) "dep_orion", "orion", orion,
106    doc: "Usable, easy and safe pure-Rust crypto."
107}
108reexport! { optional_crate (unsafe) "dep_portable_atomic", "portable-atomic", portable_atomic,
109    doc: "Portable atomic types including 128-bit atomics, floats, etc."
110}
111reexport! { optional_crate (unsafe) "dep_portable_atomic_util", "portable-atomic-util",
112    portable_atomic_util,
113    doc: "Synchronization primitives built with `portable-atomic`."
114}
115reexport! { optional_crate (unsafe) "dep_pyo3", "pyo3", pyo3,
116    doc: "Bindings to Python interpreter.",
117    features: "std"
118}
119reexport! { optional_crate (safe) "dep_rand_core", "rand_core", rand_core,
120    doc: "Random number generation traits."
121}
122reexport! { optional_crate (safe) "dep_rayon", "rayon", rayon,
123    doc: "Simple work-stealing parallelism for Rust."
124}
125reexport! { optional_crate (unsafe) "dep_raw_cpuid", "raw-cpuid", raw_cpuid,
126    doc: "A library to parse the x86 CPUID instruction."
127}
128reexport! { optional_crate (safe) "dep_regex_lite", "regex-lite", regex_lite,
129    doc: "A lightweight regex engine optimized for binary size and compilation time."
130}
131// reexport! { optional_crate (safe) "dep_ring", "ring", ring,
132//     doc: "Safe, fast, small crypto using Rust."
133// }
134// reexport! { optional_crate (unsafe) "dep_rkyv", "rkyv", rkyv,
135//     doc: "A zero-copy deserialization framework for Rust."
136// }
137reexport! { optional_crate (unsafe) "dep_rodio", "rodio", rodio,
138    doc: "Audio playback library."
139}
140reexport! { optional_crate (unsafe) "dep_rustix", "rustix", rustix,
141    doc: "Safe Rust bindings to POSIX/Unix/Linux/Winsock-like syscalls."
142}
143reexport! { optional_crate (unsafe) "dep_safe_arch", "safe_arch", safe_arch,
144    doc: "Exposes arch-specific intrinsics as safe functions."
145}
146reexport! { optional_crate (unsafe) "dep_sdl2", "sdl2", sdl2,
147    doc: "SDL2 bindings for Rust."
148}
149reexport! { optional_crate (unsafe) "dep_sdl3", "sdl3", sdl3,
150    doc: "SDL3 bindings for Rust."
151}
152reexport! { optional_crate (unsafe) "dep_serde", "serde", serde,
153    doc: "A generic serialization/deserialization framework."
154}
155reexport! { optional_crate (unsafe) "dep_simdutf8", "simdutf8", simdutf8,
156    doc: "Blazingly fast API-compatible UTF-8 validation for Rust using SIMD extensions."
157}
158reexport! { optional_crate (unsafe) "dep_stringzilla", "stringzilla", stringzilla,
159    doc: "SIMD-accelerated string search, sorting, fingerprints, and edit distances."
160}
161reexport! { optional_crate (safe) "dep_symphonia", "symphonia", symphonia,
162    doc: "Pure Rust media container and audio decoding library."
163}
164reexport! { optional_crate (unsafe) "dep_sysinfo", "sysinfo", sysinfo,
165    doc: "Get system information such as processes, CPUs, disks, and networks."
166}
167reexport! { optional_crate (unsafe) "dep_tinyaudio", "tinyaudio", tinyaudio,
168    doc: "A cross-platform, easy-to-use, low-level, audio output library.",
169    features: "alloc"
170}
171reexport! { optional_crate (safe) "dep_toml_edit", "toml_edit", toml_edit,
172    doc: "TOML parsing and format-preserving editing."
173}
174reexport! { optional_crate (unsafe) "dep_tokio", "tokio", tokio,
175    doc: "A runtime for writing reliable network applications without compromising speed.",
176    features: "std"
177}
178reexport! { optional_crate (unsafe) "dep_tracing", "tracing", tracing,
179    doc: "A scoped, structured logging and diagnostics system.",
180    features: "alloc"
181}
182reexport! { optional_crate (safe)
183    "dep_unicode_segmentation", "unicode-segmentation", unicode_segmentation,
184    doc: "Split strings on Grapheme Clusters, Words or Sentences."
185}
186reexport! { optional_crate (safe) "dep_unicode_width", "unicode-width", unicode_width,
187    doc: "Determine displayed width of `char` and `str` types."
188}
189reexport! { optional_crate (safe) "dep_ureq", "ureq", ureq,
190    doc: "Simple, safe HTTP client."
191}
192reexport! { optional_crate (unsafe) "dep_wasm_bindgen", "wasm-bindgen", wasm_bindgen,
193    doc: "Easy support for interacting between JS and Rust."
194}
195reexport! { optional_crate (unsafe) "dep_web_sys", "web-sys", web_sys,
196    doc: "Bindings for all Web APIs."
197}
198reexport! { optional_crate (unsafe) "dep_wide", "wide", wide,
199    doc: "SIMD-compatible data types."
200}
201reexport! { optional_crate (safe) /*±*/ "dep_winnow", "winnow", winnow,
202    doc: "A byte-oriented, zero-copy, parser combinators library."
203}