Skip to content

Show which dependencies are optional on the crate page #285

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 14, 2016

Conversation

bluss
Copy link
Member

@bluss bluss commented Mar 13, 2016

Same idea & style as the yanked marker (but not red).

Fixes #233

@bluss
Copy link
Member Author

bluss commented Mar 13, 2016

I'm failing to install & run ember, I have no idea how any of this works. So this is so far entirely untested!

@alexcrichton
Copy link
Member

Hm looks like some extra css may be needed to get it to align right?

https://i.imgur.com/wPU8YzH.png

I like the idea though!

@bluss
Copy link
Member Author

bluss commented Mar 14, 2016

Thanks for taking a look at it! It seems to me the text needs to be inside the <li> generated by {{link-to-dep dep=dep}}

alexcrichton added a commit that referenced this pull request Mar 14, 2016
Show which dependencies are optional on the crate page
@alexcrichton alexcrichton merged commit fd05e41 into rust-lang:master Mar 14, 2016
@alexcrichton
Copy link
Member

Looks good to me!

@bluss bluss deleted the optional branch March 14, 2016 20:35
@bluss
Copy link
Member Author

bluss commented Mar 14, 2016

Yay!

bors added a commit that referenced this pull request Dec 18, 2019
…0.9, r=Turbo87

Bump ember-exam from 1.0.0 to 4.0.9

