Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix/lib: Fix a private-in-public error #24

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/image/mod.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use std::path::Path;
use image_lib::{DynamicImage, ImageBuffer, open, load_from_memory};
use image_crate::{DynamicImage, ImageBuffer, open, load_from_memory};
use {Set, Transformer};
use transformer::TransformerError;
pub use self::modifiers::*;
Expand Down
2 changes: 1 addition & 1 deletion src/image/modifiers.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use modifier::Modifier;
use image_lib::FilterType;
use image_crate::FilterType;
use super::Image;

#[derive(Debug, Clone, Copy)]
Expand Down
6 changes: 2 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,16 @@
unsafe_code, unused_import_braces, unused_qualifications)]

extern crate collenchyma as co;
extern crate image as image_lib;
extern crate murmurhash3 as murmur3;
/// Re-export image crate.
pub extern crate image as image_crate;

pub use image::Image;
pub use word::Word;
pub use transformer::Transformer;

pub use modifier::Set;

/// Re-export image crate.
pub use image_lib as image_crate;

/// Transformer
pub mod transformer;
/// The Image Struct and its Modifiers
Expand Down