Skip to content

Commit

Permalink
Enable futures feature for docs.rs builds
Browse files Browse the repository at this point in the history
The docs at docs.rs do not include `AsyncStreamCDC`. This fixes that by making sure the `futures` feature is enabled. I picked that feature as it has less dependencies, and `--all-features` would mean that `as_stream` would not be included, as the current `cfg` flags output neither version when both features are enabled.
  • Loading branch information
Swatinem authored Oct 1, 2023
1 parent 0083320 commit 6b396d2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ exclude = [
"test/*",
]

[package.metadata.docs.rs]
features = ["futures"]

[features]
default = []
tokio = ["dep:tokio", "tokio-stream", "async-stream"]
Expand Down

0 comments on commit 6b396d2

Please sign in to comment.