forked from external-repos/squoosh
Set 2021 edition
This commit is contained in:
@@ -3,6 +3,7 @@ name = "squoosh-resize"
|
||||
version = "0.1.0"
|
||||
authors = ["Surma <surma@surma.link>"]
|
||||
publish = false
|
||||
edition = "2021"
|
||||
|
||||
[lib]
|
||||
#crate-type = ["cdylib", "rlib"]
|
||||
|
||||
Binary file not shown.
@@ -1,8 +1,3 @@
|
||||
extern crate cfg_if;
|
||||
extern crate resize;
|
||||
extern crate rgb;
|
||||
extern crate wasm_bindgen;
|
||||
|
||||
mod utils;
|
||||
|
||||
use cfg_if::cfg_if;
|
||||
@@ -13,7 +8,7 @@ use wasm_bindgen::prelude::*;
|
||||
use wasm_bindgen::Clamped;
|
||||
|
||||
mod srgb;
|
||||
use srgb::{linear_to_srgb, Clamp};
|
||||
use crate::srgb::{linear_to_srgb, Clamp};
|
||||
|
||||
cfg_if! {
|
||||
// When the `wee_alloc` feature is enabled, use `wee_alloc` as the global
|
||||
|
||||
Reference in New Issue
Block a user