7thSigil / css-color-parser-rs

Easy-to-use Rust parser for CSS3 color strings
20 stars 5 forks source link

Update code to 2018 syntax #7

Closed kornelski closed 1 year ago

kornelski commented 4 years ago

It also bumps lazy_static to current version, avoiding dupe dependencies in projects.

codecov-io commented 4 years ago

Codecov Report

Merging #7 into master will decrease coverage by 1.09%. The diff coverage is 96.15%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master       #7     +/-   ##
=========================================
- Coverage   88.32%   87.23%   -1.1%     
=========================================
  Files           4        3      -1     
  Lines         377      376      -1     
=========================================
- Hits          333      328      -5     
- Misses         44       48      +4
Impacted Files Coverage Δ
src/tests.rs 65.51% <ø> (ø) :arrow_up:
src/color/named_colors.rs 99.33% <ø> (ø) :arrow_up:
src/color/color.rs 83.83% <96.15%> (-2.4%) :arrow_down:

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 d8bbebb...2fa6960. Read the comment docs.