"examples/custom_backend/hello_world/README.md" did not exist on "a2874fdc75573559143d4ac33b422c657fb56e4a"
Cargo.toml 1.75 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
# SPDX-FileCopyrightText: Copyright (c) 2024-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

[package]
name = "dynamo-kv-router"
description = "KV Router - Radix tree for LLM KV cache routing"
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
11
homepage.workspace = true
12
repository.workspace = true
13
readme = "README.md"
14
15
16

[features]
default = []
17
18
19
metrics = ["dep:prometheus"]
runtime-protocols = ["dep:dynamo-runtime"]
bench = []
20
standalone-indexer = ["dep:axum", "dep:serde_json", "dep:reqwest", "dep:zmq"]
21
22
23

[dependencies]
# repo
24
dynamo-runtime = { workspace = true, optional = true }
25
26
27
28
29
dynamo-tokens = { workspace = true }

# workspace
anyhow = { workspace = true }
async-trait = { workspace = true }
Yan Ru Pei's avatar
Yan Ru Pei committed
30
dashmap = { workspace = true }
31
ordered-float = { workspace = true }
32
derive_builder = { workspace = true }
33
prometheus = { workspace = true, optional = true }
34
35
rand = { workspace = true }
serde = { workspace = true }
Yan Ru Pei's avatar
Yan Ru Pei committed
36
serde_json = { workspace = true, optional = true }
37
38
39
40
thiserror = { workspace = true }
tokio = { workspace = true }
tokio-util = { workspace = true }
tracing = { workspace = true }
41
zmq = { version = "0.10", optional = true }
42
uuid = { workspace = true }
43
validator = { workspace = true }
44
45
xxhash-rust = { workspace = true }

Yan Ru Pei's avatar
Yan Ru Pei committed
46
47
48
# dependencies
flume = "0.12.0"
parking_lot = { workspace = true }
49
rmp-serde = { workspace = true }
Yan Ru Pei's avatar
Yan Ru Pei committed
50

51
rustc-hash = "2.1.1"
52

53
# standalone-indexer (optional)
54
axum = { workspace = true, optional = true }
55
reqwest = { workspace = true, optional = true }
56

57
58
59
60
[dev-dependencies]
rstest = "0.18.2"
rstest_reuse = "0.7.0"
serde_json = { workspace = true }
61
tokio = { workspace = true, features = ["rt", "macros", "time", "test-util"] }
62
dynamo-tokens = { workspace = true }