-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathabout.hbs
More file actions
48 lines (46 loc) · 1.54 KB
/
Copy pathabout.hbs
File metadata and controls
48 lines (46 loc) · 1.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Third-party licenses</title>
<style>
body { font-family: system-ui, -apple-system, sans-serif; max-width: 900px; margin: 2rem auto; padding: 0 1rem; line-height: 1.5; }
h1 { border-bottom: 2px solid #ddd; padding-bottom: .3rem; }
.intro { color: #444; }
.license { border-top: 1px solid #eee; margin-top: 2rem; padding-top: 1rem; }
.used-by { columns: 2; font-size: .9rem; }
.used-by a { text-decoration: none; }
pre { background: #f6f8fa; padding: 1rem; overflow-x: auto; white-space: pre-wrap; font-size: .8rem; }
.overview li { margin: .15rem 0; }
</style>
</head>
<body>
<h1>Third-party licenses</h1>
<p class="intro">
This product bundles the following third-party Rust crates. Each is
distributed under the license shown; the full license texts follow.
</p>
<h2>Overview</h2>
<ul class="overview">
{{#each overview}}
<li><a href="#{{id}}">{{name}}</a>: {{count}} crate{{#if (gt count 1)}}s{{/if}}</li>
{{/each}}
</ul>
{{#each licenses}}
<div class="license">
<h2 id="{{id}}">{{name}}</h2>
<p>Used by:</p>
<ul class="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>{{text}}</pre>
</div>
{{/each}}
</body>
</html>