Skip to content

Commit

Permalink
Fix; Make CopyDuplicateMode public so to be used from lib
Browse files Browse the repository at this point in the history
  • Loading branch information
rstanciu committed Jul 21, 2023
1 parent 15fd499 commit b3a2cce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion martin-mbtiles/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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};
2 changes: 1 addition & 1 deletion martin-mbtiles/src/tile_copier.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit b3a2cce

Please sign in to comment.