Ogeon / palette

A Rust library for linear color calculations and conversion
Apache License 2.0
748 stars 60 forks source link

Update `syn` and dev dependencies #307

Closed Ogeon closed 1 year ago

Ogeon commented 1 year ago

Update syn and a few dev dependencies. clap and image require newer Rust versions than 1.60 so they will have to wait for a later time.

github-actions[bot] commented 1 year ago

Benchmark for fbcebf4

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | Cie family/lab to lch | 3.2±0.06µs | 3.2±0.07µs | 0.00% | | Cie family/lab to xyz | 761.7±8.84ns | 761.7±13.65ns | 0.00% | | Cie family/lch to lab | 3.1±0.06µs | **2.4±0.03µs** | **-22.58%** | | Cie family/linsrgb to xyz | 4.2±0.04µs | 4.2±0.07µs | 0.00% | | Cie family/linsrgb to xyz - wide::f32x8 | 764.6±12.06ns | **750.7±11.48ns** | **-1.82%** | | Cie family/xyz to lab | 18.0±0.44µs | 18.0±0.26µs | 0.00% | | Cie family/xyz to yxy | 634.2±47.02ns | 634.6±7.71ns | +0.06% | | Cie family/yxy to xyz | **546.9±8.07ns** | 698.3±11.12ns | **+27.68%** | | Matrix functions/matrix_inverse | 10.7±0.20ns | 10.7±0.18ns | 0.00% | | Matrix functions/multiply_3x3 | 9.6±0.12ns | 9.7±0.20ns | +1.04% | | Matrix functions/multiply_rgb_to_xyz | 6.0±0.12ns | 6.0±0.08ns | 0.00% | | Matrix functions/multiply_xyz | 6.0±0.09ns | 6.0±0.08ns | 0.00% | | Matrix functions/multiply_xyz_to_rgb | 6.0±0.08ns | 6.0±0.10ns | 0.00% | | Matrix functions/rgb_to_xyz_matrix | 24.9±0.39ns | 24.9±0.57ns | 0.00% | | Rgb family/hsl to hsv | 649.7±7.53ns | 653.2±12.23ns | +0.54% | | Rgb family/hsl to linear hsl | 13.8±0.45µs | **13.2±0.21µs** | **-4.35%** | | Rgb family/hsl to rgb | 2.1±0.03µs | 2.1±0.02µs | 0.00% | | Rgb family/hsv to hsl | 821.6±12.85ns | 819.1±11.73ns | -0.30% | | Rgb family/hsv to hwb | 234.0±4.85ns | 232.9±3.63ns | -0.47% | | Rgb family/hsv to linear hsv | **11.8±0.20µs** | 12.6±0.17µs | **+6.78%** | | Rgb family/hsv to rgb | 1922.4±41.48ns | 1910.9±32.37ns | -0.60% | | Rgb family/hwb to hsv | 478.2±6.53ns | 478.5±6.91ns | +0.06% | | Rgb family/hwb to linear hwb | **12.3±0.17µs** | 13.3±0.27µs | **+8.13%** | | Rgb family/linear hsl to hsl | 11.9±0.35µs | **11.6±0.20µs** | **-2.52%** | | Rgb family/linear hsv to hsv | 10.7±0.24µs | 10.7±0.14µs | 0.00% | | Rgb family/linear hwb to hwb | 11.5±0.19µs | 11.6±0.16µs | +0.87% | | Rgb family/linsrgb to rgb | **5.9±0.10µs** | 6.4±0.17µs | **+8.47%** | | Rgb family/linsrgb to rgb - wide::f32x8 | **5.2±0.14µs** | 5.3±0.08µs | **+1.92%** | | Rgb family/linsrgb_f32 to rgb_u8 | **961.9±13.93ns** | 999.0±11.02ns | **+3.86%** | | Rgb family/linsrgb_f64 to rgb_u8 | 1218.8±17.38ns | 1218.1±14.61ns | -0.06% | | Rgb family/rgb to hsl | 851.9±10.66ns | 849.2±19.63ns | -0.32% | | Rgb family/rgb to hsl - wide::f32x8 | 470.1±5.85ns | 472.0±9.61ns | +0.40% | | Rgb family/rgb to hsv | 514.9±9.65ns | 512.7±10.76ns | -0.43% | | Rgb family/rgb to hsv - wide::f32x8 | 426.9±5.19ns | 427.8±7.05ns | +0.21% | | Rgb family/rgb to linsrgb | **8.3±0.12µs** | 8.9±0.11µs | **+7.23%** | | Rgb family/rgb to linsrgb - wide::f32x8 | 3.4±0.05µs | 3.4±0.05µs | 0.00% | | Rgb family/rgb_u8 to linsrgb_f32 | 307.1±6.60ns | 303.6±4.66ns | -1.14% | | Rgb family/rgb_u8 to linsrgb_f64 | 308.4±4.88ns | 308.3±4.67ns | -0.03% | | Rgb family/xyz to linsrgb | 7.0±0.15µs | **6.9±0.09µs** | **-1.43%** | | Rgb family/xyz to linsrgb - wide::f32x8 | 1117.3±17.03ns | **1074.7±12.64ns** | **-3.81%** |
Ogeon commented 1 year ago

bors r+

bors[bot] commented 1 year ago

Build succeeded: