Skip to content

fix: tcp-user-timeouts requires socket2 all feature#369

Open
goto-bus-stop wants to merge 1 commit intoaembke:mainfrom
goto-bus-stop:socket2-feature
Open

fix: tcp-user-timeouts requires socket2 all feature#369
goto-bus-stop wants to merge 1 commit intoaembke:mainfrom
goto-bus-stop:socket2-feature

Conversation

@goto-bus-stop
Copy link

socket2's set_tcp_user_timeout is gated behind the "all" feature: https://github.com/rust-lang/socket2/blob/c8146aa5bb839004208bfd89267ec61a7774386e/src/sys/unix.rs#L2605-L2608

In the fred.rs repository, the "all" feature is enabled by a different dependency (at least monoio, maybe others, I didn't check everything). But user projects might fail to compile if they don't happen to have a different dependency that enables it ^^

socket2's `set_tcp_user_timeout` is gated behind the "all" feature:
https://github.com/rust-lang/socket2/blob/c8146aa5bb839004208bfd89267ec61a7774386e/src/sys/unix.rs#L2605-L2608

In the fred.rs repository, the "all" feature is enabled by a different
dependency (at least `monoio`, maybe others, I didn't check everything).
But user projects might fail to compile if they don't happen to have a
different dependency that enables it ^^
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.

1 participant