Skip to content

Commit

Permalink
feat: support semver versions & activate only tokio by default
Browse files Browse the repository at this point in the history
Signed-off-by: GopherJ <[email protected]>
  • Loading branch information
GopherJ committed May 7, 2024
1 parent 5b45a85 commit 1d61a9e
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,19 @@ documentation = "https://docs.rs/rsmq_async/"
readme = "README.md"

[dependencies]
lazy_static = "1"
rand = "0.8"
radix_fmt = "1"
bb8 = "0.8"
thiserror = "1"
redis = { version = "0.25", features = ["tokio-comp", "async-std-comp"] }
async-trait = "0.1"
lazy_static = "^1"
rand = "^0.8"
radix_fmt = "^1"
bb8 = "^0.8"
thiserror = "^1"
redis = { version = "^0.25", default-features = false, features = ["acl", "keep-alive", "script"] }
async-trait = "^0.1"

[dev-dependencies]
net2 = "0.2"
tokio = { version = "1", features = ["rt-multi-thread"]}
net2 = "^0.2"
tokio = { version = "^1", features = ["rt-multi-thread"]}

[features]
default = ["tokio-comp", "async-std-comp"]
default = ["tokio-comp"]
tokio-comp = ["redis/tokio-comp"]
async-std-comp = ["redis/async-std-comp"]

0 comments on commit 1d61a9e

Please sign in to comment.