Expand description
A development substrate of coherence.
devela is a general-purpose Rust library built from small, reusable abstractions.
It provides foundations without assuming more than a problem needs. Allocation, runtime choice, platform support, and other capabilities are added explicitly, while simpler forms remain useful on their own.
Common abstractions are shared across domains rather than repeated for each particular use. The modules below organize the library by the kinds of problems they address.
Modules§
- _doc
doc - Extra documentation about the library.
_doc::{design, practice, reference} - all
- All crate items re-exported in a single flat namespace.
- all_
- All crate items re-exported, grouped by their root modules.
- code
- Code structure, semantics, and foundational utilities.
code::{any, convert, hint, init, marker, ops, panic, result, source, util} ◉ - data
- Structural abstractions for organizing and manipulating data.
data::{access, codec, history, id, layout, store, topol, value, word} ◉ - error
- Failure types, result aliases, and recovery semantics
error::{data, num, text} ◉ - geom
- Geometric types, operations, and spatial constructs.
geom::{affine, dir, fig, metric, space} ◉ - lang
- Language structure and meaning across domains.
lang::{prog, sem} ◉ - media
- Media formats, representation, and synthesis
media::{audio, font, visual} ◉ - num
- Numeric abstractions and formal computation.
num::{alg, dom, fin, grain, prob, quant, signal} ◉ - phys
- Physical quantities, units, and models of the natural world.
phys::{time, unit, wave} ◉ - run
- Temporal coordination and staging of a running system.
run::{app, cycle, regime, time} ◉ - sys
- System interfaces and hardware abstractions.
sys::{arch, device, env, fs, io, log, mem, net, os, service} ◉ - text
- Symbolic sequences, encodings, and text processing.
text::{ascii, fmt, layout, parse, str, unicode} ◉ - ui
- Interactive surfaces, input semantics, and presentation state.
ui::{event, frame, layout, route, semantic, text, view, widget} ◉ - work
- Computational work, its coordination, and its execution.
work::{exec, future, sync, task} ◉
Macros§
- arena
- 🏗️ 🗃️ Defines an owning typed arena with static or allocating storage.
- const_
assert - 💯 Asserts various comparisons on constants.
- handle
- 🏗️ Defines a compact handle from arbitrary numeric components.
- pool
- 🏗️ 🗃️ Defines an owning generational pool with static or allocating storage.
- unwrap
- ⚖️ An unwrapper macro that works in compile-time.
Structs§
- Byte
Cursor - 🪪 ::=
A byte-position cursor over storage
S.