Skip to content

rather than importing futures only import the crates we really need. … - #1175

Merged
djc merged 2 commits into
quinn-rs:mainfrom
xMAC94x:xMAC94x/use_future_subscrates
Aug 11, 2021
Merged

rather than importing futures only import the crates we really need. …#1175
djc merged 2 commits into
quinn-rs:mainfrom
xMAC94x:xMAC94x/use_future_subscrates

Conversation

@xMAC94x

@xMAC94x xMAC94x commented Aug 10, 2021

Copy link
Copy Markdown
Contributor

…This way we can streamline our dependencies, e.g. futures-executor is not used at all

Additionally i updated the dependencies to futures 0.3.11, as 0.3.8 is yanked (same for 0.3.9 and 0.3.10)

…This way we can streamline our dependencies, e.g. futures-executor is not used at all
djc
djc previously approved these changes Aug 10, 2021
@djc

djc commented Aug 10, 2021

Copy link
Copy Markdown
Member

Thanks, this looks good!

@djc

djc commented Aug 10, 2021

Copy link
Copy Markdown
Member

Looks like CI is not quite happy. Maybe it would also make sense to import items from core via util, so we need to maintain one less direct import?

@xMAC94x

xMAC94x commented Aug 10, 2021

Copy link
Copy Markdown
Contributor Author

fixed tests, benches

@xMAC94x
xMAC94x force-pushed the xMAC94x/use_future_subscrates branch from d09f666 to 9a17af3 Compare August 10, 2021 17:02
Ralith
Ralith previously approved these changes Aug 10, 2021

@Ralith Ralith left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Eventually I'd like to drop these entirely as they're kind of heavy; this is a good first step.

Ralith
Ralith previously requested changes Aug 10, 2021
Comment thread quinn/src/send_stream.rs
@xMAC94x
xMAC94x force-pushed the xMAC94x/use_future_subscrates branch from f4f3892 to ae531ca Compare August 11, 2021 07:51
@djc
djc dismissed Ralith’s stale review August 11, 2021 08:27

Resolved

@djc
djc merged commit b224d1d into quinn-rs:main Aug 11, 2021
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.

3 participants