-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
87 lines (79 loc) · 2.57 KB
/
Copy pathCargo.toml
File metadata and controls
87 lines (79 loc) · 2.57 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
[workspace]
members = ["cloud9", "cloud9-core", "cloud9-node", "cloud9-proto", "cloud9-storage", "cloud9-wal", "consensus/cloud9-raft", "consensus/cloud9-raft-io"]
resolver = "2"
[workspace.package]
version = "0.0.1"
edition = "2024"
rust-version = "1.95.0"
license = "MIT"
authors = ["Windsor Nguyen <oss@dedaluslabs.ai>"]
repository = "https://github.com/windsornguyen/cloud9"
homepage = "https://dedaluslabs.ai"
[workspace.lints.rust]
unsafe_code = "warn"
unreachable_pub = "warn"
unexpected_cfgs = { level = "warn", check-cfg = [
'cfg(loom)',
'cfg(cloud9_unstable)',
] }
[workspace.lints.clippy]
pedantic = { level = "warn", priority = -2 }
# Allowed pedantic lints
module_name_repetitions = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
must_use_candidate = "allow"
similar_names = "allow"
too_many_arguments = "allow"
too_many_lines = "allow"
# Disallowed restriction lints
dbg_macro = "warn"
print_stdout = "warn"
print_stderr = "warn"
exit = "warn"
get_unwrap = "warn"
unwrap_used = "warn"
expect_used = "warn"
panic = "warn"
todo = "warn"
unimplemented = "warn"
[workspace.dependencies]
# Internal crates
cloud9-core = { version = "0.0.1", path = "cloud9-core" }
cloud9-storage = { version = "0.0.1", path = "cloud9-storage" }
cloud9-wal = { version = "0.0.1", path = "cloud9-wal" }
cloud9-raft = { version = "0.0.1", path = "consensus/cloud9-raft" }
cloud9-raft-io = { version = "0.0.1", path = "consensus/cloud9-raft-io" }
cloud9-proto = { version = "0.0.1", path = "cloud9-proto" }
cloud9-node = { version = "0.0.1", path = "cloud9-node" }
# External dependencies
anyhow = "1"
thiserror = "2.0.17"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt", "time"] }
bytes = "1"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tokio = { version = "1", features = ["rt-multi-thread", "macros", "net", "signal", "sync", "time", "io-util"] }
axum = "0.8.6"
clap = { version = "4.5", features = ["derive", "env", "string", "wrap_help"] }
arcstr = { version = "1.2", features = ["serde"] }
fs-err = { version = "3", features = ["tokio"] }
miette = { version = "7.2", features = ["fancy-no-backtrace"] }
textwrap = "0.16"
crc32fast = "1.5"
toml = "0.9"
buffa = { version = "0.5.2", features = ["json"] }
connectrpc = { version = "0.4.2", default-features = false }
connectrpc-build = "0.4.2"
http-body = "1"
hmac = "0.13"
sha2 = "0.11"
# Testing - concurrency
loom = "0.7.2"
# Testing - property-based & state machine
proptest = "1.5"
proptest-state-machine = "0.6"
# Testing - concurrency (randomized)
shuttle = "0.8"
tempfile = "3.20"