forked from qdrant/qdrant
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
152 lines (129 loc) · 4.32 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
141
142
143
144
145
146
147
148
149
150
151
152
[package]
name = "qdrant"
version = "1.5.1"
authors = [
"Andrey Vasnetsov <[email protected]>",
"Qdrant Team <[email protected]>",
]
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 = [
"api/tracing",
"collection/tracing",
"segment/tracing",
"storage/tracing",
]
console = ["console-subscriber"]
console-subscriber = ["tracing", "dep:console-subscriber"]
tracy = ["tracing-tracy"]
tracing-tracy = ["tracing", "dep:tracing-tracy"]
tokio-tracing = ["tokio/tracing"]
stacktrace = ["rstack-self"]
[dev-dependencies]
serde_urlencoded = "0.7"
sealed_test = "1.0.0"
tempfile = "3.8.0"
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"
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.13", features = ["uuid1", "preserve_order", "chrono"] }
itertools = "0.11"
anyhow = "1.0.75"
futures = "0.3.28"
futures-util = "0.3.27"
clap = { version = "4.4.2", 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.32", features = ["full"] }
actix-web = { version = "4.3.1", optional = true, features = ["rustls-0_21", "actix-tls"] }
actix-cors = "0.6.4"
actix-files = "0.6.2"
tonic = { version = "0.9.2", features = ["gzip", "tls"] }
tonic-reflection = "0.9.2"
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.21.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 = { version="2.7.0", features = ["max_level_trace", "release_max_level_debug"] }
slog-stdlog = "4.1.1"
prost = "0.11.9"
raft-proto = { version = "0.7.0", features = ["prost-codec"], default-features = false }
common = { path = "lib/common" }
segment = { path = "lib/segment" }
collection = { path = "lib/collection" }
storage = { path = "lib/storage" }
api = { path = "lib/api" }
actix-multipart = "0.6.1"
constant_time_eq = "0.3.0"
# Profiling
tracing = { version = "0.1", features = ["async-await"] }
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
tracing-log = { version = "0.1", default-features = false, features = ["log-tracer", "std"] }
console-subscriber = { version = "0.1", default-features = false, features = ["parking_lot"], optional = true }
tracing-tracy = { version = "0.10.3", features = ["ondemand"], optional = true }
# Backtrace
[target.'cfg(target_os = "linux")'.dependencies]
rstack-self = { version = "0.3.0", 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" }