2 releases
0.1.1 | Oct 23, 2021 |
---|---|
0.1.0 | Oct 17, 2021 |
#62 in #learn
Used in keynotes
4KB
aoutils
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.
version
0.1.1
usage
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);
}
License
lib.rs
:
aoutils is a tiny library I created and published simply to learn how to publish and use my own crates As I learn Rust, I may add more useful functions and this may become an actual useful library.
- Examples
fn main() {
let result = aoutils::ensure_newline("alpha");
assert_eq!(result, "alpha\n");
let result = aoutils::is_alphabetic("alpha");
assert_eq!(result, true);
}