Skip to content

Commit

Permalink
Make async_trait dependency optional (redis-rs#572)
Browse files Browse the repository at this point in the history
Co-authored-by: Harris Kaufmann <harris.kaufmann@wibu.com>
  • Loading branch information
2 people authored and gkorland committed May 24, 2022
1 parent 7d2efd5 commit 0b17fcb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Expand Up @@ -51,7 +51,7 @@ crc16 = { version = "0.4", optional = true }
rand = { version = "0.8", optional = true }
# Only needed for async_std support
async-std = { version = "1.5.0", optional = true}
async-trait = "0.1.24"
async-trait = { version = "0.1.24", optional = true }

# Only needed for TLS
native-tls = { version = "0.2", optional = true }
Expand All @@ -61,7 +61,7 @@ async-native-tls = { version = "0.4", optional = true }
[features]
default = ["acl", "streams", "geospatial", "script"]
acl = []
aio = ["bytes", "pin-project-lite", "futures-util", "futures-util/alloc", "futures-util/sink", "tokio/io-util", "tokio-util", "tokio-util/codec", "tokio/sync", "combine/tokio"]
aio = ["bytes", "pin-project-lite", "futures-util", "futures-util/alloc", "futures-util/sink", "tokio/io-util", "tokio-util", "tokio-util/codec", "tokio/sync", "combine/tokio", "async-trait"]
geospatial = []
cluster = ["crc16", "rand"]
script = ["sha1_smol"]
Expand Down

0 comments on commit 0b17fcb

Please sign in to comment.