From 80cca7b7b275355cab0543c2fd6097dc3c1aa265 Mon Sep 17 00:00:00 2001 From: Lennart <18233294+lennart-k@users.noreply.github.com> Date: Tue, 10 Jun 2025 22:59:16 +0200 Subject: [PATCH] Adds a licenses page to list licenses of packages used Implements #65 --- Justfile | 2 + about.hbs | 70 + about.toml | 11 + crates/frontend/public/assets/licenses.html | 13170 ++++++++++++++++ .../public/templates/layouts/default.html | 3 + 5 files changed, 13256 insertions(+) create mode 100644 Justfile create mode 100644 about.hbs create mode 100644 about.toml create mode 100644 crates/frontend/public/assets/licenses.html diff --git a/Justfile b/Justfile new file mode 100644 index 0000000..75bc7f3 --- /dev/null +++ b/Justfile @@ -0,0 +1,2 @@ +licenses: + cargo about generate about.hbs > crates/frontend/public/assets/licenses.html diff --git a/about.hbs b/about.hbs new file mode 100644 index 0000000..f112293 --- /dev/null +++ b/about.hbs @@ -0,0 +1,70 @@ + + + + + + + +
+
+

Third Party Licenses

+

This page lists the licenses of packages used by RustiCal.

+
+ +

Overview of licenses:

+ + +

All license text:

+ +
+ + + diff --git a/about.toml b/about.toml new file mode 100644 index 0000000..96ab1b9 --- /dev/null +++ b/about.toml @@ -0,0 +1,11 @@ +accepted = [ + "Apache-2.0", + "MIT", + "BSD-3-Clause", + "ISC", + "Unicode-3.0", + "CDLA-Permissive-2.0", + "Zlib", + "AGPL-3.0", +] +workarounds = ["ring", "chrono", "rustls"] diff --git a/crates/frontend/public/assets/licenses.html b/crates/frontend/public/assets/licenses.html new file mode 100644 index 0000000..fc63625 --- /dev/null +++ b/crates/frontend/public/assets/licenses.html @@ -0,0 +1,13170 @@ + + + + + + + +
+
+

Third Party Licenses

+

This page lists the licenses of the projects used in cargo-about.

+
+ +

Overview of licenses:

+ + +

All license text:

+ +
+ + + + diff --git a/crates/frontend/public/templates/layouts/default.html b/crates/frontend/public/templates/layouts/default.html index 5514141..29fcb1d 100644 --- a/crates/frontend/public/templates/layouts/default.html +++ b/crates/frontend/public/templates/layouts/default.html @@ -22,4 +22,7 @@ {% block content %}

Placeholder

{% endblock %} +