tawasuyu

tawasuyu/llimphi

Sovereign retained-mode GPU UI framework in Rust (wgpu+vello+taffy+parley), Elm loop, 40+ widgets.

Rust 229TOML 101Markdown 82Shell 24052 Sutichaykuna

⎇ fbd3dc5ca47ccc010001400981173258750b20f9 Cargo.toml TOML · 441 siq'ikuna · 17.7 KB Ñawpa willay ch'uya

chore: actualizar git-deps a tawasuyu/ (auto-migración) fbd3dc5ca · sergio ·

1# Cargo.toml raíz STANDALONE de Llimphi — dry-run de extracción.
2# Generado desde la raíz de gioser quitando el prefijo 02_ruway/llimphi/ a los
3# path-deps internos. Excluye los 3 crates acoplados al resto del workspace
4# (menubar→app-bus, shuma-term→shuma-exec, plugin-host→card-core) y los demos
5# gallery que los agregan, más android (target propio).
6[workspace]
7resolver = "2"
8members = [
9    "llimphi-hal", "llimphi-raster", "llimphi-layout", "llimphi-text",
10    "llimphi-ui", "llimphi-theme", "llimphi-surface", "llimphi-motion",
11    "llimphi-icons", "llimphi-compositor", "llimphi-workspace",
12    "widgets/*", "modules/*", "shared/app-bus",
13]
14exclude = [
15    "android",
16    "llimphi-gallery", "llimphi-gpu-bench",
17    "widgets/gallery",
18    "modules/shuma-term", "modules/plugin-host",
19]
20
21[workspace.package]
22version = "0.1.0"
23edition = "2021"
24rust-version = "1.80"
25license = "MIT"
26authors = ["Sergio <gerencia@jlsoltech.com>"]
27publish = false
28repository = "https://git.gioser.net/tawasuyu/llimphi"
29
30[workspace.dependencies]
31# === Registro de apps / menú global ===
32app-bus = { path = "shared/app-bus" }
33# === Serialización ===
34serde = { version = "1", features = ["derive"] }
35serde_json = "1"
36lsp-types = "0.97"
37serde-big-array = "0.5"
38postcard = { version = "1", features = ["use-std"] }
39toml = "0.8"
40ron = "0.8"
41bincode = "1"
42base64 = "0.22"
43
44# === Errores ===
45thiserror = "2"           # bump uniforme; arje (era 1) puede requerir ajustes menores
46anyhow = "1"
47
48# === Async ===
49tokio = { version = "1", features = ["full"] }
50tokio-util = { version = "0.7", features = ["compat"] }
51async-trait = "0.1"
52futures = "0.3"
53
54# === Observabilidad ===
55tracing = "0.1"
56tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt"] }
57
58# === Linux primitives (arje) ===
59nix = { version = "0.29", features = ["signal", "process", "sched", "mount", "fs", "socket", "net", "user"] }
60libc = "0.2"
61
62# === IDs / Hash / Crypto ===
63ulid = { version = "1", features = ["serde"] }
64uuid = { version = "1", features = ["v4", "rng-getrandom"] }
65sha2 = "0.10"
66blake3 = "1.5"
67ed25519-dalek = "2"
68aes-gcm = "0.10"
69chacha20poly1305 = "0.10"
70argon2 = "0.5"
71rand = "0.8"
72
73# === WASM (arje) ===
74# wasmi 1.0: unifica la versión con renaser (su kernel ya corre 1.0), para
75# que el ABI WASM del host sea idéntico en Linux y en bare-metal.
76wasmi = "1.0"
77wat = "1"
78
79# === Storage / DB ===
80sled = "0.34"
81rusqlite = { version = "0.31", features = ["bundled", "blob"] }
82
83# === Ingesta de documentos (iniy-ingest: PDF / EPUB) ===
84pdf-extract = "0.7"
85epub = "2.1"
86
87# === Bulk import Wikipedia (iniy-wiki dump) ===
88bzip2 = "0.4"
89
90# === Compresión (minga multi-bundle) ===
91zstd = "0.13"
92
93# === HTTP server (iniy-server) ===
94axum = "0.7"
95tower = "0.5"
96
97# === ANN sobre embeddings (iniy nli --ann) ===
98instant-distance = "0.6"
99
100# === P2P (minga) ===
101libp2p = { version = "0.56", features = ["tokio", "tcp", "noise", "yamux", "macros", "kad", "identify", "relay", "dcutr", "autonat", "mdns"] }
102libp2p-stream = "=0.4.0-alpha"
103libp2p-allow-block-list = "0.6"
104
105# === SSH (ssh, sandokan RemoteEngine, matilda) ===
106russh = "0.54"
107
108# === Math determinista cross-platform (dominium) ===
109libm = "0.2"
110
111# === SMF (takiy-midi) ===
112# midly: parser/emitter SMF tipo 0/1, no_std-friendly, sin allocs en hot path.
113midly = "0.5"
114
115# === Code parsing (minga) ===
116arboard = "3"
117ropey = "1.6"
118tree-sitter = "0.24"
119tree-sitter-rust = "0.23"
120tree-sitter-python = "0.23"
121tree-sitter-typescript = "0.23"
122tree-sitter-javascript = "0.23"
123tree-sitter-go = "0.23"
124
125# === FS notify ===
126notify = "6.1"
127
128# === Grafos (iniy, nakui-core ya lo usa directo en 0.6) ===
129petgraph = "0.6"
130
131# === Image decoding (nahual-image-viewer-llimphi) ===
132# default-features = false: nos quedamos con PNG + JPEG + WebP (lossless).
133# tullpu-render exporta a las tres; AVIF/TIFF/… los habilitamos si una app
134# los pide específicamente.
135image = { version = "0.25", default-features = false, features = ["png", "jpeg", "webp"] }
136
137# === FUSE (minga-vfs) ===
138# default-features = false: prescinde de pkg-config/libfuse-dev en build.
139# El montaje pasa a ser Rust puro (vía el helper `fusermount3` en runtime).
140fuser = { version = "0.15", default-features = false }
141
142# === CLI / auth (minga) ===
143clap = { version = "4", features = ["derive"] }
144rpassword = "7"
145
146# === PAM (auth-core) ===
147pam = "0.8"
148
149# === D-Bus (arje compat) ===
150zbus = { version = "4", default-features = false, features = ["tokio"] }
151
152# === Tests ===
153tempfile = "3"
154
155# === Llimphi (motor gráfico soberano) ===
156# wgpu sobre Vulkan/Metal/DX12, winit para ventana en dev Linux.
157# raw-window-handle 0.6 alinea winit 0.30 con wgpu 24.
158# vello 0.5 = rasterizador vectorial sobre wgpu 24.
159# taffy 0.9 = motor Flexbox/Grid puro Rust (ya pulled por transitivos, lo alineamos).
160# parley 0.2 = shaping/layout de texto compatible con peniko 0.4 (que vello 0.5 expone).
161wgpu = "24"
162winit = "0.30"
163raw-window-handle = "0.6"
164pollster = "0.4"
165vello = "0.5"
166taffy = "0.9"
167# parley = shaping completo (bidi, ligatures, fallback CJK/emoji vía fontique, line break).
168parley = "0.4"
169# Bucle Elm (input→update→view→layout→raster→present). Lo consumen las apps.
170llimphi-ui = { path = "llimphi-ui" }
171# Paleta semántica compartida por las apps y los widgets.
172llimphi-theme = { path = "llimphi-theme" }
173# Tweens y helpers de animación sobre el bucle Elm.
174llimphi-motion = { path = "llimphi-motion" }
175# Iconos vectoriales (BezPath en grid 24×24) compartidos por todas las apps.
176llimphi-icons = { path = "llimphi-icons" }
177# Widgets reusables sobre llimphi-ui — uno por crate.
178llimphi-widget-app-header = { path = "widgets/app-header" }
179llimphi-widget-banner = { path = "widgets/banner" }
180llimphi-widget-button = { path = "widgets/button" }
181llimphi-widget-card = { path = "widgets/card" }
182llimphi-clipboard = { path = "widgets/clipboard" }
183llimphi-widget-context-menu = { path = "widgets/context-menu" }
184llimphi-widget-edit-menu = { path = "widgets/edit-menu" }
185llimphi-widget-menubar = { path = "widgets/menubar" }
186llimphi-widget-list = { path = "widgets/list" }
187llimphi-widget-grid = { path = "widgets/grid" }
188llimphi-widget-slider = { path = "widgets/slider" }
189llimphi-widget-scroll = { path = "widgets/scroll" }
190llimphi-widget-splitter = { path = "widgets/splitter" }
191llimphi-widget-stat-card = { path = "widgets/stat-card" }
192llimphi-widget-tabs = { path = "widgets/tabs" }
193llimphi-module-command-palette = { path = "modules/command-palette" }
194llimphi-module-diff-viewer = { path = "modules/diff-viewer" }
195llimphi-module-fif = { path = "modules/fif" }
196llimphi-module-file-picker = { path = "modules/file-picker" }
197llimphi-module-bookmarks = { path = "modules/bookmarks" }
198llimphi-module-mini-map = { path = "modules/mini-map" }
199llimphi-module-shuma-term = { path = "modules/shuma-term" }
200llimphi-module-symbol-outline = { path = "modules/symbol-outline" }
201llimphi-plugin-host = { path = "modules/plugin-host" }
202llimphi-widget-theme-switcher = { path = "widgets/theme-switcher" }
203llimphi-widget-text-area = { path = "widgets/text-area" }
204llimphi-widget-text-editor-core = { path = "widgets/text-editor-core" }
205llimphi-widget-text-editor = { path = "widgets/text-editor" }
206llimphi-widget-text-editor-lsp = { path = "widgets/text-editor-lsp" }
207llimphi-widget-text-input = { path = "widgets/text-input" }
208llimphi-widget-tiled = { path = "widgets/tiled" }
209llimphi-widget-nodegraph = { path = "widgets/nodegraph" }
210llimphi-widget-tree = { path = "widgets/tree" }
211llimphi-widget-navigator = { path = "widgets/navigator" }
212# Sello vectorial wawa (rombo + W implícita + Merkle Core).
213llimphi-widget-wawa-mark = { path = "widgets/wawa-mark" }
214# Widgets de elegancia transversal (tooltip, spinner, progress, toast,
215# modal, empty, status-bar, shortcuts-help, splash).
216llimphi-widget-tooltip = { path = "widgets/tooltip" }
217llimphi-widget-spinner = { path = "widgets/spinner" }
218llimphi-widget-progress = { path = "widgets/progress" }
219llimphi-widget-toast = { path = "widgets/toast" }
220llimphi-widget-modal = { path = "widgets/modal" }
221llimphi-widget-empty = { path = "widgets/empty" }
222llimphi-widget-status-bar = { path = "widgets/status-bar" }
223llimphi-widget-shortcuts-help = { path = "widgets/shortcuts-help" }
224llimphi-widget-timeline = { path = "widgets/timeline" }
225llimphi-widget-splash = { path = "widgets/splash" }
226# Controles de formulario y signaling (switch, segmented, breadcrumb,
227# badge, avatar, skeleton, field).
228llimphi-widget-switch = { path = "widgets/switch" }
229llimphi-widget-segmented = { path = "widgets/segmented" }
230llimphi-widget-dock-rail = { path = "widgets/dock-rail" }
231llimphi-widget-breadcrumb = { path = "widgets/breadcrumb" }
232llimphi-widget-badge = { path = "widgets/badge" }
233llimphi-widget-avatar = { path = "widgets/avatar" }
234llimphi-widget-skeleton = { path = "widgets/skeleton" }
235llimphi-widget-field = { path = "widgets/field" }
236# Firma visual transversal (gradient sutil + hairline accent).
237llimphi-widget-panel = { path = "widgets/panel" }
238llimphi-widget-panes = { path = "widgets/panes" }
239llimphi-workspace = { path = "llimphi-workspace" }
240# Abstracción Selector — host (paths) + wawa (khipus).
241llimphi-module-selector = { path = "modules/selector" }
242
243# === Filesystem helpers ===
244directories = "5"
245
246# === Diff line-based (llimphi-module-diff-viewer) ===
247# `similar` es la crate de facto: implementa Myers + Patience + LCS,
248# expone `TextDiff` con ChangeTag por línea (Equal/Insert/Delete),
249# zero deps fuera de std. La 2.x es estable hace años.
250similar = "2"
251
252# === Fuzzy matching (shuma-history) ===
253# nucleo-matcher = mismo matcher que helix-editor: rápido, Unicode-correct,
254# bonus por prefijos, ranking estable. La versión 0.3 expone el API simple
255# que necesitamos (Matcher + Pattern + score).
256nucleo-matcher = "0.3"
257
258# === Transporte autenticado (shuma-link) ===
259# snow = framework Noise pure-rust. Lo usamos en modo Noise_XK (cliente
260# conoce la pubkey del servidor, server descubre la del cliente y la
261# valida contra una allowlist). ChaCha20-Poly1305 + X25519 + BLAKE2s.
262# La versión 0.9 viene pinneada por libp2p, así nos alineamos.
263snow = "0.9"
264hex = "0.4"
265
266# === PTY + emulador de terminal (shuma-exec, módulos REPL) ===
267# portable-pty aloja un PTY cross-platform; lo usamos para los
268# comandos TUI tipo vim/htop/less que necesitan un terminal de verdad.
269# vt100 parsea la secuencia de bytes que el PTY emite (ANSI + cursor
270# movement + erase + screen state) y mantiene un buffer de pantalla
271# renderizable como grid.
272portable-pty = "0.9"
273vt100 = "0.16"
274
275# === WASM web (gioser) ===
276wasm-bindgen = "0.2"
277wasm-bindgen-futures = "0.4"
278js-sys = "0.3"
279web-sys = "0.3"
280glam = "0.30"
281
282# === Markdown (pluma) ===
283pulldown-cmark = { version = "0.12", default-features = false, features = ["html"] }
284
285# === Archivos comprimidos (nahual archive viewer) ===
286# Sólo listamos el directorio central (nombres/tamaños); no descomprimimos,
287# por eso default-features=false alcanza para ZIP. Para tar.gz sí
288# descomprimimos en streaming con flate2 (ya declarado arriba), saltando
289# los datos de cada entrada — sólo leemos headers.
290zip = { version = "2.4", default-features = false }
291tar = { version = "0.4", default-features = false }
292
293# === Fuentes (nahual font viewer) ===
294# Parseo de TTF/OTF/TTC y extracción de contornos de glifo a paths.
295ttf-parser = "0.25"
296
297# ============================================================
298# Intra-workspace deps de nahual (referenciadas por workspace = true)
299# ============================================================
300nahual-text-viewer-llimphi = { path = "02_ruway/nahual/nahual-text-viewer-llimphi" }
301nahual-image-viewer-llimphi = { path = "02_ruway/nahual/nahual-image-viewer-llimphi" }
302nahual-thumb-core = { path = "02_ruway/nahual/nahual-thumb-core" }
303nahual-gallery-llimphi = { path = "02_ruway/nahual/nahual-gallery-llimphi" }
304nahual-video-viewer-llimphi = { path = "02_ruway/nahual/nahual-video-viewer-llimphi" }
305nahual-card-viewer-llimphi = { path = "02_ruway/nahual/nahual-card-viewer-llimphi" }
306nahual-audio-viewer-llimphi = { path = "02_ruway/nahual/nahual-audio-viewer-llimphi" }
307nahual-tree-viewer-llimphi = { path = "02_ruway/nahual/nahual-tree-viewer-llimphi" }
308nahual-hex-viewer-llimphi = { path = "02_ruway/nahual/nahual-hex-viewer-llimphi" }
309nahual-table-viewer-llimphi = { path = "02_ruway/nahual/nahual-table-viewer-llimphi" }
310nahual-markdown-viewer-llimphi = { path = "02_ruway/nahual/nahual-markdown-viewer-llimphi" }
311nahual-archive-viewer-llimphi = { path = "02_ruway/nahual/nahual-archive-viewer-llimphi" }
312nahual-font-viewer-llimphi = { path = "02_ruway/nahual/nahual-font-viewer-llimphi" }
313nahual-map-viewer-llimphi = { path = "02_ruway/nahual/nahual-map-viewer-llimphi" }
314nahual-geo-core = { path = "02_ruway/nahual/nahual-geo-core" }
315nahual-viewer-core = { path = "02_ruway/nahual/nahual-viewer-core" }
316nahual-file-explorer-llimphi = { path = "02_ruway/nahual/nahual-file-explorer-llimphi" }
317
318# ============================================================
319# Intra-workspace deps de pineal (módulo de gráficos)
320# ============================================================
321pineal-core = { path = "00_unanchay/pineal/pineal-core" }
322pineal-render = { path = "00_unanchay/pineal/pineal-render" }
323pineal-cartesian = { path = "00_unanchay/pineal/pineal-cartesian" }
324pineal-stream = { path = "00_unanchay/pineal/pineal-stream" }
325pineal-mesh = { path = "00_unanchay/pineal/pineal-mesh" }
326pineal-financial = { path = "00_unanchay/pineal/pineal-financial" }
327pineal-polar = { path = "00_unanchay/pineal/pineal-polar" }
328pineal-heatmap = { path = "00_unanchay/pineal/pineal-heatmap" }
329pineal-treemap = { path = "00_unanchay/pineal/pineal-treemap" }
330pineal-flow = { path = "00_unanchay/pineal/pineal-flow" }
331pineal-phosphor = { path = "00_unanchay/pineal/pineal-phosphor" }
332pineal-export = { path = "00_unanchay/pineal/pineal-export" }
333pineal-hexbin = { path = "00_unanchay/pineal/pineal-hexbin" }
334pineal-contour = { path = "00_unanchay/pineal/pineal-contour" }
335pineal-bars = { path = "00_unanchay/pineal/pineal-bars" }
336pineal = { path = "00_unanchay/pineal/pineal-umbrella" }
337
338# ============================================================
339# Intra-workspace deps de iniy (laboratorio semántico de creencias)
340# ============================================================
341iniy-core = { path = "01_yachay/iniy/iniy-core" }
342iniy-ingest = { path = "01_yachay/iniy/iniy-ingest" }
343iniy-extract = { path = "01_yachay/iniy/iniy-extract" }
344iniy-nli = { path = "01_yachay/iniy/iniy-nli" }
345iniy-nli-llm = { path = "01_yachay/iniy/iniy-nli-llm" }
346iniy-graph = { path = "01_yachay/iniy/iniy-graph" }
347iniy-store = { path = "01_yachay/iniy/iniy-store" }
348
349# === auto: declarados por crates internos faltantes ===
350cosmos-coords = { path = "01_yachay/cosmos/cosmos-coords" }
351cosmos-core = { path = "01_yachay/cosmos/cosmos-core" }
352cosmos-ephemeris = { path = "01_yachay/cosmos/cosmos-ephemeris" }
353cosmos-time = { path = "01_yachay/cosmos/cosmos-time" }
354cosmos-wcs = { path = "01_yachay/cosmos/cosmos-wcs" }
355
356# === auto: externas de eternal ===
357celestial-eop-data = { version = "0.1"}
358approx = "0.5"
359byteorder = "1.5"
360cc = "1.0"
361chrono = "0.4"
362crc32fast = "1.4"
363criterion = "0.5"
364csv = "1.4"
365flate2 = "1.0"
366glob = "0.3"
367indicatif = "0.18"
368lz4_flex = "0.11"
369memmap2 = "0.9"
370mockito = "1.0"
371ndarray = "0.15"
372num-traits = "0.2"
373once_cell = "1.19"
374parking_lot = "0.12"
375png = "0.18"
376proptest = "1.4"
377quick-xml = "0.31"
378rayon = "1.8"
379regex = "1.11"
380reqwest = "0.12"
381tiff = "0.11"
382wide = "0.7"
383wiremock = "0.6"
384
385# === i18n (rimay-localize) ===
386fluent-bundle = "0.15"
387unic-langid = { version = "0.9", features = ["macros"] }
388sys-locale = "0.3"
389
390# === Servo (puriy-engine) ===
391# Crates publicados de Servo embebibles individualmente. html5ever/markup5ever
392# ya entran via ammonia→surrealdb→nakui, así que alineamos versión para no
393# duplicar el árbol. markup5ever_rcdom es el DOM Rc-based simple (suficiente
394# para Fase 2: parsear y renderizar, sin scripting). cssparser es el tokenizer
395# CSS de Stylo, sirve para inline styles. ureq = HTTP síncrono minimalista,
396# evita pull de tokio en el engine.
397html5ever = "0.39"
398markup5ever = "0.39"
399markup5ever_rcdom = "0.39"
400cssparser = "0.35"
401url = "2"
402ureq = { version = "2", default-features = false, features = ["tls"] }
403
404# === takiy-synth (SoundFont MIDI) ===
405# rustysynth = sintetizador SF2 puro Rust, MIT. Reemplaza el oscilador
406# feo de takiy-synth por muestras reales (FluidR3, GeneralUser GS, etc).
407rustysynth = "1.3"
408
409# === takiy-playback (audio device output) ===
410# cpal = backend de audio cross-platform (ALSA/PulseAudio/Pipewire en
411# Linux, WASAPI en Windows, CoreAudio en macOS). Lo usamos sólo para
412# abrir el device default y empujar muestras f32 — nada de mezclado
413# ni efectos en el callback.
414cpal = "0.15"
415
416# === media-source-wav (decoder PCM en disco) ===
417# hound = lector/escritor WAV puro-Rust, sin deps nativas. Soporta PCM
418# entero (8/16/24/32) y float (32). Suficiente para abrir samples y
419# stems de prueba sin meter ffmpeg/symphonia.
420hound = "3.5"
421
422# === media-source-{mp3,flac,vorbis} (decoders vía symphonia) ===
423# symphonia es una colección de decoders puro-Rust mantenida. `mp3` cubre
424# media-source-mp3; `flac` (decoder + demuxer FLAC nativo) cubre
425# media-source-flac (lossless); `vorbis` + `ogg` (codec + demuxer Ogg)
426# cubren media-source-vorbis (lossy clásico, libre de patentes). Sin aac:
427# ese tier patentado entra por shared/foreign-av.
428symphonia = { version = "0.5", default-features = false, features = ["mp3", "flac", "vorbis", "ogg"] }
429
430# === media-source-opus (decoder Opus NATIVO puro-Rust) ===
431# Opus es el formato de audio nativo de gioser (par del video AV1). ogg
432# demuxea las páginas Ogg; opus-wave es un port puro-Rust de libopus
433# (SILK+CELT, sin C ni FFI) — par del rav1d del lado video.
434ogg = "0.9"
435opus-wave = "3"
436
437# === media-source-webm (demux nativo Matroska/WebM) ===
438# matroska-demuxer es un demuxer puro-Rust de MKV/WebM (EBML). Saca los
439# paquetes de los tracks V_AV1 y A_OPUS para alimentar a media-source-av1
440# y media-source-opus — un .webm AV1+Opus se reproduce 100% nativo.
441matroska-demuxer = "0.7"