Skip to main content

Crate rusticated

Crate rusticated 

Source
Expand description

Fast, standard-library-shaped async platform layer for brush-async

Re-exports§

pub use error::Error;
pub use error::Result;

Modules§

abi
Shared ABI definitions WASM host ABI definitions: Overlapped struct and host imports.
borrow
Borrow utilities (ToOwned, Cow).
boxed
Heap-allocated pointer type.
cell
Cell types (RefCell, UnsafeCell, OnceCell).
collections
Collections
env
Environment evaluation Environment variable handling
error
Errors Error types.
ffi
FFI and OS-string helpers OS string types and null-terminated C strings for #![no_std] use.
fs
File system abstractions File system utilities
future
Async/future abstractions (Future, poll_fn).
hint
CPU hints (spin_loop).
io
I/O operations I/O abstractions — owned-buffer async traits, and error types.
ops
Operator traits (Deref, DerefMut, Index, Add, …).
path
Path extensions Pure compile-target path-convention utilities.
pin
Pinned-memory utilities.
process
Process execution and management Process execution and management
ptr
Raw pointer utilities.
rc
Reference-counted single-thread pointer.
rt
Runtime engine abstraction
signal
OS signal abstractions OS signal abstractions.
string
Growable UTF-8 string type.
sync
Synchronisation primitives Synchronisation primitives for #![no_std] environments.
task
Async task types (Context, Poll, Waker).
thread
Thread-local storage key type. Thread-local storage key type.
time
Time and async sleep utilities Time handling and async sleeps.
tty
Terminal interface types TTY management — provides [Tty], [stdin], [stdout], [get_size], and [set_mode] across all platforms.
vec
Growable array type.

Macros§

thread_local
Declares one or more thread-local values, initialised lazily on first access.