escher-derive 0.2.0

Self-referencial structs using the async/await transformation
Documentation
  • Coverage
  • 0%
    0 out of 2 items documented0 out of 1 items with examples
  • Size
  • Source code size: 4.24 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 267.04 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 4s Average build duration of successful builds.
  • all releases: 4s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • petrosagg/escher
    43 2 2
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • petrosagg

escher

Self-referencial structs using async stacks

Escher is an extremely simple library providing a safe and sound API to build self-referencial structs. It works by (ab)using the async await trasformation of rustc. If you'd like to know more about the inner workings please take a look at the How it works section and the source code.

Compared to the state of the art escher:

  • Is only around 100 lines of well-commented code
  • Contains only two unsafe calls that are well argued for
  • Uses rustc for all the analysis. If it compiles, the self references are correct

Usage

You are looking at the escher-derive crate. You can find the full documentation in the main escher crate.