3 releases (stable)
1.0.1 | Apr 6, 2024 |
---|---|
0.1.0 | Apr 5, 2024 |
#21 in #morse
Used in megamorse
4KB
megamorse_proc_macro
This crate provides a procedural macro that generates a Morse code representation of a given string literal. Do not use this crate directly, use the Megamorse crate instead.
lib.rs
:
This crate contains the procedural macro that is used to convert a string of morse code into a sequence of MorseWords.
Examples
let words = morse!(... ___ ...);
for word in words.into_iter() {
player.play_word(word).unwrap();
}