ocaps is a library for working with object capabilities in Scala.
- Revoker / Revocable classes for revoking capabilities.
- Brand for sealing and unsealing capabilities
- RevocableMembrane for revocation as an effect.
- Macros for composition, attenuation, revocable and modulating capabilities.
- No libraries dependencies (other than
Documentation can be found at https://wsargent.github.io/ocaps/
Examples can be found at https://wsargent.github.io/ocaps/examples/
A guide to object capabilities can be found at https://wsargent.github.io/ocaps/guide/