count_tts

Crates.iocount_tts
lib.rscount_tts
version0.2.0
sourcesrc
created_at2020-10-26 19:36:35.70633
updated_at2020-10-27 15:15:02.263515
descriptionA simple macro for counting tokens.
homepage
repositoryhttps://github.com/camsteffen/count-tts
max_upload_size
id305719
size4,303
Cameron Steffen (camsteffen)

documentation

https://docs.rs/count_tts

README

Count Token Trees Macro for Rust

crates.io Docs License

A simple macro for counting tokens.

use count_tts::count_tts;

assert_eq!(
    count_tts!(1 2 3 4 5 6 7),
    7
);
Commit count: 5

cargo fmt