chiark
/
gitweb
/
~ianmdlvl
/
otter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df0206b
)
shapelib: reformat struct nfc
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Wed, 16 Sep 2020 23:03:47 +0000
(
00:03
+0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Wed, 16 Sep 2020 23:03:47 +0000
(
00:03
+0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/shapelib.rs
patch
|
blob
|
history
diff --git
a/src/shapelib.rs
b/src/shapelib.rs
index 1a860d84d7bf2d485ff6aac1100c88498dd05249..a55f25b2a676486a08f90fd0394912708a5f3af6 100644
(file)
--- a/
src/shapelib.rs
+++ b/
src/shapelib.rs
@@
-29,13
+29,11
@@
pub struct LibraryGroupInfo {
#[derive(Debug,Deserialize)]
struct LibraryGroupSpec {
- #[serde(flatten)]
- pub info: Arc<LibraryGroupInfo>,
- #[serde(default)]
- pub stem_prefix: String,
- #[serde(default)]
- pub stem_suffix: String,
+ #[serde(default)] pub stem_prefix: String,
+ #[serde(default)] pub stem_suffix: String,
+ #[serde(default)] pub flip: bool,
pub files: FileList,
+ #[serde(flatten)] pub info: Arc<LibraryGroupInfo>,
}
#[derive(Deserialize,Debug)]