Skip to content

Commit

Permalink
Make PjInfo struct public
Browse files Browse the repository at this point in the history
  • Loading branch information
urschrei committed Jun 10, 2022
1 parent 08bce92 commit 3d2f0ca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Changes

## Unreleased
- Make `PjInfo` struct public
- <https://github.com/georust/proj/pull/133>
- Actually return an error if a definition can't be retrieved
- <https://github.com/georust/proj/pull/132>

Expand Down
2 changes: 2 additions & 0 deletions src/proj.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1018,6 +1018,8 @@ impl convert::TryFrom<(&str, &str)> for Proj {
}
}

/// Info about the current PROJ definition
#[derive(Copy, Clone, Debug)]
struct PjInfo {
id: Option<String>,
description: Option<String>,
Expand Down

0 comments on commit 3d2f0ca

Please sign in to comment.