remove unused imports; bump
This commit is contained in:
parent
0780bc8267
commit
37cde1713d
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "pixsy"
|
||||
version = "0.72.3"
|
||||
version = "0.72.4"
|
||||
description = "convert images to Bitsy rooms"
|
||||
authors = ["Max Bradbury <max@tinybird.info>"]
|
||||
edition = "2018"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
use image::{Luma, Rgba};
|
||||
use image::Rgba;
|
||||
|
||||
#[derive(Clone, Copy)]
|
||||
pub struct ColourMap {
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
use bitsy_parser::game::Game;
|
||||
use bitsy_parser::image::Image;
|
||||
use bitsy_parser::tile::Tile;
|
||||
use image::{GenericImageView, Pixel, DynamicImage, GenericImage, ImageBuffer};
|
||||
use image::{GenericImageView, Pixel, DynamicImage};
|
||||
use lazy_static::lazy_static;
|
||||
use std::sync::Mutex;
|
||||
use wasm_bindgen::prelude::*;
|
||||
|
@ -11,7 +11,6 @@ use wasm_bindgen::prelude::*;
|
|||
mod colour_map;
|
||||
|
||||
use colour_map::ColourMap;
|
||||
use image::imageops::FilterType::CatmullRom;
|
||||
|
||||
const SD: u32 = 8;
|
||||
|
||||
|
@ -261,7 +260,6 @@ pub fn output() -> String {
|
|||
#[cfg(test)]
|
||||
mod test {
|
||||
use crate::{add_room, load_image, load_default_game, output, get_preview};
|
||||
use image::Rgba;
|
||||
|
||||
#[test]
|
||||
fn image_to_base64() {
|
||||
|
|
Loading…
Reference in New Issue