Closed Tim-Zhang closed 4 years ago
Unlike in your Rust source code, we cannot use [target.'cfg(feature = "async")'.dependencies] to add dependencies based on optional features. So we use the [features] + { optional = true } instead
Signed-off-by: Tim Zhang tim@hyper.sh
Unlike in your Rust source code, we cannot use [target.'cfg(feature = "async")'.dependencies] to add dependencies based on optional features. So we use the [features] + { optional = true } instead
Signed-off-by: Tim Zhang tim@hyper.sh