Crates.io | aoutils |
lib.rs | aoutils |
version | 0.1.1 |
source | src |
created_at | 2021-10-17 22:57:23.058754 |
updated_at | 2021-10-23 21:36:21.235006 |
description | A tiny utilities package to test publishing to crates.io |
homepage | https://github.com/Andrew-OHara/aoutils |
repository | https://github.com/Andrew-OHara/aoutils |
max_upload_size | |
id | 466455 |
size | 3,989 |
A tiny utility library I published in order to learn to publish and use myown crates. As I learn more Rust, I may add more functions until this becomes an actual useful utility.
0.1.1
use aoutils;
fn main() {
let result = aoutils::ensure_newline("alpha");
assert_eq!(result, "alpha\n");
let result = aoutils::is_alphabetic("alpha");
assert_eq!(result, true);
}