Skip to content

SDK

The SDK rustdoc is published as static HTML under /sdk/<crate>/. It is generated by cargo doc --no-deps and uploaded on each release; this page is the index plus a short description of each crate.

The rustdoc is the authoritative source for type and method shapes. The narrative pages under Concepts and Cookbook link in for specific use cases.

Crates

Core data + control

  • grafos-std — typed access to fabric memory, block, GPU, and CPU resources.
  • grafos-collectionsFabricVec, FabricHashMap, FabricQueue, Durable.
  • grafos-sync — distributed atomics and lease-backed primitives.
  • grafos-kv — hot/cold tiered KV: DRAM via FabricHashMap, spills to block.
  • grafos-cache — elastic sharded maps and TTL object caches.
  • grafos-tensor — tensor operations on leased fabric memory.

Streams + RPC + tasks

  • grafos-stream — Source / Transform / Sink / Fold pipeline stages.
  • grafos-rpc — lease-backed RPC via shared-memory FBMU. #[grafos_rpc::service] macro.
  • grafos-batch — DAG-structured batch jobs.
  • grafos-dsp — FFT / FIR / IIR / mixer / resample with deterministic latency.
  • grafos-pipeline — relocatable stage edges with generation-tracked handoff.
  • grafos-mq — partitioned topics, consumer groups, dead-letter routing.
  • grafos-jobs — idempotent burst compute and retry scaffolding.

Network + storage

  • grafos-net — sockets, listeners, DNS on leased fabric interfaces.
  • grafos-fs — distributed filesystem on leased block storage.
  • grafos-storeMemObjectStore, BlockObjectStore, TieredObjectStore. CRC32 by default.

Discovery + identity + time

Observability + profiling

  • grafos-observe — metrics, events, distributed tracing, structured logging. #[grafos::instrument] macro.
  • grafos-profile — flame graphs, lease timelines, data-flow diagrams, waste reports.

The /sdk/<crate>/ pages above 404 until Phase 212.e lands. See the cookbook for working examples in the meantime.