-
Notifications
You must be signed in to change notification settings - Fork 76
Expand file tree
/
Copy pathCargo.toml
More file actions
81 lines (71 loc) · 2.08 KB
/
Copy pathCargo.toml
File metadata and controls
81 lines (71 loc) · 2.08 KB
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
[package]
name = "codegraph-core"
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
description = "Core types and traits for the CodeGraph system"
[dependencies]
serde = { workspace = true }
serde_json = { workspace = true }
serde_yaml = "0.9"
toml = { workspace = true }
thiserror = { workspace = true }
anyhow = { workspace = true }
tracing = { workspace = true }
async-trait = { workspace = true }
uuid = { workspace = true }
chrono = { workspace = true }
crossbeam-channel = { workspace = true }
parking_lot = { workspace = true }
dotenv = "0.15"
dirs = "5.0"
tokio = { workspace = true }
futures = { workspace = true }
num_cpus = { workspace = true }
schemars = { workspace = true }
secrecy = { workspace = true }
config = { workspace = true }
notify = { workspace = true }
chacha20poly1305 = { workspace = true }
base64 = { workspace = true }
rand = { workspace = true }
dashmap = { workspace = true }
clap = { workspace = true }
colored = { workspace = true }
indicatif = { workspace = true }
once_cell = { workspace = true }
hashbrown = { workspace = true }
rustc-hash = { workspace = true }
sha2 = { workspace = true }
bincode = { workspace = true }
zstd = "0.13"
memmap2 = { workspace = true }
# Zero-copy and serialization support
bytes = { workspace = true }
# Optional arena allocator and zero-copy archiving
bumpalo = "3.15"
rkyv = { workspace = true }
[target.'cfg(unix)'.dependencies]
libc = "0.2"
[target.'cfg(windows)'.dependencies]
windows-sys = { version = "0.61", features = [
"Win32_Foundation",
"Win32_System_Memory",
"Win32_System_Threading"
] }
# jemalloc only builds on non-MSVC targets (tikv-jemalloc-sys cannot
# build with the MSVC toolchain on Windows).
[target.'cfg(not(target_env = "msvc"))'.dependencies]
tikv-jemallocator = { workspace = true }
[dev-dependencies]
tokio-test = { workspace = true }
tempfile = { workspace = true }
criterion = { workspace = true }
[[bench]]
name = "core_micro"
harness = false
[features]
# Enable jemalloc as the global allocator and expose jemalloc controls
default = ["jemalloc"]
jemalloc = []