summaryrefslogtreecommitdiff
path: root/tools/external_crates/crate_health/src/templates/migration_report.html.template
blob: 02bae1489dd2800e0f1e595c9ec1e9d28813cf43 (plain)
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
49
50
51
52
53
<html>
<head>
<title>Crate health</title>
<style>
table, th, td \{
  border: 1px solid black;
  border-collapse: collapse;
  padding: 3px;
}
td \{
  vertical-align: top;
}
.vertical \{
  writing-mode: vertical-lr;
}
</style>
</head>
<body>

<h1>Migratable crates</h1>
<p>Crates that can be safely migrated:
<ul>
<li>migration-eligible as defined below</li>
<li>Has a vendored crate with a compatible version</li>
<li>Patches apply successfully</li>
<li>cargo_embargo succeeds on the vendored version.</li>
<li>No significant diffs in the resulting Android.bp</li>
</ul>
</p>
{migratable | unescaped}

<h1>Migration-eligible crates</h1>
<p>Crates that are eligible for migration, but can't yet be migrated:
<ul>
<li>It is in crates.io</li>
<li>It is not denylisted</li>
<li>It has an Android.bp</li>
<li>It has a cargo_embargo.json</li>
</ul>
</p>
{eligible | unescaped}

<h1>Ineligible crates</h1>
<p>Crates that are not eligible for migration</p>
</p>
{ineligible | unescaped}

<h1>Superfluous vendored crates</h1>
<p>Vendored crates that we don't know anything about</p>
{superfluous | unescaped}

</body>
</html>