Crates.io | futility |
lib.rs | futility |
version | 0.1.1 |
source | src |
created_at | 2022-01-17 04:15:16.460641 |
updated_at | 2022-02-22 20:23:53.982046 |
description | Functional Utility types, macros, and functions for common tasks or needs in Rust |
homepage | https://github.com/mgattozzi/futility |
repository | https://github.com/mgattozzi/futility |
max_upload_size | |
id | 515268 |
size | 53,053 |
Functional Utility types, macros, and functions for common tasks or needs in Rust
I often have found that I have to keep writing similar logic or types or traits
when using Rust through the years and rather than keep rewriting them I'd like
to just collect them all into one crate to reuse. futility
is that crate.
Given this is a grab bag of functions and types you can either peruse the documentation or look at the examples provided or the tests to have an understanding of what's possible. Currently these modules exist:
termination
: types and functions associated with exiting a programThese macros currently exist:
try_
: a macro to use try/catch
blocks in Rust until they're actually
implemented in the languageSome of these items are implemented in subcrates like the try_
proc-macro.
Their versions are tied to the top level fuitlity
crate which itself follows
semver.
Copyright (C) 2022 Michael Gattozzi
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.