Skip to content

Commit d7660df

Browse files
committed
Make PmtError non_exhaustive and bump version
1 parent 810d087 commit d7660df

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pmtiles"
3-
version = "0.11.0"
3+
version = "0.12.0"
44
edition = "2021"
55
authors = ["Luke Seelenbinder <[email protected]>"]
66
license = "MIT OR Apache-2.0"

src/error.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ pub type PmtResult<T> = Result<T, PmtError>;
99

1010
/// Errors that can occur while reading `PMTiles` files.
1111
#[derive(Debug, Error)]
12+
#[non_exhaustive]
1213
pub enum PmtError {
1314
#[error("Invalid magic number")]
1415
InvalidMagicNumber,

0 commit comments

Comments
 (0)