Crates.io | stacker |
lib.rs | stacker |
version | 0.1.17 |
source | src |
created_at | 2015-07-15 07:14:55.8883 |
updated_at | 2024-08-27 09:01:09.171331 |
description | A stack growth library useful when implementing deeply recursive algorithms that may accidentally blow the stack. |
homepage | https://github.com/rust-lang/stacker |
repository | https://github.com/rust-lang/stacker |
max_upload_size | |
id | 2608 |
size | 50,802 |
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"
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.
This project is licensed under either of
at your option.
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.