forked from qdrant/qdrant
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
140 lines (118 loc) · 4.01 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
[package]
name = "qdrant"
version = "1.4.1"
authors = [
"Andrey Vasnetsov <andrey@vasnetsov.com>",
"Qdrant Team <info@qdrant.tech>",
]
readme = "README.md"
homepage = "https://qdrant.tech/"
repository = "https://github.com/qdrant/qdrant"
license = "Apache-2.0"
edition = "2021"
default-run = "qdrant"
[features]
default = ["web", "parking_lot"]
web = ["actix-web"]
multiling-chinese = ["segment/multiling-chinese"]
multiling-japanese = ["segment/multiling-japanese"]
multiling-korean = ["segment/multiling-korean"]
service_debug = ["parking_lot", "parking_lot/deadlock_detection"]
tracing-log = ["tracing", "tracing/log"]
console = ["console-subscriber"]
console-subscriber = ["tracing", "tracing-subscriber", "dep:console-subscriber"]
tracy = ["tracing-tracy"]
tracing-tracy = ["tracing", "tracing-subscriber", "dep:tracing-tracy"]
tokio-tracing = ["tokio/tracing"]
[dev-dependencies]
serde_urlencoded = "0.7"
sealed_test = "1.0.0"
tempfile = "3.7.1"
rusty-hook = "^0.11.2"
[dependencies]
parking_lot = { version = "0.12.1", features=["deadlock_detection"], optional = true }
num_cpus = "1.16"
thiserror = "1.0"
log = "0.4"
env_logger = "0.10.0"
atty = "0.2"
colored = "2"
serde = { version = "~1.0", features = ["derive"] }
serde_json = "~1.0"
chrono = { version = "~0.4", features = ["serde"] }
schemars = { version = "0.8.12", features = ["uuid1", "preserve_order", "chrono"] }
itertools = "0.11"
anyhow = "1.0.72"
futures = "0.3.28"
futures-util = "0.3.27"
clap = { version = "4.3.21", features = ["derive"] }
serde_cbor = { version = "0.11.2"}
uuid = { version = "1.4", features = ["v4", "serde"] }
sys-info = "0.9.1"
wal = { git = "https://github.com/qdrant/wal.git", rev = "a32f6a38acf7ffd761df83b0790eaefeb107cd60" }
config = "~0.13.3"
tokio = { version = "~1.29", features = ["full"] }
actix-web = { version = "4.3.1", optional = true, features = ["rustls", "actix-tls"] }
actix-cors = "0.6.4"
actix-files = "0.6.2"
tonic = { version = "0.9.2", features = ["gzip", "tls"] }
tower = "0.4.13"
tower-layer = "0.3.2"
num-traits = "0.2.16"
tar = "0.4.40"
reqwest = { version = "0.11", default-features = false, features = ["stream", "rustls-tls", "blocking"] }
rustls = "0.20.7"
rustls-pemfile = "1.0.3"
prometheus = { version = "0.13.3", default-features = false }
validator = { version = "0.16", features = ["derive"] }
actix-web-validator = "5.0.1"
# Consensus related crates
raft = { version = "0.7.0", features = ["prost-codec"], default-features = false }
slog = "2.7.0"
slog-stdlog = "4.1.1"
prost = "0.11.9"
raft-proto = { version = "0.7.0", features = ["prost-codec"], default-features = false}
segment = { path = "lib/segment" }
collection = { path = "lib/collection" }
storage = { path = "lib/storage" }
api = { path = "lib/api" }
actix-multipart = "0.6.0"
constant_time_eq = "0.3.0"
# Profiling
tracing = { version = "0.1", features = ["async-await"], optional = true }
tracing-subscriber = { version = "0.3", default-features = false, features = ["registry", "std"], optional = true }
console-subscriber = { version = "0.1", default-features = false, features = ["parking_lot"], optional = true }
tracing-tracy = { version = "0.10.2", features = ["ondemand"], optional = true }
[target.'cfg(not(target_env = "msvc"))'.dependencies]
tikv-jemallocator = "0.5"
[[bin]]
name = "schema_generator"
path = "src/schema_generator.rs"
test = false
bench = false
[[bin]]
name = "wal_inspector"
path = "src/wal_inspector.rs"
test = false
bench = false
[workspace]
members = ["lib/*"]
exclude = ["benches/search-points"]
[profile.release]
lto = "fat"
# Inherit from release, because we are not rebuilding often,
# and we don't want the huge binary sizes from debug builds.
[profile.ci]
inherits = "release"
lto = false
opt-level = 0
[profile.bench]
lto = false
# Profile for performance testing, which is faster to build than release.
[profile.perf]
inherits = "release"
lto = false
opt-level = 3
[patch.crates-io]
# Temporary patch until <https://github.com/hyperium/tonic/pull/1401> is merged
tonic = { git = 'https://github.com/qdrant/tonic', branch = "v0.9.2-patched" }