Repository navigation
Expand file tree
/
Copy pathllms.txt
More file actions
121 lines (99 loc) · 15.9 KB
/
Copy pathllms.txt
File metadata and controls
121 lines (99 loc) · 15.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
# Karpeles Lab (KarpelesLab)
> Open-source libraries and tools from Karpeles Lab Inc. (Tokyo), mostly Go and a fast-growing pure-Rust ecosystem: no C libraries, no FFI, often no_std with zero third-party crates. These docs tell AI coding agents which package fits a task, the exact crate/module name to depend on, maturity, and verified usage. Sister orgs: OxideAV (pure-Rust media framework), portablesql (Go SQL toolkit) and TibaneLabs (wallets and Solana programs).
Before depending on a Rust crate, check its section for the exact crate name (it often differs from the repo name) and whether it is on crates.io or git-only. Where a repo README disagrees with its source code, these docs follow the source.
## Overview
- [Rust ecosystem overview](docs/rust/README.md): conventions (crate names, crates.io vs git, features, maturity) and how the Rust crates depend on each other
- [Go packages](docs/go.md): all KarpelesLab Go modules by category (runtimes, cloud, networking, crypto incl. SGX attestation (echeck), blockchain, filesystems, media, parsers, i18n, hardware incl. car-navigation firmware, utilities), with a fuller section on the portablesql psql toolkit (MySQL/PostgreSQL/SQLite)
- [Frontend packages](docs/frontend.md): KLB platform client libraries (klbfw JS client and React/Vue/i18next add-ons, klbfw-describe, login modules, vuetemplate, Rust/Swift/Flutter clients); API docs live in https://github.com/KarpelesLab/integration-docs
## Rust: cryptography, TLS & networking
- [purecrypto](docs/rust/crypto-networking.md#purecrypto): pure-Rust crypto toolkit (no_std core): primitives, RSA/EC, post-quantum (ML-KEM/ML-DSA/SLH-DSA/Falcon), X.509, sans-I/O TLS 1.2/1.3, DTLS, QUIC, C ABI and OpenSSL-style CLI
- [purecrypto-tpm](docs/rust/crypto-networking.md#purecrypto-tpm): early TPM 2.0 stack (wire protocol, HMAC sessions, seal/unseal) over the Linux device or swtpm, no tpm2-tss
- [cacrt](docs/rust/crypto-networking.md#cacrt): curated CA root certificates as static DER, no_std/no-alloc, looked up by OpenSSL subject hash
- [psl2](docs/rust/crypto-networking.md#psl2): Public Suffix List lookups (eTLD+1, cookie domains) with an allocation-free no_std core and built-in IDNA
- [dnsbox](docs/rust/crypto-networking.md#dnsbox): zero-copy no_std DNS wire-format parser/builder (~90 typed RDATA, EDNS, DNSSEC via purecrypto, TSIG/SIG(0), UPDATE, AXFR/IXFR, zone files)
- [puressh](docs/rust/crypto-networking.md#puressh): SSH client/server library and CLI suite (ssh, sftp, scp, sshd, ssh-keygen), sans-I/O core with blocking/async/tokio/mio frontends, PQ hybrid key exchange, FIDO/PKCS#11 (0.2: sshd/agent need features server,agent)
- [httpsd](docs/rust/crypto-networking.md#httpsd): sans-I/O HTTP/1.1, /2 and /3 server library and CLI with pluggable runtimes and ACME auto-certificates
- [rsurl](docs/rust/crypto-networking.md#rsurl): pure-Rust curl as library, C ABI and CLI: HTTP/1.1-3, FTP, SFTP/SCP, WebSocket and more; async API also runs in browser WASM
- [pktkit-rs](docs/rust/crypto-networking.md#pktkit-rs): zero-copy L2/L3 packet toolkit (crate `pktkit`): hubs, userspace TCP, slirp, NAT, WireGuard/OpenVPN, TUN/TAP, AF_XDP
- [spotlib-rs](docs/rust/crypto-networking.md#spotlib-rs): clients for the Spot end-to-end encrypted messaging network (crates `spotlib`, `spotproto`)
- [rsupd](docs/rust/crypto-networking.md#rsupd): signed-release publisher CLI and in-place auto-updater trusting a compiled-in Ed25519 fingerprint
## Rust: compression, encodings & data formats
- [compcol](docs/rust/data-formats.md#compcol): no_std, zero-dep, forbid-unsafe collection of 40+ compression codecs behind one streaming trait, with runtime factory, format detection, io/tokio adapters, CLI, and an allocation-free `embed` mode for microcontrollers (tiny gzip/zlib/deflate)
- [minizlib](docs/rust/data-formats.md#minizlib): DEPRECATED, superseded by compcol's `embed` feature (`compcol::embed::flate`, same API)
- [minlz-rs](docs/rust/data-formats.md#minlz-rs): S2/Snappy byte-compatible with Go klauspost/compress/s2, plus MinLZ; very fast decode
- [emjson](docs/rust/data-formats.md#emjson): no_std, no-alloc streaming JSON parser, writer and in-place editor in a few hundred bytes of RAM
- [tomlproc](docs/rust/data-formats.md#tomlproc): zero-dependency no_std+alloc TOML 1.1.0 parser/serializer with ordered tree, spans, optional serde
- [charcode](docs/rust/data-formats.md#charcode): WHATWG Encoding Standard plus DOS/EBCDIC/Mac/ISO-2022 charsets, no deps, no unsafe, iconv-style CLI
- [anydcode](docs/rust/data-formats.md#anydcode): crate `anyd`, no_std encoder/decoder for ~40 1D/2D barcode symbologies with image/video detection and WASM
- [xuid-rs](docs/rust/data-formats.md#xuid-rs): type-prefixed base32 UUIDs (UUIDv7 default), compatible with Go xuid, serde/sqlx/rusqlite support
- [hdf5rs](docs/rust/data-formats.md#hdf5rs): clean-room HDF5 reader/writer without libhdf5 (no unsafe, zero required deps; hyperslabs, compounds, chunked + compressed datasets via compcol, in-place editing)
## Rust: internationalization, time, mathematics & geometry
- [intlrs](docs/rust/i18n-math.md#intlrs): crate `intl`, no_std ICU analog: Unicode normalization, collation, segmentation, bidi, IDNA, CLDR formatting (numbers, dates, plurals, units, calendars, transliteration)
- [strtotime-rs](docs/rust/i18n-math.md#strtotime-rs): no_std, no-alloc PHP-compatible strtotime() with DST-aware IANA zones
- [timezone-data-rs](docs/rust/i18n-math.md#timezone-data-rs): embedded, pre-parsed IANA tz database: offsets, DST, transitions, POSIX rules, leap seconds
- [puremp](docs/rust/i18n-math.md#puremp): GMP/MPFR-class arbitrary precision (Int, Rational, correctly rounded Float, Decimal, polynomials, matrices, number theory) with CLI and C ABI
- [z3rs](docs/rust/i18n-math.md#z3rs): no_std port of the Z3 SMT solver (SMT-LIB 2, DIMACS, all theories), only dependency puremp, Z3-compatible CLI
- [polyclip](docs/rust/i18n-math.md#polyclip): exact integer 2D polygon geometry (booleans, offsets, arcs, distance, fracture, triangulation, incremental zone fill); deterministic Clipper2 alternative
## Rust: systems & toolchain
- [kintane](docs/rust/systems-toolchain.md#kintane): modular OS kernel from MMU-less MCUs to SMP servers, built with its own kbuild tool, Linux personality
- [purestd](docs/rust/systems-toolchain.md#purestd): zero-dependency `std` replacement for no_std programs using raw syscalls, never libc (Linux, macOS, WASI)
- [fullrust](docs/rust/systems-toolchain.md#fullrust): patched rustc (Docker image / GitHub Action) building unmodified crates into static, libc-free Linux x86-64 binaries
- [rustlibc](docs/rust/systems-toolchain.md#rustlibc): early-stage C libc written in Rust, producing librustlibc.a/.so for C programs
- [latticefoundry](docs/rust/systems-toolchain.md#latticefoundry): clean-room LLVM-like compiler back end (SSA IR, SMT-checked optimizer, x86-64 codegen, linker, JIT, C front end)
- [qld](docs/rust/systems-toolchain.md#qld): fast parallel linker (ELF for 10 arches, PE/COFF, Mach-O, Amiga Hunk) accepting GNU ld/gold/lld/mold/ld64 command lines, also usable in-process
- [rsasm](docs/rust/systems-toolchain.md#rsasm): zero-dependency multi-syntax assembler for ~20 CPU families, ELF/COFF/Mach-O/flat/Intel HEX output
- [reticle](docs/rust/systems-toolchain.md#reticle): zero-dependency Verilog/VHDL compiler: simulation, synthesis, formal, timing, FPGA bitstreams, board programming, LSP
- [univdreams](docs/rust/systems-toolchain.md#univdreams): single `univdreams` crate: decompiler/recompiler with byte-exact ELF/PE/Mach-O/NE round-trip (`ud` CLI), EVM decompile/recompile, emulator with sandboxed Win32 DLL and Linux ELF guests
- [rsemu](docs/rust/systems-toolchain.md#rsemu): deterministic multi-machine emulator driven by .machine files, 10+ CPU cores, JITs, GDB stub, WASM
- [algoc](docs/rust/systems-toolchain.md#algoc): transpiler from an algorithm DSL with endian-typed integers to JavaScript and Python
- [lode](docs/rust/systems-toolchain.md#lode): Lode programming language compiler (Rust/Zig/Go-inspired, proven arithmetic, no runtime, LatticeFoundry back end; early, x86-64 Linux only)
- [dlsym](docs/rust/systems-toolchain.md#dlsym): memory-safe dlopen/LoadLibrary with borrow-checked symbols, a library! binding macro, and dlsym-gen (C header to run-time-loaded Rust bindings)
- [dldota](docs/rust/systems-toolchain.md#dldota): load system shared libraries from static or libc-free Linux x86_64 binaries by booting the system's own ld.so (Rust crate + static C library)
## Rust: applications & engines
- [argus](docs/rust/apps-engines.md#argus): experimental Rust web browser; headless CLI dumps text, links, forms, tables, JSON-LD, accessibility tree or PNG screenshots
- [kataan](docs/rust/apps-engines.md#kataan): pure-Rust JavaScript/WASM engine (~99.99% Test262, bytecode VM + x86-64 JIT), embeddable library with host functions, C library, CLI/REPL
- [goro-rs](docs/rust/apps-engines.md#goro-rs): clean-room PHP interpreter in Rust (~94% of php-src tests pass), embeddable via goro-engine, with many goro-ext-* extensions
- [mathesis](docs/rust/apps-engines.md#mathesis): Mathematica-style browser notebook with exact math (puremp) and SMT solving (z3rs)
- [puregit](docs/rust/apps-engines.md#puregit): git library and CLI: objects, packs, refs, index, porcelain, LFS, smart protocol client and server over HTTP/SSH/git://
- [fstool](docs/rust/apps-engines.md#fstool): build, inspect, edit and convert disk/filesystem images (ext4, FAT, NTFS, XFS, APFS, ISO, SquashFS, qcow2, LUKS) without root
- [origami](docs/rust/apps-engines.md#origami): experimental physics-only protein folding CLI (CHARMM36, Langevin and replica-exchange dynamics)
- [x11anywhere](docs/rust/apps-engines.md#x11anywhere): experimental portable X11 server with Windows, macOS and nested backends
- [cterm](docs/rust/apps-engines.md#cterm): terminal emulator for AI coding tools; headless `ctermd` gRPC daemon to drive terminal sessions and read the screen
- [cadlab](docs/rust/apps-engines.md#cadlab): headless electronics CAD for programs and AI agents (one command registry as Rust API, CLI and MCP server; parts/BOM, ERC, placement, autorouter, DRC, Gerber/drill/IPC-2581/STEP)
- [guide](docs/rust/apps-engines.md#guide): deterministic place-and-route engine shared by PCBs and FPGAs (negotiated-congestion multi-net router, VTR import, KiCad-compatible clearance checks; pre-alpha, crates.io 0.0.1 core, PCB routing/placement on git)
- [ems](docs/rust/apps-engines.md#ems): clean-room FDTD electromagnetic solver replacing openEMS (drop-in `ems` CLI, runs openEMS XML, ports/S-parameters, NF2FF, SAR; HDF5 via hdf5rs; early development)
- [csx](docs/rust/apps-engines.md#csx): zero-dependency CSXCAD/openEMS-compatible geometry and material modeling (primitives, dispersive materials, meshing, XML, STL/PLY/VTK)
- [nanami](docs/rust/apps-engines.md#nanami): physically based speech and singing synthesizer (simulated vocal tract) driven by LLM-friendly NML markup; research prototype
## Rust: UI & hardware
- [noroi](docs/rust/ui-hardware.md#noroi): curses-style terminal UI with zero crates.io dependencies, no_std core, widgets, mouse, true color
- [stipple](docs/rust/ui-hardware.md#stipple): pre-alpha self-drawn cross-platform GUI toolkit (X11/Wayland/Win32/Cocoa/wasm), headless-drivable
- [ldtray](docs/rust/ui-hardware.md#ldtray): tray icon, menu and notifications loading GUI libraries at runtime, so headless hosts get an error instead of a link failure
- [rawusb](docs/rust/ui-hardware.md#rawusb): dependency-free libusb replacement (usbfs/WinUSB/IOKit), sync/async transfers, hotplug, HID/MSC/serial/UVC helpers
- [usbmagic](docs/rust/ui-hardware.md#usbmagic): library and CLI for the Cynthion USB instrument: USB 2.0 capture to pcap, FPGA flashing, USB-PD tools
- [visgrok](docs/rust/ui-hardware.md#visgrok): driver, recorder, protocol decoders (UART/SPI/I2C/SD/ISO 7816) and TUI/web UI for Sipeed SLogic logic analyzers; sigrok `.sr`/`.vcd` I/O; JSON capture queries for agents
- [scopecap](docs/rust/ui-hardware.md#scopecap): live microscope capture and multi-magnification mosaic stitching, with a pure-Rust ToupTek USB3 camera driver on rawusb (app, no license)
## Rust: AI tooling & databases
- [atelier](docs/rust/ai-tools-databases.md#atelier): terminal AI coding agent for OpenAI-compatible APIs with confined tools, MCP client, sessions, headless --print mode
- [carl](docs/rust/ai-tools-databases.md#carl): local MCP server giving agents hands (formerly manu): Google account access (Gmail, Calendar, Drive, Slides, Meet), agent-to-agent messaging, self-updating daemon
- [mcptk](docs/rust/ai-tools-databases.md#mcptk): build MCP servers in Rust over stdio, Streamable HTTP (OAuth) and WebSocket, with typed tools, tasks, Claude Code channels and MCP Apps
- [oxinfer](docs/rust/ai-tools-databases.md#oxinfer): pure-Rust local inference (Gemma/Qwen/Llama/Mistral/DeepSeek LLMs, embeddings, Stable Diffusion/FLUX/Qwen-Image editing, Whisper, Orpheus TTS); SIMD CPU with Metal/CUDA/WebGPU detected at run time; CLI, Rust API, OpenAI-compatible `oxinfer serve`
- [nixvm](docs/rust/ai-tools-databases.md#nixvm): Linux sandbox with no guest kernel (syscalls handled by its own Rust kernel); run untrusted commands without root or Docker
- [graphitesql](docs/rust/ai-tools-databases.md#graphitesql): safe, zero-dependency, no_std SQLite reimplementation, file-format compatible, FTS5, WAL, C ABI, WASM
- [pebbledb](docs/rust/ai-tools-databases.md#pebbledb): Rust port of CockroachDB's Pebble LSM key-value store, binary-compatible on disk
## Rust: blockchain & wallets
- [tsslib-rs](docs/rust/blockchain.md#tsslib-rs): crate `tsslib`, no_std threshold signatures (FROST incl. secp256k1/Taproot, DKLs23 ECDSA, threshold ML-DSA, GG18); use >=0.2.17 (signing key-leak fix) and read the DKLs23 security caveats
- [outscript-rs](docs/rust/blockchain.md#outscript-rs): crate `outscript`, no_std multi-chain addresses, scripts and tx build/sign (Bitcoin family, PSBT/Taproot, EVM, Solana, Tron, Cardano, Zcash incl. shielded, Monero, Zano)
- [ethrpc-rs](docs/rust/blockchain.md#ethrpc-rs): async EVM JSON-RPC client (Tokio or browser WASM) with ABI eth_call helpers
- [erigon-seg](docs/rust/blockchain.md#erigon-seg): read, query, write and merge Erigon 3 snapshot files
- [libwallet](docs/rust/blockchain.md#libwallet): TSS multi-chain wallet backend as C FFI/WASM library with Dart/Flutter client (non-commercial license)
- [chiefsplitter](docs/rust/blockchain.md#chiefsplitter): (now in TibaneLabs) Solana program splitting SOL/SPL fees among up to 10 recipients, with DEX auto-swap
- [zanolib](docs/rust/blockchain.md#zanolib): ARCHIVED Zano wallet library; new code should use outscript's `zano` module
- [evmabiless](docs/rust/blockchain.md#evmabiless): no_std, no-alloc recovery of an EVM contract's ABI from bytecode, plus calldata decoding
- [lsdk](docs/rust/blockchain.md#lsdk): BOLOS hardware-wallet SDK, CLI and WebHID console: offline/HSM genuine check, app/firmware management, custom-CA sideloading, EVM/PSBT/Solana signing (HW.1 support on git master)
- [btcwallet](docs/rust/blockchain.md#btcwallet): read-only CLI inspector for legacy BDB 4.8 wallet.dat files (no libdb, never prints private keys, optional online balance), git only
## Rust: media (OxideAV)
- [OxideAV architecture](docs/rust/oxideav.md#architecture): pure-Rust FFmpeg-like media framework: core types, traits and registries, ~130 codec/container/filter crates
- [oxideav CLI](docs/rust/oxideav.md#cli-oxideav): `oxideav` probe/remux/transcode/convert/run and the `oxideplay` player
- [Depending on OxideAV](docs/rust/oxideav.md#depending-on-it): oxideav-meta aggregator and individual crates (crates.io `oxideav-meta` 0.0.3 registers everything; enable the features you need)
- [Format support](docs/rust/oxideav.md#format-support): per-format decode/encode status for video, audio, image, container, subtitle and 3D (STL/OBJ/glTF/USDZ/FBX/IFC/STEP/VRML/X3D) crates, plus CPU/GPU scene renderers
- [oxideav-image](docs/rust/oxideav.md#oxideav-image-one-entry-point-for-every-registered-image-format): OxideAV image gateway: open/decode/convert/save any registered image format or sequence, raw RGB/RGBA in and out