-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCargo.toml
More file actions
96 lines (80 loc) · 2.23 KB
/
Copy pathCargo.toml
File metadata and controls
96 lines (80 loc) · 2.23 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
[workspace]
resolver = "2"
members = [
"crates/venus",
"crates/venus-macros",
"crates/venus-core",
"crates/venus-sync",
"crates/venus-server",
]
exclude = [".venus", "examples/.venus", "tests/.venus", "*/.venus"]
[workspace.package]
version = "0.1.1"
edition = "2024"
rust-version = "1.85.0"
license = "Apache-2.0"
repository = "https://github.com/ml-rust/venus"
[workspace.dependencies]
# Internal crates
venus = { path = "crates/venus", version = "0" }
venus-macros = { path = "crates/venus-macros", version = "0" }
venus-core = { path = "crates/venus-core", version = "0" }
venus-sync = { path = "crates/venus-sync", version = "0" }
venus-server = { path = "crates/venus-server", version = "0" }
# Parsing and AST
syn = { version = "2.0", features = [
"full",
"parsing",
"visit",
"extra-traits",
] }
quote = "1.0"
proc-macro2 = { version = "1.0", features = ["span-locations"] }
# Graph
petgraph = "0.8"
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
rkyv = "0.8" # default features include bytecheck for validation
# Incremental computation
salsa = "0.25"
# Dynamic loading
libloading = "0.9"
# Async runtime
tokio = { version = "1.48", features = [
"macros", # #[tokio::main]
"rt-multi-thread", # Multi-threaded runtime
"sync", # Mutex, RwLock, oneshot, mpsc, broadcast
"net", # TcpListener
"time", # sleep, timeout
"fs", # File operations
"process", # Command
"io-util", # AsyncWriteExt, AsyncReadExt, AsyncBufReadExt
"signal", # ctrl_c()
] }
# CLI
clap = { version = "4.5", features = ["derive"] }
# Error handling
thiserror = "2.0"
anyhow = "1.0"
# Utilities
uuid = { version = "1.19", features = ["v4"] }
rustc-hash = "2.1"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
libc = "0.2"
which = "8.0"
dirs = "6.0"
# Parallelism
rayon = "1.10"
# Encoding
base64 = "0.22"
# Web server
axum = { version = "0.8", features = ["ws"] }
tower = "0.5"
tower-http = { version = "0.6", features = ["fs", "cors"] }
# File watching
notify = "8.0"
notify-debouncer-mini = "0.6"
# WebSocket
futures = "0.3"