Anders429 / word_filter

A Word Filter for filtering text.
Apache License 2.0
1 stars 0 forks source link

Allow specification of SeparatorFlags. #63

Closed Anders429 closed 3 years ago

Anders429 commented 3 years ago

This PR introduces SeparatorFlags in the codegen crate, allowing users to specify how separators should be applied in the generated automaton.

codecov-commenter commented 3 years ago

Codecov Report

Merging #63 (e4c4ff4) into master (0e3ce2b) will decrease coverage by 0.97%. The diff coverage is 79.74%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #63      +/-   ##
==========================================
- Coverage   85.61%   84.63%   -0.98%     
==========================================
  Files           9        9              
  Lines         695      742      +47     
==========================================
+ Hits          595      628      +33     
- Misses        100      114      +14     
Impacted Files Coverage Δ
src/censor.rs 100.00% <ø> (ø)
word_filter_codegen/src/pda.rs 84.80% <73.80%> (-3.40%) :arrow_down:
word_filter_codegen/src/lib.rs 80.39% <77.27%> (-2.41%) :arrow_down:
src/lib.rs 92.72% <100.00%> (+0.41%) :arrow_up:
tests/integration.rs 100.00% <100.00%> (ø)
word_filter_codegen/tests/trybuild.rs 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 0e3ce2b...e4c4ff4. Read the comment docs.