#projection #lite #pin #safe #macroless

no-std projections

Macro-free pin projections because why not?

2 unstable releases

0.2.0 Jun 10, 2022
0.1.0 Jun 8, 2022

#1260 in Asynchronous

Apache-2.0 OR BSL-1.0 OR MIT

8KB
148 lines

Projections

Safe structural pin projections without macros.

This like pin-project-lite but more lite.

Why

Because you want safe structural pin projections without macros for some reason.

Docs

See the docs for usage examples.


lib.rs:

Safe structural pin projections without macros.

This like pin-project-lite but more lite.

Why

Because you want safe structural pin projections without macros for some reason.

Getting Started

Here's an example of how you would create a public struct in your API that uses pin projection internally via [Sp]. This one goes out of it's way to not allocate (the allocating version is simpler).

Allocating Version

No runtime deps