Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tfpk/lifetimekata
An exploration of lifetimes in Rust.
https://github.com/tfpk/lifetimekata
lifetimes rust
Last synced: 2 days ago
JSON representation
An exploration of lifetimes in Rust.
- Host: GitHub
- URL: https://github.com/tfpk/lifetimekata
- Owner: tfpk
- License: apache-2.0
- Created: 2023-01-06T05:33:02.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-25T15:13:54.000Z (5 months ago)
- Last Synced: 2024-11-07T17:54:09.671Z (9 days ago)
- Topics: lifetimes, rust
- Language: Rust
- Homepage: https://tfpk.github.io/lifetimekata
- Size: 1.17 MB
- Stars: 265
- Watchers: 7
- Forks: 57
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# LifetimeKata
Welcome to LifetimeKata, a set of exercises which you can use to improve your
understanding of lifetimes in Rust. While many tasks involve writing compiling
code, some will also involve creating specific errors.You should complete the kata in order, as they increase in
difficulty, and depend on previous kata.## Getting Started
Clone this repository:
``` sh
$ git clone https://www.github.com/tfpk/lifetimekata/
```Most exercises are run in two steps:
``` sh
$ cargo build --package ex04
```And then either:
``` sh
$ cargo test --package ex04
```or:
``` sh
$ cargo run --package ex04
```depending on whether it's a binary or a library.