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

Replace futures with futures-util #47

Merged
merged 1 commit into from
Sep 22, 2021
Merged

Replace futures with futures-util #47

merged 1 commit into from
Sep 22, 2021

Conversation

messense
Copy link
Contributor

No description provided.

@tatsuya6502 tatsuya6502 self-requested a review September 22, 2021 10:38
@tatsuya6502 tatsuya6502 self-assigned this Sep 22, 2021
@tatsuya6502 tatsuya6502 added the enhancement New feature or request label Sep 22, 2021
@tatsuya6502 tatsuya6502 added this to the v0.6.1 milestone Sep 22, 2021
Copy link
Member

@tatsuya6502 tatsuya6502 left a comment

Choose a reason for hiding this comment

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

Nice catch. I overlooked the er-exports in futures.

This has reduced the number of dependencies:

Before

$ cargo tree --all-features
...
├── futures v0.3.16
│   ├── futures-channel v0.3.16
│   │   ├── futures-core v0.3.16
│   │   └── futures-sink v0.3.16
│   ├── futures-core v0.3.16
│   ├── futures-executor v0.3.16
│   │   ├── futures-core v0.3.16
│   │   ├── futures-task v0.3.16
│   │   └── futures-util v0.3.16
│   │       ├── futures-channel v0.3.16 (*)
│   │       ├── futures-core v0.3.16
│   │       ├── futures-io v0.3.16
│   │       ├── futures-macro v0.3.16 (proc-macro)
│   │       │   ├── proc-macro-hack v0.5.19 (proc-macro)
│   │       │   ├── proc-macro2 v1.0.28
│   │       │   │   └── unicode-xid v0.2.2
│   │       │   ├── quote v1.0.9
│   │       │   │   └── proc-macro2 v1.0.28 (*)
│   │       │   └── syn v1.0.75
│   │       │       ├── proc-macro2 v1.0.28 (*)
│   │       │       ├── quote v1.0.9 (*)
│   │       │       └── unicode-xid v0.2.2
│   │       │   [build-dependencies]
│   │       │   └── autocfg v1.0.1
│   │       ├── futures-sink v0.3.16
│   │       ├── futures-task v0.3.16
│   │       ├── memchr v2.4.1
│   │       ├── pin-project-lite v0.2.7
│   │       ├── pin-utils v0.1.0
│   │       ├── proc-macro-hack v0.5.19 (proc-macro)
│   │       ├── proc-macro-nested v0.1.7
│   │       └── slab v0.4.4
│   │       [build-dependencies]
│   │       └── autocfg v1.0.1
│   ├── futures-io v0.3.16
│   ├── futures-sink v0.3.16
│   ├── futures-task v0.3.16
│   └── futures-util v0.3.16 (*)

After

├── futures-util v0.3.16
│   ├── futures-core v0.3.16
│   ├── futures-macro v0.3.16 (proc-macro)
│   │   ├── proc-macro-hack v0.5.19 (proc-macro)
│   │   ├── proc-macro2 v1.0.28
│   │   │   └── unicode-xid v0.2.2
│   │   ├── quote v1.0.9
│   │   │   └── proc-macro2 v1.0.28 (*)
│   │   └── syn v1.0.75
│   │       ├── proc-macro2 v1.0.28 (*)
│   │       ├── quote v1.0.9 (*)
│   │       └── unicode-xid v0.2.2
│   │   [build-dependencies]
│   │   └── autocfg v1.0.1
│   ├── futures-task v0.3.16
│   ├── pin-project-lite v0.2.7
│   ├── pin-utils v0.1.0
│   ├── proc-macro-hack v0.5.19 (proc-macro)
│   ├── proc-macro-nested v0.1.7
│   └── slab v0.4.4
│   [build-dependencies]
│   └── autocfg v1.0.1

@tatsuya6502 tatsuya6502 merged commit 5301904 into moka-rs:master Sep 22, 2021
@messense messense deleted the reduce-futures branch September 22, 2021 10:50
@tatsuya6502
Copy link
Member

@messense — FYI, I just published Moka v0.6.1 to crates.io. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants