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 11, 2022
1 parent 08bce92 commit 52ec1d5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
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
4 changes: 3 additions & 1 deletion src/proj.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1018,7 +1018,9 @@ impl convert::TryFrom<(&str, &str)> for Proj {
}
}

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

0 comments on commit 52ec1d5

Please sign in to comment.