Files
isspam/12bitfloat_rust/risspam/Cargo.toml
T
retoor 524ef8343c feat: refactor sentence and word analysis to use counts instead of collections
Rewrite `get_sentences` to return a `usize` count instead of `Vec<&str>`, removing the trailing-dot cleanup logic. Replace `get_words` and `get_capitalized_words` with a single `get_words` function that mutates output counters for total words, capitalized words, and forbidden words, iterating directly over the content. Add release profile optimizations with thin LTO and abort-on-panic in Cargo.toml.
2024-12-01 22:23:32 +00:00

12 lines
143 B
TOML

[package]
name = "risspam"
version = "0.1.0"
edition = "2021"
[dependencies]
rayon = "1.10.0"
[profile.release]
lto = "thin"
panic = "abort"