We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 918e0b5 commit cf749deCopy full SHA for cf749de
app/components/crate-sidebar.hbs
@@ -22,7 +22,13 @@
22
{{svg-jar "rust"}}
23
<span>
24
v{{@version.msrv}}
25
- <EmberTooltip @text="Minimum Supported Rust Version" />
+
26
+ <EmberTooltip>
27
+ "Minimum Supported Rust Version"
28
+ {{#if @version.edition}}
29
+ <div local-class="edition">requires Rust Edition {{@version.edition}}</div>
30
+ {{/if}}
31
+ </EmberTooltip>
32
</span>
33
</div>
34
{{/if}}
app/components/crate-sidebar.module.css
@@ -40,6 +40,10 @@
40
}
41
42
43
+.edition {
44
+ margin-top: var(--space-2xs);
45
+}
46
47
.license {
48
a {
49
color: var(--main-color);
0 commit comments