From 8f2e2264df72bad622a7fba7eeca4d031abb5e00 Mon Sep 17 00:00:00 2001 From: holly sparkles Date: Mon, 2 Oct 2023 20:02:26 +0200 Subject: [PATCH] fix: make license db structs and fields public --- src/data.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/data.rs b/src/data.rs index 4e1fdcc..2d8fe1c 100644 --- a/src/data.rs +++ b/src/data.rs @@ -4,7 +4,7 @@ use serde::Deserialize; #[derive(Debug, Deserialize)] pub struct LicenseDatabase { - licenses: Vec, + pub licenses: Vec, } 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, } -- libgit2 1.7.2