#pin #safe #lite #projection #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

#2044 in Asynchronous

Apache-2.0 OR BSL-1.0 OR MIT

8KB
148 lines

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


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.

No runtime deps