capos
Front-door SDK for capOS, a research capability operating system where every resource is a typed Cap'n Proto capability.
Depend on this single crate to write a capOS application against typed
capability clients (Console, Timer, EntropySource, VirtualMemory, and
the rest). The clients are written once and run over a Transport seam:
- The default
ringfeature provides the in-system transport. An application running inside capOS reaches the kernel through its per-process capability ring (RingTransport), re-exporting thecapos-rtruntime, the typed clients, and theentry_point!macro.no_std. - The reserved
remotefeature is for a future host-side transport that reaches a capOS instance over the remote session connection. It is not implemented yet (seedocs/backlog/capos-sdk-dual-transport.md); enabling it withoutringis a compile error.
Prefer this facade over reaching into capos-rt internals, so client code
stays transport-agnostic as the remote backend lands.
use *;
entry_point!;
Status
The remote transport is transitional and not yet shipped; the in-system
ring transport carries current behavior. The crate is published from the
capOS monorepo; the project's publication and versioning policy lives in
docs/backlog/capos-sdk-dual-transport.md.
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE)
- MIT license (LICENSE-MIT)
at your option.