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

Bump futures from 0.3.25 to 0.3.28 #48

Open
wants to merge 42 commits into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Apr 4, 2023

Bumps futures from 0.3.25 to 0.3.28.

Release notes

Sourced from futures's releases.

0.3.28

  • Update to syn 2. This raises MSRV of utility crates to 1.56. (#2730, #2733)
  • Fix bug in FlattenUnordered (#2726, #2728)

0.3.27

  • Add TryFlattenUnordered (#2577, #2590, #2606, #2607)
  • Add AbortHandle::is_aborted (#2710)
  • Add AbortRegistration::handle (#2712)
  • Make BiLock strict-provenance compatible (#2716)

0.3.26

  • Add Either::as_pin_mut and Either::as_pin_ref (#2691)
  • Add Shared::ptr_eq and Shared::ptr_hash (#2691)
  • Implement FusedStream for Buffered (#2676)
  • Implement FusedStream for all streams in ReadyChunks (#2693)
  • Fix bug in FuturesOrdered::push_front (#2664)
  • Remove Fut::Output: Clone bounds from some Shared methods (#2662)
  • Remove T: Debug bounds from Debug implementations of mpsc and oneshot types (#2666, #2667)
Changelog

Sourced from futures's changelog.

0.3.28 - 2023-03-30

  • Update to syn 2. This raises MSRV of utility crates to 1.56. (#2730, #2733)
  • Fix bug in FlattenUnordered (#2726, #2728)

0.3.27 - 2023-03-11

  • Add TryFlattenUnordered (#2577, #2590, #2606, #2607)
  • Add AbortHandle::is_aborted (#2710)
  • Add AbortRegistration::handle (#2712)
  • Make BiLock strict-provenance compatible (#2716)

0.3.26 - 2023-01-30

  • Add Either::as_pin_mut and Either::as_pin_ref (#2691)
  • Add Shared::ptr_eq and Shared::ptr_hash (#2691)
  • Implement FusedStream for Buffered (#2676)
  • Implement FusedStream for all streams in ReadyChunks (#2693)
  • Fix bug in FuturesOrdered::push_front (#2664)
  • Remove Fut::Output: Clone bounds from some Shared methods (#2662)
  • Remove T: Debug bounds from Debug implementations of mpsc and oneshot types (#2666, #2667)
Commits

Dependabot compatibility score

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


Dependabot commands and options

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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

niklasad1 and others added 30 commits November 11, 2022 11:03
* fix clippy

* remove used id in codegen

* fix clippy again
Bumps [Swatinem/rust-cache](https://github.com/Swatinem/rust-cache) from 2.0.1 to 2.2.0.
- [Release notes](https://github.com/Swatinem/rust-cache/releases)
- [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md)
- [Commits](Swatinem/rust-cache@22c9328...359a70e)

---
updated-dependencies:
- dependency-name: Swatinem/rust-cache
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* get started

* make it work again

* make it compile again

* Use async-wasm-feature of jsonrpsee from the master branch

* Ensure we enable JS feature of getrandom for the wasm target

* Update subxt/src/lib.rs

* update jsonrpsee

* fix CI

* cargo fmt

* fix wasm test

* fix grumbles

* exclude wasm-tests from workspace

To avoid leaking `jsonrpsee-web` feature into the workspace

Co-authored-by: Igor Matuszewski <[email protected]>
* First pass adding functions to get blocks and extrinsics

* cargo fmt and cache block events

* prefix block hash with 0x

* pin streams for better ergonomics and add an example of subscribing to blocks

* remove unused var

* standardise on _all, _best and _finalized for different block header subs

* WIP center subscribing around blocks

* Remove the event filtering/subscribing  stuff

* clippy

* we need tokio, silly clippy

* add extrinsic_index() call

* Update subxt/src/blocks/block_types.rs

Co-authored-by: Andrew Jones <[email protected]>

* Add dynbamic nested query example and make dynamic::tx a little easier to work with

* calL_value -> inner_tx

* rename example to dynamic_multisig to align with paritytech#713 naming

* align dynamic and static multisig examples

* Fix comment typo

Co-authored-by: Niklas Adolfsson <[email protected]>

Co-authored-by: Andrew Jones <[email protected]>
Co-authored-by: Niklas Adolfsson <[email protected]>
* Patch all substrate deps to use my substrate branch

* default-features = false causing issus in test-runtime

* Use substrate polkadot release branch

* Use default-features for sp-runtime again :(

* Restore default-features for subxt-cli/sp-core

* Fix module error integration test

* Add Send + Sync bounds to ExtrinsicEvents::iter()

* Elide lifetime

* Revert adding Send + Sync

* Add Sync bound to Rpc::ClientError

* Remove version in subxt-metadata

* Use released crates

* Use released sp-keyring

* Fix sp-keyring deps

* Remove unnecessary sp-keyring default-features = false
* bump versions 0.25

* update changelog

* adjust RELEASE.md

* fix weird formatting

* rephrase bad english

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md
* fix(ci): wasm tests with cache

* disable logging in wasm tests
…aritytech#721)

* refactor: Simplify collecting type substitutes

* Simplify ItemMod::from

* Preserve inner Rust items when expanding the subxt::subxt macro

* No named lifetimes

* Update codegen/src/api/mod.rs

Co-authored-by: Andrew Jones <[email protected]>

* Move passing UI tests under `ui_tests`

Co-authored-by: Andrew Jones <[email protected]>
)

* refactor: Explicitly indicate which crates should be published

* chore: Add a convenience publish.sh script

* Update scripts/publish.sh

Co-authored-by: Niklas Adolfsson <[email protected]>

* Update scripts/publish.sh

Co-authored-by: Niklas Adolfsson <[email protected]>

* fix: Don't use unsupported -P flag in BSD grep in publish.sh

Co-authored-by: Niklas Adolfsson <[email protected]>
* subxt/rpc: Fetch metadata at arbitrary blocks

Signed-off-by: Alexandru Vasile <[email protected]>

* subxt/events: Fetch metadata for events at arbitrary blocks

Signed-off-by: Alexandru Vasile <[email protected]>

* Revert "subxt/events: Fetch metadata for events at arbitrary blocks"

This reverts commit 381409b.

* subxt/events: Custom constructor with metadata for events

Signed-off-by: Alexandru Vasile <[email protected]>

* Update subxt/src/events/events_type.rs

Co-authored-by: James Wilson <[email protected]>

Signed-off-by: Alexandru Vasile <[email protected]>
Co-authored-by: James Wilson <[email protected]>
Removed in Rust 1.66:
```
warning: lint `const_err` has been removed: converted into hard error, see issue #71800 <rust-lang/rust#71800> for more information
   --> subxt/src/lib.rs:114:5
    |
114 |     const_err,
    |     ^^^^^^^^^
    |
    = note: `#[warn(renamed_and_removed_lints)]` on by default
```
* Add `--derive-for-type` to cli

* Remove clippy warnings
…egen (paritytech#718)

* Add bitvec-like generic support to the scale-bits type for use in codegen

* Use nightly 1.66 formatting

* Fix reading input while decoding bit sequences

* Add tests for our DecodedBits wrapper

* Add convenience DecodedBits::(in)to_bits functions

* Don't expose DecodedBits::bit_format

* Re-export scale_bits as peer dependency

* Move subxt::utils into a separate file

* Hide DecodedBits internals

* Don't re-export types from the `bits` module

* Update subxt/src/utils/bits.rs

Co-authored-by: Niklas Adolfsson <[email protected]>

* Update subxt/src/utils/bits.rs

Co-authored-by: Niklas Adolfsson <[email protected]>

* Address review feedback

* Clarify the byte needed calculation in DecodedBits encoding

* Remove remaining dbg! invocations

Co-authored-by: Niklas Adolfsson <[email protected]>
* rpc: Extend `RpcClientT` to return the subscription ID

Signed-off-by: Alexandru Vasile <[email protected]>

* rpc: Return `RpcSubscriptionId` for jsonrpsee clients

Signed-off-by: Alexandru Vasile <[email protected]>

* rpc: Expose subscription ID via subxt subscription

Signed-off-by: Alexandru Vasile <[email protected]>

* examples: Adjust example to return subscription ID

Signed-off-by: Alexandru Vasile <[email protected]>

* rpc: Add structure for subscription stream and subscription id

Signed-off-by: Alexandru Vasile <[email protected]>

Signed-off-by: Alexandru Vasile <[email protected]>
Bumps [JasonEtco/create-an-issue](https://github.com/JasonEtco/create-an-issue) from 2.6.0 to 2.8.1.
- [Release notes](https://github.com/JasonEtco/create-an-issue/releases)
- [Commits](JasonEtco/create-an-issue@9e6213a...77399b6)

---
updated-dependencies:
- dependency-name: JasonEtco/create-an-issue
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [JasonEtco/create-an-issue](https://github.com/JasonEtco/create-an-issue) from 2.8.1 to 2.8.2.
- [Release notes](https://github.com/JasonEtco/create-an-issue/releases)
- [Commits](JasonEtco/create-an-issue@77399b6...3a8ba79)

---
updated-dependencies:
- dependency-name: JasonEtco/create-an-issue
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [JasonEtco/create-an-issue](https://github.com/JasonEtco/create-an-issue) from 2.8.2 to 2.9.1.
- [Release notes](https://github.com/JasonEtco/create-an-issue/releases)
- [Commits](JasonEtco/create-an-issue@3a8ba79...e27dddc)

---
updated-dependencies:
- dependency-name: JasonEtco/create-an-issue
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Make verbose rpc erro display

* Apply review results

* Minor fix doc-comment
This should make the CI green again, as the lints have been introduced
in a new stable release, outside of the changes made in this repository.
…paritytech#760)

* begin porting over traits; remove Config use of Hash

* port over the Header bits that we need

* sp_core_hashing where possible, move Verify to PairSigner, remove unused errors

* tidy up Config things and move related bits into one place

* fix codegen

* copy Era over

* move AccountId, Address, Signer to Signer trait and a pass over fixing examples

* impl MultiAddress, MultiSignature, AccountId32 and add back to Config (for decoding later)

* Copy over StorageKey, StorageData, StorageChangeSet

* subxt core compiling with no sp_core or sp_runtime

* Get examples compiling

* pass over fixing tests

* cargo fmt

* clippy tweaks and update polkadot.rs

* fix codegen docs

* port over special DigestItem encoding/decoding

* clippy and doc fixes

* cargo fmt and example fix

* more cargo fmt-ing...

* substrate-extra to substrate-compat

* cargo.toml comments

* simplify PairSigner trait bounds

* move RPC types to a separate file

* fix docs

* Add some tests for things and other PR feedback

* bump to latest sp deps

* avoid needing substrate-compat feature in a test
* fix decoding events via as_root_event and add test

* fmt and clippy

* Update subxt/src/events/events_type.rs

Co-authored-by: Alexandru Vasile <[email protected]>

Co-authored-by: Alexandru Vasile <[email protected]>
* Make dependabot less aggressive

And ignore sp- crates, since they need to be updated together, and dependabot can't yet do grouped PRs.

We should periodically just keep on top of this anyway, but I don't think we need to be constantly updating them.

* dependency-name

* Try weekly instead of monthly
* ci: Print substrate version

Signed-off-by: Alexandru Vasile <[email protected]>

* ci: Move substrate version to dedicated CI step

Signed-off-by: Alexandru Vasile <[email protected]>

* Revert "ci: Move substrate version to dedicated CI step"

This reverts commit b83de67.

* ci: Add version for all steps that download substrate

Signed-off-by: Alexandru Vasile <[email protected]>

Signed-off-by: Alexandru Vasile <[email protected]>
* Update to trybuild version 1.0.76

Signed-off-by: Alexandru Vasile <[email protected]>

* tests: Adjust testing to the new trybuild location

Signed-off-by: Alexandru Vasile <[email protected]>

Signed-off-by: Alexandru Vasile <[email protected]>
* Preserve attrs on codegen and ignore all clippy on generated code

* tweak and test attr preservation
jsdw and others added 12 commits January 17, 2023 17:29
…ritytech#787)

* version info with built-time obtained git hash

* clippy

* rerun-if-changed properly and handle git command failing

* cargo fmt
This will allow for use of `apply_update` on the `OnlineClient` which is already exposed as public.
* rpc: Add RuntimeAPI call via `state_call` method

Signed-off-by: Alexandru Vasile <[email protected]>

* subxt: Add runtime API

Signed-off-by: Alexandru Vasile <[email protected]>

* Expose the RuntimeAPI client

Signed-off-by: Alexandru Vasile <[email protected]>

* tests: Test the runtime API call against the metadata

Signed-off-by: Alexandru Vasile <[email protected]>

* client: Fetch the metadata from runtime API

Signed-off-by: Alexandru Vasile <[email protected]>

* blocks: Fix doc typo

Signed-off-by: Alexandru Vasile <[email protected]>

* blocks: Use &str instead of String to identify fn names

Signed-off-by: Alexandru Vasile <[email protected]>

* Update subxt/src/runtime_api/runtime_client.rs

Co-authored-by: Niklas Adolfsson <[email protected]>

Signed-off-by: Alexandru Vasile <[email protected]>
Co-authored-by: Niklas Adolfsson <[email protected]>
* Remove Cargo.lock from gitignore

Signed-off-by: Alexandru Vasile <[email protected]>

* cargo: Add `Cargo.lock`

Signed-off-by: Alexandru Vasile <[email protected]>

* Update the releasing process

Signed-off-by: Alexandru Vasile <[email protected]>

Signed-off-by: Alexandru Vasile <[email protected]>
* Add _at and _with methods to OnlineClient to allow for more instantiation options

* tweak warnings

* move a confusing comment

* expose ability to set metadata and such in OnlineClient, but remove most _at methods
…#735)

* feat!: Allow for remapping type parameters in type substitutions

* chore: cargo fmt

* chore: cargo clippy

* chore: Remove some old code

* a little tidy

* address comment nit

Co-authored-by: James Wilson <[email protected]>
* rpc/types: Add chainHead event types

Signed-off-by: Alexandru Vasile <[email protected]>

* rpc: Add `chainHead` RPC methods

Signed-off-by: Alexandru Vasile <[email protected]>

* rpc: Fix chainHead doc links

Signed-off-by: Alexandru Vasile <[email protected]>

* Update subxt/src/rpc/rpc.rs

Co-authored-by: James Wilson <[email protected]>

* tests: Test the chainHead RPC methods

Signed-off-by: Alexandru Vasile <[email protected]>

* tests: Fix clippy

Signed-off-by: Alexandru Vasile <[email protected]>

* rpc: Improve `chainhead_unstable_follow` docs

Signed-off-by: Alexandru Vasile <[email protected]>

Signed-off-by: Alexandru Vasile <[email protected]>
Co-authored-by: James Wilson <[email protected]>
…ritytech#797)

* tests: Ensure correct signing of extrinsics larger than 256 bytes

Signed-off-by: Alexandru Vasile <[email protected]>

* tests: Use `vec!` macro for blob creation

Signed-off-by: Alexandru Vasile <[email protected]>

Signed-off-by: Alexandru Vasile <[email protected]>
* blocks: Add storage method

Signed-off-by: Alexandru Vasile <[email protected]>

* Add support for runtime API calls and expose it to the blocks API

Signed-off-by: Alexandru Vasile <[email protected]>

* storage: Add storage type for block centric API

Signed-off-by: Alexandru Vasile <[email protected]>

* Adjust subxt to the new Storage interface

Signed-off-by: Alexandru Vasile <[email protected]>

* Fix clippy

Signed-off-by: Alexandru Vasile <[email protected]>

Signed-off-by: Alexandru Vasile <[email protected]>
Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.25 to 0.3.28.
- [Release notes](https://github.com/rust-lang/futures-rs/releases)
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md)
- [Commits](rust-lang/futures-rs@0.3.25...0.3.28)

---
updated-dependencies:
- dependency-name: futures
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Apr 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.