dothyphen

Crates.iodothyphen
lib.rsdothyphen
version1.0.0
sourcesrc
created_at2023-02-26 20:06:07.491735
updated_at2023-10-08 11:31:14.331018
descriptionA simple ASCII to Morse and vice versa translator.
homepagehttps://github.com/isfegu/samuel/dothyphen
repositoryhttps://github.com/isfegu/samuel
max_upload_size
id795434
size12,286
isfegu (isfegu)

documentation

README

DotHyphen

A basic ASCII to Morse and vice versa translator.

Usage

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

Contributing

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.

Commit count: 82

cargo fmt