-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
65 lines (60 loc) · 2.24 KB
/
Copy pathCargo.toml
File metadata and controls
65 lines (60 loc) · 2.24 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
# SPDX-License-Identifier: Apache-2.0
# © James Ross Ω FLYING•ROBOTS <https://github.com/flyingrobots>
[workspace]
members = [
"crates/warp-drive-core",
"crates/warp-drive-fuse",
"xtask",
]
exclude = [
"crates/warp-drive-g0-spike",
"crates/warp-drive-echo-backend",
"crates/warp-drive-fuse-echo",
]
# crates/warp-drive-g0-spike, crates/warp-drive-echo-backend, and
# crates/warp-drive-fuse-echo are intentionally excluded from the active
# workspace. They depend on ../echo-warp-drive path deps, which are not present
# in CI, Docker, or fresh contributor checkouts. Keep their source for
# reference/local gates; do not include them in default workspace checks.
resolver = "2"
[workspace.package]
license = "Apache-2.0"
repository = "https://github.com/flyingrobots/warp-drive"
rust-version = "1.90.0"
edition = "2024"
[workspace.dependencies]
warp-drive-core = { path = "crates/warp-drive-core" }
clap = { version = "4", features = ["derive"] }
fuser = { version = "0.17" }
libc = "0.2"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# ── Workspace-wide lint policy (see docs/ENGINEERING_STANDARDS.md §2) ──────
[workspace.lints.rust]
warnings = "deny"
missing_docs = "deny"
unsafe_code = "forbid"
unused_must_use = "deny"
unreachable_pub = "deny"
[workspace.lints.clippy]
# `all` covers correctness, suspicious, style, complexity, perf.
# `pedantic` and `nursery` are intentionally omitted — they generate more
# noise than signal at this stage and conflict with each other (e.g.
# `redundant_pub_crate` vs `unreachable_pub`). Add targeted overrides below
# for the safety properties we actually care about.
all = { level = "deny", priority = -1 }
# Safety / correctness
unwrap_used = "deny"
expect_used = "deny"
panic = "deny"
todo = "deny"
unimplemented = "deny"
# Hygiene
dbg_macro = "deny"
print_stdout = "deny"
print_stderr = "deny"
wildcard_imports = "deny"
enum_glob_use = "deny"
# multiple_crate_versions fires on transitive dep duplication we don't control;
# use `cargo deny` instead for supply-chain checks.
multiple_crate_versions = "allow"