-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
39 lines (32 loc) · 1.15 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
[package]
name = "redisai"
version = "0.1.1"
authors = ["Thomaub <github.thomaub@gmail.com>"]
description = "A rust client for RedisAI"
keywords = ["redis", "database", "machine-learning"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/ThomAub/redisai-rs"
homepage = "https://github.com/ThomAub/redisai-rs"
edition = "2018"
[dependencies]
redis = { version = "0.20" }
serde = { version = "1.0", features = ["derive"] }
# To turn our enum into string
strum = { version = "0.20" }
strum_macros = { version = "0.20" }
# Easy conversion from ndarray
ndarray = { version = "0.14", optional = true }
# Enable the async version of command
futures = { version = "0.3", optional = true }
futures-util = { version = "0.3", optional = true }
tokio = { version = "1.5", optional = true, features = ["full"] }
# Only needed for async_std support
async-std = { version = "1.5.0", optional = true }
async-trait = { version = "0.1.24", optional = true }
[features]
default = ["aio"]
aio = ["futures", "redis/aio", "redis/tokio-comp", "tokio", "redis/tokio-comp"]
async-std-comp = ["aio", "async-std"]
tokio-comp = ["aio", "tokio", "tokio/net"]
nda = ["ndarray"]