From e12ff8f8a105d20c985994e453544c10333ad051 Mon Sep 17 00:00:00 2001 From: trivernis Date: Fri, 4 Sep 2020 18:13:29 +0200 Subject: [PATCH] Fix InCollection fields being private Signed-off-by: trivernis --- Cargo.toml | 2 +- src/bibliography/bib_types/in_collection.rs | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index af58af0..23d4af1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "bibliographix" description = "A bibliography management crate." -version = "0.3.0" +version = "0.3.1" authors = ["trivernis "] edition = "2018" license = "Apache-2.0" diff --git a/src/bibliography/bib_types/in_collection.rs b/src/bibliography/bib_types/in_collection.rs index db3c8ee..940f2d3 100644 --- a/src/bibliography/bib_types/in_collection.rs +++ b/src/bibliography/bib_types/in_collection.rs @@ -10,16 +10,16 @@ use std::collections::HashMap; /// A source that is in a collection #[derive(Clone, Debug)] pub struct InCollection { - author: String, - title: String, - publisher: String, - date: LocalDate, - editor: Option, - volume: Option, - series: Option, - position: Option, - address: Option, - edition: Option, + pub author: String, + pub title: String, + pub publisher: String, + pub date: LocalDate, + pub editor: Option, + pub volume: Option, + pub series: Option, + pub position: Option, + pub address: Option, + pub edition: Option, } impl InCollection {