rustack 0.1.0

A stack implementation in Rust.
Documentation
  • Coverage
  • 0%
    0 out of 8 items documented0 out of 7 items with examples
  • Size
  • Source code size: 2.89 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 284.03 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 9s Average build duration of successful builds.
  • all releases: 9s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • guymarshall/rustack
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • guymarshall

Rustack

Rustack is a simple stack implementation in Rust.

Installation

Add this to your Cargo.toml:

[dependencies]
rustack = "0.1"

Usage

Here's a simple example of how to use rustack:

use rustack::Stack;

fn main() {
    let mut stack = Stack::new();
    stack.push(42);
    println!("{:?}", stack.pop()); // Some(42)
}

Contributing

Feel free to open issues or submit pull requests if you have any improvements or suggestions.