diff --git a/martin-mbtiles/src/lib.rs b/martin-mbtiles/src/lib.rs index bee379278..9f6ac033d 100644 --- a/martin-mbtiles/src/lib.rs +++ b/martin-mbtiles/src/lib.rs @@ -9,4 +9,4 @@ mod tile_copier; pub use errors::MbtError; pub use mbtiles::{Mbtiles, Metadata}; pub use mbtiles_pool::MbtilesPool; -pub use tile_copier::{copy_mbtiles_file, TileCopierOptions}; +pub use tile_copier::{copy_mbtiles_file, CopyDuplicateMode, TileCopierOptions}; diff --git a/martin-mbtiles/src/tile_copier.rs b/martin-mbtiles/src/tile_copier.rs index 14b7ed462..59441cea0 100644 --- a/martin-mbtiles/src/tile_copier.rs +++ b/martin-mbtiles/src/tile_copier.rs @@ -14,7 +14,7 @@ use crate::{MbtError, Mbtiles}; #[derive(PartialEq, Eq, Default, Debug, Clone)] #[cfg_attr(feature = "cli", derive(ValueEnum))] -enum CopyDuplicateMode { +pub enum CopyDuplicateMode { #[default] Override, Ignore,