summaryrefslogtreecommitdiff
path: root/about.hbs
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2025-02-13 13:26:44 -0500
committerMason Reed <35282038+emesare@users.noreply.github.com>2025-02-13 13:59:09 -0500
commitb366ebd28bcb44492719b487f9dd34b6da56d23f (patch)
tree1d911a5aceb38db38a09bd90bc528f859647d432 /about.hbs
parent5365728462076834832090072788972585260876 (diff)
Add licensing check for Rust code
If we add new rust dependencies we should now be alerted when a new license type is added.
Diffstat (limited to 'about.hbs')
-rw-r--r--about.hbs70
1 files changed, 70 insertions, 0 deletions
diff --git a/about.hbs b/about.hbs
new file mode 100644
index 00000000..9091a2a7
--- /dev/null
+++ b/about.hbs
@@ -0,0 +1,70 @@
+<html>
+
+<head>
+ <style>
+ @media (prefers-color-scheme: dark) {
+ body {
+ background: #333;
+ color: white;
+ }
+ a {
+ color: skyblue;
+ }
+ }
+ .container {
+ font-family: sans-serif;
+ max-width: 800px;
+ margin: 0 auto;
+ }
+ .intro {
+ text-align: center;
+ }
+ .licenses-list {
+ list-style-type: none;
+ margin: 0;
+ padding: 0;
+ }
+ .license-used-by {
+ margin-top: -10px;
+ }
+ .license-text {
+ max-height: 200px;
+ overflow-y: scroll;
+ white-space: pre-wrap;
+ }
+ </style>
+</head>
+
+<body>
+<main class="container">
+ <div class="intro">
+ <h1>Third Party Licenses</h1>
+ <p>This page lists the licenses of the **rust** projects used in binaryninja-api.</p>
+ </div>
+
+ <h2>Overview of licenses:</h2>
+ <ul class="licenses-overview">
+ {{#each overview}}
+ <li><a href="#{{id}}">{{name}}</a> ({{count}})</li>
+ {{/each}}
+ </ul>
+
+ <h2>All license text:</h2>
+ <ul class="licenses-list">
+ {{#each licenses}}
+ <li class="license">
+ <h3 id="{{id}}">{{name}}</h3>
+ <h4>Used by:</h4>
+ <ul class="license-used-by">
+ {{#each used_by}}
+ <li><a href="{{#if crate.repository}} {{crate.repository}} {{else}} https://crates.io/crates/{{crate.name}} {{/if}}">{{crate.name}} {{crate.version}}</a></li>
+ {{/each}}
+ </ul>
+ <pre class="license-text">{{text}}</pre>
+ </li>
+ {{/each}}
+ </ul>
+</main>
+</body>
+
+</html> \ No newline at end of file