Sunbeam Studios

Our open-source projects, here for you!

stacker (0.1.23)

Published 2026-03-26 11:03:59 +00:00 by siennathesane

Installation

[registry]
default = "gitea"

[registries.gitea]
index = "sparse+" # Sparse index
# index = "" # Git

[net]
git-fetch-with-cli = true
cargo add stacker@0.1.23

About this package

A stack growth library useful when implementing deeply recursive algorithms that may accidentally blow the stack.

stacker

Build Status

Documentation

A stack-growth library for Rust. Enables annotating fixed points in programs where the stack may want to grow larger. Spills over to the heap if the stack has hit its limit.

This library is intended on helping implement recursive algorithms.

# Cargo.toml
[dependencies]
stacker = "0.1"

Platform Support

This library currently uses psm for its cross platform capabilities, with a notable exception of Windows, which uses an implementation based on Fibers. See the README for psm for the support table.

On all unsupported platforms this library is a noop. It should compile and run, but it won't actually grow the stack and code will continue to hit the guard pages typically in place.

License

This project is licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

ID Version
cfg-if ^1.0.0
libc ^0.2.156
psm ^0.1.7
cc ^1.2.33
windows-sys >=0.59.0, <0.60.0
windows-sys >=0.52.0, <0.60.0
Details
Cargo
2026-03-26 11:03:59 +00:00
0
Alex Crichton <alex@alexcrichton.com>
Simonas Kazlauskas <stacker@kazlauskas.me>
MIT OR Apache-2.0
15 KiB
Assets (1)
Versions (1) View all
0.1.23 2026-03-26