[//]: # (dependabot-start)
⚠️  **Dependabot is rebasing this PR** ⚠️

If you make any changes to it yourself then they will take precedence over the rebase.

---

[//]: # (dependabot-end)

Bumps [ember-exam](https://github.com/ember-cli/ember-exam) from 1.0.0 to 4.0.9.
<details>
<summary>Release notes</summary>

*Sourced from [ember-exam's releases](https://github.com/ember-cli/ember-exam/releases).*

> ## v4.0.6 - Bug Fix for Process Object Validation, Enhancement for 'write-module-metadata' feature, & Update Dependencies
> - Ensure process object is valid before registering callbacks for process.on and process.error.
> - Update Dependencies
>
> ## v4.0.4 Validate if testem object is available
> - v4.0.3 introduces an error `Cannot read property 'emit' of undefined` due to testem object is unavailable during ebmer serve. The version v4.0.4 includes a fix for v4.0.3.
>
> ## v4.0.3 Introducing write-module-metadata-file command
> * Adding `write-module-metadata-file` to generate test module data after execution. [#265](https://github-redirect.dependabot.com/ember-cli/ember-exam/issues/265)
> * Update Dependencies
>
> ## v4.0.2 - Fix bug in --write-execution-file for failedBrowsers Array
> - ensure browserExitHandler is called for global errors [#362](https://github-redirect.dependabot.com/ember-cli/ember-exam/issues/362)
>
> ## 4.0.1 - Improve complete browser book keeping & improve request next module conditions
> - Improve complete browser book keeping & improve request next module conditions [#357](https://github-redirect.dependabot.com/ember-cli/ember-exam/issues/357)
>
> ## 4.0.0 - Bump node support version to >=8
> - Update to use node version >= 8 [#308](https://github-redirect.dependabot.com/ember-cli/ember-exam/issues/308)
> - Throw error when there are no matching tests with a given input by `file-path` and `module-path` [#302](https://github-redirect.dependabot.com/ember-cli/ember-exam/issues/302)
> - Update Dependencies
>
> ## 3.0.3 - Introducing file-path & module-path commands & Update Dependencies
> - Adding `file-path` and `module-path` commands for improved test startup time [#266](https://github-redirect.dependabot.com/ember-cli/ember-exam/issues/266) & [#300](https://github-redirect.dependabot.com/ember-cli/ember-exam/issues/300)
> - Update Dependencies
>
> ## 3.0.2 - Docs updates & Update Dependencies & graceful exit when async iterator fails
> - Docs updates [#286](https://github-redirect.dependabot.com/ember-cli/ember-exam/issues/286) [#285](https://github-redirect.dependabot.com/ember-cli/ember-exam/issues/285)
> - Update Dependencies
> - Graceful exit when async iterator fails [#274](https://github-redirect.dependabot.com/ember-cli/ember-exam/issues/274)
</details>
<details>
<summary>Changelog</summary>

*Sourced from [ember-exam's changelog](https://github.com/ember-cli/ember-exam/blob/master/CHANGELOG.md).*

> v4.0.9 / 2019-12-05
> ===================
> * [Enhancement] Add a number of total tests, failed tests, passed tests, and skipped tests to a module metadata file ([@&#8203;choheekim](https://github.com/choheekim))
> * [Enhancement] Update README.md corresponding to changes in the module metadata file contents ([@&#8203;choheekim](https://github.com/choheekim))
> * [BugFix] Update yarn.lock to use latest version of core-js-compat (v.3.4.7) ([@&#8203;choheekim](https://github.com/choheekim))
> * [BugFix] Fix process validation when registering callbacks for process.error & process.exit ([@&#8203;choheekim](https://github.com/choheekim))
> * Bump ember-template-lint from 1.6.0 to 1.6.1 <dependabot[bot]>
> * Bump ember-qunit from 4.5.1 to 4.6.0 <dependabot[bot]>
> * Bump eslint-plugin-ember from 7.2.0 to 7.3.0 <dependabot[bot]>
> * Bump ember-load-initializers from 2.1.0 to 2.1.1 <dependabot[bot]>
> * Bump ember-template-lint from 1.6.1 to 1.8.1 <dependabot[bot]>
> * Bump ember-source from 3.13.3 to 3.14.1 <dependabot[bot]>
> * Bump chalk from 2.4.2 to 3.0.0 <dependabot[bot]>
> * Bump ember-export-application-global from 2.0.0 to 2.0.1 <dependabot[bot]>
> * Bump ember-template-lint from 1.8.1 to 1.8.2 <dependabot[bot]>
> * Bump ember-cli from 3.13.1 to 3.14.0 <dependabot[bot]>
> * Bump ember-resolver from 5.3.0 to 6.0.0  <dependabot[bot]>
> * Bump ember-cli-babel from 7.12.0 to 7.13.0 <dependabot[bot]>
> * Bump execa from 3.3.0 to 3.4.0 <dependabot[bot]>
> * Bump ember-source from 3.14.2 to 3.14.3 <dependabot[bot]>
> * Bump ember-template-lint from 1.8.2 to 1.9.0 <dependabot[bot]>
> * Bump ember-cli-htmlbars from 4.0.8 to 4.0.9 <dependabot[bot]>
>
>
> v4.0.5 / 2019-10-25
> ===================
> * [BugFix] Validate process object is defined when registering event callbacks for process.error & process.exit ([@&#8203;choheekim](https://github.com/choheekim))
> * [BugFix] Updates page title for dummy app to "Ember Exam" ([@&#8203;howie](https://github.com/howie))
> * Bump rimraf from 2.7.1 to 3.0.0 <dependabot[bot]>
> * Bump ember-cli from 3.12.0 to 3.13.1 <dependabot[bot]>
> * Bump ember-cli-deploy-build from 1.1.1 to 2.0.0 <dependabot[bot]>
> * Bump mocha from 6.2.0 to 6.2.2 <dependabot[bot]>
> * Bump ember-template-lint from 1.5.3 to 1.6.0 <dependabot[bot]>
> * Bump ember-cli-babel from 7.11.1 to 7.12.0 <dependabot[bot]>
> * Bump ember-cli-inject-live-reload from 2.0.1 to 2.0.2 <dependabot[bot]>
> * Bump @ember/optional-features from 1.0.0 to 1.1.0  <dependabot[bot]>
> * Bump ember-cli-addon-docs from 0.6.14 to 0.6.15 <dependabot[bot]>
> * Bump ember-cli-htmlbars-inline-precompile from 2.1.0 to 3.0.1 <dependabot[bot]>
> * Bump ember-source from 3.10.2 to 3.13.3 <dependabot[bot]>
> * Bump eslint-plugin-node from 8.0.1 to 10.0.0  <dependabot[bot]>
> * Bump @ember/optional-features from 0.7.0 to 1.0.0 <dependabot[bot]>
> * Bump ember-cli-htmlbars from 3.1.0 to 4.0.8 <dependabot[bot]>
> * Bump eslint-plugin-ember from 6.10.1 to 7.2.0 <dependabot[bot]>
>
>
> v4.0.4 / 2019-09-30
> ===================
> * [BugFix] Validate testem object is defined ([@&#8203;choheekim](https://github.com/choheekim))
> * Bump ember-cli-babel from 7.11.0 to 7.11.1 <dependabot[bot]>
>
></tr></table> ... (truncated)
</details>
<details>
<summary>Commits</summary>

- [`ca30c3e`](ember-cli/ember-exam@ca30c3e) 4.0.9
- [`29ac2d6`](ember-cli/ember-exam@29ac2d6) Update changelog for v4.0.9
- [`b8efb9f`](ember-cli/ember-exam@b8efb9f) Merge pull request [#439](https://github-redirect.dependabot.com/ember-cli/ember-exam/issues/439) from choheekim/update-readme
- [`040299d`](ember-cli/ember-exam@040299d) Add skipped tests number in test module metadata and update readme
- [`73fb045`](ember-cli/ember-exam@73fb045) Update README reflecting to current changes in module-metadata-file
- [`417f7e0`](ember-cli/ember-exam@417f7e0) Bump ember-template-lint from 1.8.2 to 1.9.0
- [`4b2d46a`](ember-cli/ember-exam@4b2d46a) Bump ember-cli-htmlbars from 4.0.8 to 4.0.9
- [`c5116fd`](ember-cli/ember-exam@c5116fd) Bump ember-source from 3.14.2 to 3.14.3
- [`ad8905b`](ember-cli/ember-exam@ad8905b) Update changelog for v4.0.8
- [`f3acfee`](ember-cli/ember-exam@f3acfee) Release v4.0.8
- Additional commits viewable in [compare view](ember-cli/ember-exam@v1.0.0...v4.0.9)
</details>
<details>
<summary>Maintainer changes</summary>

This version was pushed to npm by [choheekim](https://www.npmjs.com/~choheekim), a new releaser for ember-exam since your current version.
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=ember-exam&package-manager=npm_and_yarn&previous-version=1.0.0&new-version=4.0.9)](https://dependabot.com/compatibility-score.html?dependency-name=ember-exam&package-manager=npm_and_yarn&previous-version=1.0.0&new-version=4.0.9)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

**Note:** This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking `Bump now` in your [Dependabot dashboard](https://app.dependabot.com).

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in the `.dependabot/config.yml` file in this repo:
- Update frequency
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)

</details>
bors added a commit that referenced this pull request Dec 18, 2019
…8.0.0, r=Turbo87

Bump ember-moment from 7.5.0 to 8.0.0

Bumps [ember-moment](https://github.com/stefanpenner/ember-moment) from 7.5.0 to 8.0.0.
<details>
<summary>Release notes</summary>

*Sourced from [ember-moment's releases](https://github.com/stefanpenner/ember-moment/releases).*

> ## Add smoke tests, travis ci now tests against 1.10->#release, fixes regression against Ember 1.10.0
> - Smoke tests added
> - Fixing regression which broke 1.10.0
> - Added Ember 1.10.0 -> #release to the Travis CI matrix
</details>
<details>
<summary>Changelog</summary>

*Sourced from [ember-moment's changelog](https://github.com/stefanpenner/ember-moment/blob/master/CHANGELOG.md).*

> ### 8.0.0
>
> * [BREAKING] drops Node 6 support
> * Updates ember-macro-helpers to 4.x
>
> ### 7.8.1
>
> * [@&#8203;puwelous](https://github.com/puwelous) Substitute merge() with assign() - Ember deprecation [#296](https://github-redirect.dependabot.com/stefanpenner/ember-moment/issues/296)
> * [@&#8203;jasonmit](https://github.com/jasonmit) ci: Bump Supported Node version from 4 to 6.
> * [@&#8203;kellyselden](https://github.com/kellyselden) update ember-macro-helpers [#285](https://github-redirect.dependabot.com/stefanpenner/ember-moment/issues/285)
> * [@&#8203;scottkidder](https://github.com/scottkidder) Replace Logger with console [#281](https://github-redirect.dependabot.com/stefanpenner/ember-moment/issues/281)
>
> ### 7.7.0
>
> * [@&#8203;fenekku](https://github.com/fenekku) deprecated hideSuffix/hidePrefix in favor of hideAffix
> * [@&#8203;crotwell](https://github.com/crotwell) added utc helper & macro
> *
>
> ### 7.6.0
>
> * [@&#8203;kellyselden](https://github.com/kellyselden) Fix invalid reexport for helpers/unix
> * Upgrade ember-cli and dependencies
>
> ### 7.3.0
>
> * Setting locale now sets locale on global moment object
> * Added `setLocale` and `setTimeZone`.  Better naming.  Will continue to support `changeLocale` and `changeTimeZone` but have updated README to prefer new method names
> * Added `localeChanged` and `timeZoneChanged` events
> * [@&#8203;mfeltz](https://github.com/mfeltz) scoped moment-subtract and moment-add to use the moment service `locale` property
>
> ### 7.2.0
>
> * [@&#8203;kellyselden](https://github.com/kellyselden) add back `ember-macro-helpers`
>
> ### 7.1.1
>
> * Removed `ember-macro-helpers`
>
> ### 7.1.0
>
> * [@&#8203;kellyselden](https://github.com/kellyselden) ported computed macro factory to use computed macro utility methods from `ember-macro-helpers`
>
> ### 7.0.3
>
> * Upgrade `ember-cli-moment-shim` to 3.0.0
> * now helper now recomputes using setTimeout instead of run.later [#205](https://github-redirect.dependabot.com/stefanpenner/ember-moment/issues/205)
>
> ### 7.0.2
>
> * Revert upgrade `ember-cli-moment-shim` to 2.2.1 (moment.now issue)
></tr></table> ... (truncated)
</details>
<details>
<summary>Commits</summary>

- [`7334cee`](adopted-ember-addons/ember-moment@7334cee) 8.0.0
- [`61aa2c1`](adopted-ember-addons/ember-moment@61aa2c1) chore: Update changelog.
- [`4b56658`](adopted-ember-addons/ember-moment@4b56658) Merge pull request [#314](https://github-redirect.dependabot.com/stefanpenner/ember-moment/issues/314) from GreatWizard/update-ember-macro-helpers
- [`bef3ffe`](adopted-ember-addons/ember-moment@bef3ffe) ci: update CI config and engines node to run on node 8 and upper
- [`9e1bdcd`](adopted-ember-addons/ember-moment@9e1bdcd) chore: update ember-macro-helpers version to expose a recent one in dependency
- [`f7eeb90`](adopted-ember-addons/ember-moment@f7eeb90) Merge pull request [#310](https://github-redirect.dependabot.com/stefanpenner/ember-moment/issues/310) from himynameisjonas/patch-1
- [`29e4029`](adopted-ember-addons/ember-moment@29e4029) Replace merge with assign
- [`a14c935`](adopted-ember-addons/ember-moment@a14c935) Merge pull request [#305](https://github-redirect.dependabot.com/stefanpenner/ember-moment/issues/305) from mbinet/cleanup-readme
- [`7469733`](adopted-ember-addons/ember-moment@7469733) Move contributing informations to dedicated file
- [`2dc62a8`](adopted-ember-addons/ember-moment@2dc62a8) Add TOC
- Additional commits viewable in [compare view](adopted-ember-addons/ember-moment@v7.5.0...v8.0.0)
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=ember-moment&package-manager=npm_and_yarn&previous-version=7.5.0&new-version=8.0.0)](https://dependabot.com/compatibility-score.html?dependency-name=ember-moment&package-manager=npm_and_yarn&previous-version=7.5.0&new-version=8.0.0)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

**Note:** This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking `Bump now` in your [Dependabot dashboard](https://app.dependabot.com).

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)

</details>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants