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

feat: enum config #156

Merged

Conversation

zhangsoledad
Copy link
Member

@zhangsoledad zhangsoledad commented Jan 4, 2019

Closes #154

@doitian doitian merged commit aebeb7f into nervosnetwork:develop Jan 4, 2019
@zhangsoledad zhangsoledad deleted the zhangsoledad/enum_config branch August 16, 2019 02:53
bors bot added a commit that referenced this pull request Sep 3, 2019
1495: chore(deps): bump arc-swap from 0.4.1 to 0.4.2 r=u2 a=dependabot-preview[bot]

Bumps [arc-swap](https://github.com/vorner/arc-swap) from 0.4.1 to 0.4.2.
<details>
<summary>Changelog</summary>

*Sourced from [arc-swap's changelog](https://github.com/vorner/arc-swap/blob/master/CHANGELOG.md).*

> # 0.4.2
> 
> * The Access functionality ‒ ability to pass a handle to subpart of held data to
>   somewhere with the ability to update itself.
> * Mapped cache can take `FnMut` as well as `Fn`.
</details>
<details>
<summary>Commits</summary>

- [`24df2c9`](vorner/arc-swap@24df2c9) Version bump to 0.4.2
- [`e961fb1`](vorner/arc-swap@e961fb1) Notes about safety
- [`fa4d95b`](vorner/arc-swap@fa4d95b) Documentation and tests for the Access feature
- [`e472d8b`](vorner/arc-swap@e472d8b) Constant access type
- [`d2119fc`](vorner/arc-swap@d2119fc) Make it 1.26.0 compatible again
- [`b29e570`](vorner/arc-swap@b29e570) The ArcSwapAny::map
- [`3452a01`](vorner/arc-swap@3452a01) The Access trait
- [`b88b30a`](vorner/arc-swap@b88b30a) Make the mapped cache accept FnMut.
- [`a0caa48`](vorner/arc-swap@a0caa48) Deps updates
- [`c661240`](vorner/arc-swap@c661240) Merge pull request [#21](https://github-redirect.dependabot.com/vorner/arc-swap/issues/21) from zyctree/patch-1
- Additional commits viewable in [compare view](vorner/arc-swap@v0.4.1...v0.4.2)
</details>
<br />

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

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)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

</details>

1497: chore(deps): bump lazy_static from 1.3.0 to 1.4.0 r=u2 a=dependabot-preview[bot]

Bumps [lazy_static](https://github.com/rust-lang-nursery/lazy-static.rs) from 1.3.0 to 1.4.0.
<details>
<summary>Release notes</summary>

*Sourced from [lazy_static's releases](https://github.com/rust-lang-nursery/lazy-static.rs/releases).*

> ## 1.4.0
> **Bumps the minimum supported version of `rustc` to `1.27.2`**
> 
> - [Fix typo in lib.rs](https://github-redirect.dependabot.com/rust-lang-nursery/lazy-static.rs/pull/144) (thanks [@&#8203;fbruetting](https://github.com/fbruetting))
> - [Automatically check if README.md examples are working when running "cargo test"](https://github-redirect.dependabot.com/rust-lang-nursery/lazy-static.rs/pull/145) (thanks [@&#8203;GuillaumeGomez](https://github.com/GuillaumeGomez))
> - [Allow deprecated to remove warnings in nightly](https://github-redirect.dependabot.com/rust-lang-nursery/lazy-static.rs/pull/152) (thanks [@&#8203;Schaeff](https://github.com/Schaeff))
> - [bump MSRV to 1.27.2](https://github-redirect.dependabot.com/rust-lang-nursery/lazy-static.rs/pull/155) (thanks [@&#8203;matklad](https://github.com/matklad))
</details>
<details>
<summary>Commits</summary>

- [`4216696`](rust-lang-nursery/lazy-static.rs@4216696) Merge pull request [#156](https://github-redirect.dependabot.com/rust-lang-nursery/lazy-static.rs/issues/156) from rust-lang-nursery/cargo/1.4.0
- [`1651fde`](rust-lang-nursery/lazy-static.rs@1651fde) prepare for 1.4.0 release
- [`d9c9689`](rust-lang-nursery/lazy-static.rs@d9c9689) Merge pull request [#155](https://github-redirect.dependabot.com/rust-lang-nursery/lazy-static.rs/issues/155) from matklad/hints
- [`d59c784`](rust-lang-nursery/lazy-static.rs@d59c784) adjust FIXME comment
- [`90baadd`](rust-lang-nursery/lazy-static.rs@90baadd) comment typo
- [`42fa58e`](rust-lang-nursery/lazy-static.rs@42fa58e) bump MSRV to 1.27.2
- [`8a5f404`](rust-lang-nursery/lazy-static.rs@8a5f404) Merge pull request [#152](https://github-redirect.dependabot.com/rust-lang-nursery/lazy-static.rs/issues/152) from Schaeff/allow-deprecated
- [`1dbd5ae`](rust-lang-nursery/lazy-static.rs@1dbd5ae) allow deprecated to remove warning in nightly
- [`65d58f1`](rust-lang-nursery/lazy-static.rs@65d58f1) Merge pull request [#145](https://github-redirect.dependabot.com/rust-lang-nursery/lazy-static.rs/issues/145) from GuillaumeGomez/doc-tests
- [`e519fd4`](rust-lang-nursery/lazy-static.rs@e519fd4) Automatically check if README.md examples are working when running "cargo test"
- Additional commits viewable in [compare view](rust-lang-nursery/lazy-static.rs@1.3.0...1.4.0)
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=lazy_static&package-manager=cargo&previous-version=1.3.0&new-version=1.4.0)](https://dependabot.com/compatibility-score.html?dependency-name=lazy_static&package-manager=cargo&previous-version=1.3.0&new-version=1.4.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)

---

<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)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

</details>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
bors bot added a commit that referenced this pull request Sep 11, 2019
1579: chore(deps): bump futures from 0.1.28 to 0.1.29 r=doitian a=dependabot-preview[bot]

[//]: # (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 [futures](https://github.com/rust-lang-nursery/futures-rs) from 0.1.28 to 0.1.29.
<details>
<summary>Commits</summary>

- [`56f8eb9`](rust-lang/futures-rs@56f8eb9) 0.1.29 release
- [`ad7830d`](rust-lang/futures-rs@ad7830d) add must_use attributes on Future and Stream
- See full diff in [compare view](rust-lang/futures-rs@0.1.28...0.1.29)
</details>
<br />

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

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)

Finally, you can contact us by mentioning @dependabot.

</details>

1580: chore(deps): bump secp256k1 from 0.15.1 to 0.15.5 r=doitian a=dependabot-preview[bot]

[//]: # (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 [secp256k1](https://github.com/rust-bitcoin/rust-secp256k1) from 0.15.1 to 0.15.5.
<details>
<summary>Changelog</summary>

*Sourced from [secp256k1's changelog](https://github.com/rust-bitcoin/rust-secp256k1/blob/master/CHANGELOG.md).*

> 
> # 0.15.4 - 2019-09-06
> 
> - Add `rand-std` feature.
> - Pin the cc build-dep version to `< 1.0.42` to remain
>   compatible with rustc 1.22.0.
> - Changed all `as_*ptr()` to a new safer `CPtr` trait
> 
> # 0.15.2 - 2019-08-08
> 
> - Add feature `lowmemory` that reduces the EC mult window size to require
>   significantly less memory for the validation context (~680B instead of
>   ~520kB), at the cost of slower validation. It does not affect the speed of
>   signing, nor the size of the signing context.
> 
> # 0.15.0 - 2019-07-25
> 
> * Implement hex human-readable serde for PublicKey
> * Implement fmt::LowerHex for SecretKey and PublicKey
> * Relax `cc` dependency requirements
> * Add links manifest key to prevent cross-version linkage
> 
> # 0.14.1 - 2019-07-14
> 
> * Implemented FFI functions: `secp256k1_context_create` and `secp256k1_context_destroy` in rust.
> 
> # 0.14.0 - 2019-07-08
> 
> * [Feature-gate endormorphism optimization](https://github-redirect.dependabot.com/rust-bitcoin/rust-secp256k1/pull/120)
>   because of a lack of clarity with respect to patents
> * Got full no-std support including eliminating all use of libc in C bindings.
>   [PR 1](https://github-redirect.dependabot.com/rust-bitcoin/rust-secp256k1/pull/115)
>   [PR 2](https://github-redirect.dependabot.com/rust-bitcoin/rust-secp256k1/pull/125).
>   This library should be usable in bare-metal environments and with rust-wasm.
>   Thanks to Elichai Turkel for driving this forward!
> 
> # 0.13.0 - 2019-05-21
> 
> * Update minimum supported rust compiler 1.22.
> * Replace `serialize_der` function with `SerializedSignature` struct.
> * Allow building without a standard library (`no_std`). `std` feature is on by default.
> * Add human readable serialization to `Signatures` and `SecretKeys`.
> * Stop displaying 0 bytes if a `Signature` is less than 72 bytes.
> * Only compile recovery module if feature `recovery` is set (non-default).
> * Update `rand` dependency from 0.4 to 0.6 and add `rand_core` 0.4 dependency.
> * Relax `cc` dependency requirements.
> 
> # 0.12.2 - 2019-01-18
> 
> * Fuzzer bug fix
></tr></table> ... (truncated)
</details>
<details>
<summary>Commits</summary>

- [`f5c8a00`](rust-bitcoin/rust-secp256k1@f5c8a00) Merge pull request [#159](https://github-redirect.dependabot.com/rust-bitcoin/rust-secp256k1/issues/159) from rust-bitcoin/2019-09-0155
- [`0c901db`](rust-bitcoin/rust-secp256k1@0c901db) bump version to 0.15.5
- [`0e5e314`](rust-bitcoin/rust-secp256k1@0e5e314) Merge pull request [#158](https://github-redirect.dependabot.com/rust-bitcoin/rust-secp256k1/issues/158) from rust-bitcoin/revert-153-2019-08-rand-std-feature
- [`bbab1c2`](rust-bitcoin/rust-secp256k1@bbab1c2) Revert "Add a rand-std feature"
- [`4bcb404`](rust-bitcoin/rust-secp256k1@4bcb404) Merge [#156](https://github-redirect.dependabot.com/rust-bitcoin/rust-secp256k1/issues/156): Pin version of build dependency cc to <1.0.42
- [`845bff2`](rust-bitcoin/rust-secp256k1@845bff2) Bump version to 0.15.4
- [`07ef3a1`](rust-bitcoin/rust-secp256k1@07ef3a1) Pin version of build dependency cc to <1.0.42
- [`4e69dcc`](rust-bitcoin/rust-secp256k1@4e69dcc) Merge pull request [#153](https://github-redirect.dependabot.com/rust-bitcoin/rust-secp256k1/issues/153) from elichai/2019-08-rand-std-feature
- [`b59f4ff`](rust-bitcoin/rust-secp256k1@b59f4ff) Add a rand-std feature
- [`eddfe03`](rust-bitcoin/rust-secp256k1@eddfe03) Merge pull request [#151](https://github-redirect.dependabot.com/rust-bitcoin/rust-secp256k1/issues/151) from elichai/2019-08-Cptr-null
- Additional commits viewable in [compare view](rust-bitcoin/rust-secp256k1@0.15.1...0.15.5)
</details>
<br />

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

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)

Finally, you can contact us by mentioning @dependabot.

</details>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
bors bot added a commit that referenced this pull request Sep 11, 2019
1580: chore(deps): bump secp256k1 from 0.15.1 to 0.15.5 r=zhangsoledad a=dependabot-preview[bot]

Bumps [secp256k1](https://github.com/rust-bitcoin/rust-secp256k1) from 0.15.1 to 0.15.5.
<details>
<summary>Changelog</summary>

*Sourced from [secp256k1's changelog](https://github.com/rust-bitcoin/rust-secp256k1/blob/master/CHANGELOG.md).*

> 
> # 0.15.4 - 2019-09-06
> 
> - Add `rand-std` feature.
> - Pin the cc build-dep version to `< 1.0.42` to remain
>   compatible with rustc 1.22.0.
> - Changed all `as_*ptr()` to a new safer `CPtr` trait
> 
> # 0.15.2 - 2019-08-08
> 
> - Add feature `lowmemory` that reduces the EC mult window size to require
>   significantly less memory for the validation context (~680B instead of
>   ~520kB), at the cost of slower validation. It does not affect the speed of
>   signing, nor the size of the signing context.
> 
> # 0.15.0 - 2019-07-25
> 
> * Implement hex human-readable serde for PublicKey
> * Implement fmt::LowerHex for SecretKey and PublicKey
> * Relax `cc` dependency requirements
> * Add links manifest key to prevent cross-version linkage
> 
> # 0.14.1 - 2019-07-14
> 
> * Implemented FFI functions: `secp256k1_context_create` and `secp256k1_context_destroy` in rust.
> 
> # 0.14.0 - 2019-07-08
> 
> * [Feature-gate endormorphism optimization](https://github-redirect.dependabot.com/rust-bitcoin/rust-secp256k1/pull/120)
>   because of a lack of clarity with respect to patents
> * Got full no-std support including eliminating all use of libc in C bindings.
>   [PR 1](https://github-redirect.dependabot.com/rust-bitcoin/rust-secp256k1/pull/115)
>   [PR 2](https://github-redirect.dependabot.com/rust-bitcoin/rust-secp256k1/pull/125).
>   This library should be usable in bare-metal environments and with rust-wasm.
>   Thanks to Elichai Turkel for driving this forward!
> 
> # 0.13.0 - 2019-05-21
> 
> * Update minimum supported rust compiler 1.22.
> * Replace `serialize_der` function with `SerializedSignature` struct.
> * Allow building without a standard library (`no_std`). `std` feature is on by default.
> * Add human readable serialization to `Signatures` and `SecretKeys`.
> * Stop displaying 0 bytes if a `Signature` is less than 72 bytes.
> * Only compile recovery module if feature `recovery` is set (non-default).
> * Update `rand` dependency from 0.4 to 0.6 and add `rand_core` 0.4 dependency.
> * Relax `cc` dependency requirements.
> 
> # 0.12.2 - 2019-01-18
> 
> * Fuzzer bug fix
></tr></table> ... (truncated)
</details>
<details>
<summary>Commits</summary>

- [`f5c8a00`](rust-bitcoin/rust-secp256k1@f5c8a00) Merge pull request [#159](https://github-redirect.dependabot.com/rust-bitcoin/rust-secp256k1/issues/159) from rust-bitcoin/2019-09-0155
- [`0c901db`](rust-bitcoin/rust-secp256k1@0c901db) bump version to 0.15.5
- [`0e5e314`](rust-bitcoin/rust-secp256k1@0e5e314) Merge pull request [#158](https://github-redirect.dependabot.com/rust-bitcoin/rust-secp256k1/issues/158) from rust-bitcoin/revert-153-2019-08-rand-std-feature
- [`bbab1c2`](rust-bitcoin/rust-secp256k1@bbab1c2) Revert "Add a rand-std feature"
- [`4bcb404`](rust-bitcoin/rust-secp256k1@4bcb404) Merge [#156](https://github-redirect.dependabot.com/rust-bitcoin/rust-secp256k1/issues/156): Pin version of build dependency cc to <1.0.42
- [`845bff2`](rust-bitcoin/rust-secp256k1@845bff2) Bump version to 0.15.4
- [`07ef3a1`](rust-bitcoin/rust-secp256k1@07ef3a1) Pin version of build dependency cc to <1.0.42
- [`4e69dcc`](rust-bitcoin/rust-secp256k1@4e69dcc) Merge pull request [#153](https://github-redirect.dependabot.com/rust-bitcoin/rust-secp256k1/issues/153) from elichai/2019-08-rand-std-feature
- [`b59f4ff`](rust-bitcoin/rust-secp256k1@b59f4ff) Add a rand-std feature
- [`eddfe03`](rust-bitcoin/rust-secp256k1@eddfe03) Merge pull request [#151](https://github-redirect.dependabot.com/rust-bitcoin/rust-secp256k1/issues/151) from elichai/2019-08-Cptr-null
- Additional commits viewable in [compare view](rust-bitcoin/rust-secp256k1@0.15.1...0.15.5)
</details>
<br />

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

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)

Finally, you can contact us by mentioning @dependabot.

</details>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
bors bot added a commit that referenced this pull request Sep 12, 2019
1580: chore(deps): bump secp256k1 from 0.15.1 to 0.15.5 r=zhangsoledad a=dependabot-preview[bot]

Bumps [secp256k1](https://github.com/rust-bitcoin/rust-secp256k1) from 0.15.1 to 0.15.5.
<details>
<summary>Changelog</summary>

*Sourced from [secp256k1's changelog](https://github.com/rust-bitcoin/rust-secp256k1/blob/master/CHANGELOG.md).*

> 
> # 0.15.4 - 2019-09-06
> 
> - Add `rand-std` feature.
> - Pin the cc build-dep version to `< 1.0.42` to remain
>   compatible with rustc 1.22.0.
> - Changed all `as_*ptr()` to a new safer `CPtr` trait
> 
> # 0.15.2 - 2019-08-08
> 
> - Add feature `lowmemory` that reduces the EC mult window size to require
>   significantly less memory for the validation context (~680B instead of
>   ~520kB), at the cost of slower validation. It does not affect the speed of
>   signing, nor the size of the signing context.
> 
> # 0.15.0 - 2019-07-25
> 
> * Implement hex human-readable serde for PublicKey
> * Implement fmt::LowerHex for SecretKey and PublicKey
> * Relax `cc` dependency requirements
> * Add links manifest key to prevent cross-version linkage
> 
> # 0.14.1 - 2019-07-14
> 
> * Implemented FFI functions: `secp256k1_context_create` and `secp256k1_context_destroy` in rust.
> 
> # 0.14.0 - 2019-07-08
> 
> * [Feature-gate endormorphism optimization](https://github-redirect.dependabot.com/rust-bitcoin/rust-secp256k1/pull/120)
>   because of a lack of clarity with respect to patents
> * Got full no-std support including eliminating all use of libc in C bindings.
>   [PR 1](https://github-redirect.dependabot.com/rust-bitcoin/rust-secp256k1/pull/115)
>   [PR 2](https://github-redirect.dependabot.com/rust-bitcoin/rust-secp256k1/pull/125).
>   This library should be usable in bare-metal environments and with rust-wasm.
>   Thanks to Elichai Turkel for driving this forward!
> 
> # 0.13.0 - 2019-05-21
> 
> * Update minimum supported rust compiler 1.22.
> * Replace `serialize_der` function with `SerializedSignature` struct.
> * Allow building without a standard library (`no_std`). `std` feature is on by default.
> * Add human readable serialization to `Signatures` and `SecretKeys`.
> * Stop displaying 0 bytes if a `Signature` is less than 72 bytes.
> * Only compile recovery module if feature `recovery` is set (non-default).
> * Update `rand` dependency from 0.4 to 0.6 and add `rand_core` 0.4 dependency.
> * Relax `cc` dependency requirements.
> 
> # 0.12.2 - 2019-01-18
> 
> * Fuzzer bug fix
></tr></table> ... (truncated)
</details>
<details>
<summary>Commits</summary>

- [`f5c8a00`](rust-bitcoin/rust-secp256k1@f5c8a00) Merge pull request [#159](https://github-redirect.dependabot.com/rust-bitcoin/rust-secp256k1/issues/159) from rust-bitcoin/2019-09-0155
- [`0c901db`](rust-bitcoin/rust-secp256k1@0c901db) bump version to 0.15.5
- [`0e5e314`](rust-bitcoin/rust-secp256k1@0e5e314) Merge pull request [#158](https://github-redirect.dependabot.com/rust-bitcoin/rust-secp256k1/issues/158) from rust-bitcoin/revert-153-2019-08-rand-std-feature
- [`bbab1c2`](rust-bitcoin/rust-secp256k1@bbab1c2) Revert "Add a rand-std feature"
- [`4bcb404`](rust-bitcoin/rust-secp256k1@4bcb404) Merge [#156](https://github-redirect.dependabot.com/rust-bitcoin/rust-secp256k1/issues/156): Pin version of build dependency cc to <1.0.42
- [`845bff2`](rust-bitcoin/rust-secp256k1@845bff2) Bump version to 0.15.4
- [`07ef3a1`](rust-bitcoin/rust-secp256k1@07ef3a1) Pin version of build dependency cc to <1.0.42
- [`4e69dcc`](rust-bitcoin/rust-secp256k1@4e69dcc) Merge pull request [#153](https://github-redirect.dependabot.com/rust-bitcoin/rust-secp256k1/issues/153) from elichai/2019-08-rand-std-feature
- [`b59f4ff`](rust-bitcoin/rust-secp256k1@b59f4ff) Add a rand-std feature
- [`eddfe03`](rust-bitcoin/rust-secp256k1@eddfe03) Merge pull request [#151](https://github-redirect.dependabot.com/rust-bitcoin/rust-secp256k1/issues/151) from elichai/2019-08-Cptr-null
- Additional commits viewable in [compare view](rust-bitcoin/rust-secp256k1@0.15.1...0.15.5)
</details>
<br />

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

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)

Finally, you can contact us by mentioning @dependabot.

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

None yet

3 participants