Skip to content
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

Allow arbitrary types of map keys #119

Merged
merged 1 commit into from
Dec 8, 2019

Conversation

vorner
Copy link
Contributor

@vorner vorner commented Aug 23, 2019

Of particular interest are maps that have numbers or enums as keys.

Closes #74.

Of particular interest are maps that have numbers or enums as keys.

Closes mehcode#74.
@mehcode mehcode merged commit e9729be into mehcode:master Dec 8, 2019
@mehcode
Copy link
Owner

mehcode commented Dec 8, 2019

Very neat addition @vorner , thanks

@vorner vorner deleted the universal-map-keys branch December 8, 2019 07:04
bors bot added a commit to comit-network/comit-rs that referenced this pull request Dec 10, 2019
1749: Bump config from 0.9.3 to 0.10.1 r=mergify[bot] a=dependabot-preview[bot]

Bumps [config](https://github.com/mehcode/config-rs) from 0.9.3 to 0.10.1.
<details>
<summary>Changelog</summary>

*Sourced from [config's changelog](https://github.com/mehcode/config-rs/blob/master/CHANGELOG.md).*

> ## 0.10.1 - 2019-12-07
>  - Allow enums as configuration keys [#119](https://github-redirect.dependabot.com/mehcode/config-rs/issues/119)
> 
> [#119](https://github-redirect.dependabot.com/mehcode/config-rs/issues/119): [mehcode/config-rs#119](https://github-redirect.dependabot.com/mehcode/config-rs/pull/119)
> 
> ## 0.10.0 - 2019-12-07
>  - Remove lowercasing of keys (unless the key is coming from an environment variable).
>  - Update nom to 5.x
</details>
<details>
<summary>Commits</summary>

- See full diff in [compare view](https://github.com/mehcode/config-rs/commits)
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=config&package-manager=cargo&previous-version=0.9.3&new-version=0.10.1)](https://dependabot.com/compatibility-score.html?dependency-name=config&package-manager=cargo&previous-version=0.9.3&new-version=0.10.1)

You can trigger a rebase of this PR by commenting `@dependabot rebase`.

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

---

<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 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>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
ghost pushed a commit to tommilligan/decadog that referenced this pull request Dec 12, 2019
18: build(deps): bump config from 0.9.3 to 0.10.1 r=tommilligan a=dependabot-preview[bot]

Bumps [config](https://github.com/mehcode/config-rs) from 0.9.3 to 0.10.1.
<details>
<summary>Changelog</summary>

*Sourced from [config's changelog](https://github.com/mehcode/config-rs/blob/master/CHANGELOG.md).*

> ## 0.10.1 - 2019-12-07
>  - Allow enums as configuration keys [#119](https://github-redirect.dependabot.com/mehcode/config-rs/issues/119)
> 
> [#119](https://github-redirect.dependabot.com/mehcode/config-rs/issues/119): [mehcode/config-rs#119](https://github-redirect.dependabot.com/mehcode/config-rs/pull/119)
> 
> ## 0.10.0 - 2019-12-07
>  - Remove lowercasing of keys (unless the key is coming from an environment variable).
>  - Update nom to 5.x
</details>
<details>
<summary>Commits</summary>

- See full diff in [compare view](https://github.com/mehcode/config-rs/commits)
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=config&package-manager=cargo&previous-version=0.9.3&new-version=0.10.1)](https://dependabot.com/compatibility-score.html?dependency-name=config&package-manager=cargo&previous-version=0.9.3&new-version=0.10.1)

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)

---

<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>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
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.

Support Enum?
2 participants