Crates.io | dothyphen |
lib.rs | dothyphen |
version | 1.0.0 |
source | src |
created_at | 2023-02-26 20:06:07.491735 |
updated_at | 2023-10-08 11:31:14.331018 |
description | A simple ASCII to Morse and vice versa translator. |
homepage | https://github.com/isfegu/samuel/dothyphen |
repository | https://github.com/isfegu/samuel |
max_upload_size | |
id | 795434 |
size | 12,286 |
A basic ASCII to Morse and vice versa translator.
use dothyphen::*;
let morse_string = translate::to_morse("Hello World");
println!("{}", morse_string); // Should print: .... . .-.. .-.. --- / .-- --- .-. .-.. -..
let ascii_string = translate::to_morse(".... . .-.. .-.. --- / .-- --- .-. .-.. -..");
println!("{}", ascii_string); // Should print: Hello World
DotHyphen is a part of Samuel, a project focused on learning how to use Rust to build a crate that can be used from other languages and multiple environments.
Please read the contributing guidelines and the contributing documentation to contribute to DotHyphen.
Moreover, you can use the Samuel Github Discussions.
All help will be appreciated.