Skip to content

Commit fcd20c8

Browse files
committed
Use cargo resolver 2
This is required for "cargo build --lib" to not activate Tokio features from dev-dependencies. Otherwise, the build fails on WebAssembly.
1 parent c174981 commit fcd20c8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name = "async-compression"
33
version = "0.4.18"
44
authors = ["Wim Looman <[email protected]>", "Allen Bui <[email protected]>"]
55
edition = "2018"
6+
resolver = "2"
67
license = "MIT OR Apache-2.0"
78
keywords = ["compression", "gzip", "zstd", "brotli", "async"]
89
categories = ["compression", "asynchronous"]

0 commit comments

Comments
 (0)