summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am10
-rw-r--r--src/thumbnail.rs2
2 files changed, 10 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index a1d585f..099d7d0 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -11,10 +11,18 @@ webdist: dox
EXTRA_DIST = MPL-2.0 \
RELEASE_NOTES \
build-aux/cargo-vendor.sh \
- $(RUST_FILES)
+ $(RUST_FILES) \
+ $(TESTDATA_FILES)
CLEANFILES = $(CARGO_TARGET_DIR)/CACHEDIR.TAG $(BUILT_SOURCES)
+TESTDATA_FILES = \
+ testdata/identify/content_cr2 \
+ testdata/identify/content_cr3 \
+ testdata/identify/content_crw \
+ testdata/identify/content_mrw \
+ testdata/identify/content_raf
+
RUST_FILES = Cargo.lock \
Cargo.toml \
benches/the_benchmark.rs \
diff --git a/src/thumbnail.rs b/src/thumbnail.rs
index dc239c9..db4f895 100644
--- a/src/thumbnail.rs
+++ b/src/thumbnail.rs
@@ -104,7 +104,7 @@ impl Thumbnail {
}
/// New thumbnail with data.
- pub(crate) fn with_data(
+ pub fn with_data(
width: u32,
height: u32,
data_type: DataType,