fix: make license db structs and fields public
Diff
src/data.rs | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
@@ -4,7 +4,7 @@ use serde::Deserialize;
#[derive(Debug, Deserialize)]
pub struct LicenseDatabase {
licenses: Vec<License>,
pub licenses: Vec<License>,
}
impl LicenseDatabase {
@@ -17,8 +17,8 @@ impl LicenseDatabase {
}
#[derive(Debug, Deserialize, Clone)]
struct License {
id: String,
filename: String,
description: String,
pub struct License {
pub id: String,
pub filename: String,
pub description: String,
}