Bug report for trillium-http
: Tests fail when not specifying any features
#362
Labels
bug
Something isn't working
Describe the bug
The library-level doctest in
trillium-http
creates a TCP server usingasync-net
, and connects to it usingtrillium_testing::ClientConfig
. This works when any of the featurestrillium-testing/tokio
,trillium-testing/smol
, ortrillium-testing/async-std
are enabled, but fails when none of these features are enabled, because it uses the in-memoryRuntimelessClientConfig
, which does not touch the network. The CI runs tests with each of these features enabled, but not with default features.To Reproduce
Steps to reproduce the behavior:
cargo test
The text was updated successfully, but these errors were encountered: