-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathCargo.toml
More file actions
74 lines (65 loc) · 2.41 KB
/
Copy pathCargo.toml
File metadata and controls
74 lines (65 loc) · 2.41 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
[workspace]
members = [
"openscreen-common",
"openscreen-network",
"openscreen-application",
"openscreen-crypto",
"openscreen-crypto-rustcrypto",
"openscreen-quinn",
"openscreen-discovery",
"openscreen-discovery-mock",
"openscreen-discovery-mdns",
]
resolver = "2"
[workspace.package]
version = "0.1.0"
edition = "2021"
rust-version = "1.77"
license = "MIT OR Apache-2.0"
repository = "https://github.com/your-org/openscreen_rs_priv"
[workspace.lints.clippy]
# Enable clippy by default and treat warnings as errors in CI
# Run with: cargo clippy --workspace -- -D warnings
all = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }
# TODO: Clean up these allows - ideally we should fix the code to satisfy pedantic lints
# rather than blanket-allowing them. For now, these are allowed to get clippy enabled
# without blocking development. Each should be revisited and either:
# 1. Fixed in the code to satisfy the lint
# 2. Selectively allowed at the function/module level with justification
# 3. Kept here with detailed reasoning why it's inappropriate for this codebase
module_name_repetitions = "allow"
must_use_candidate = "allow"
similar_names = "allow"
doc_markdown = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
ignored_unit_patterns = "allow"
elidable_lifetime_names = "allow"
unnecessary_wraps = "allow"
unused_self = "allow"
needless_pass_by_value = "allow"
single_match_else = "allow"
[patch.crates-io]
# Use patched mdns-sd with configurable port for development
mdns-sd = { git = "https://github.com/kaidokert/mdns-sd", tag = "v0.17.0_custom_port_1" }
[workspace.dependencies]
# Core protocol (no_std)
openscreen-common = { path = "openscreen-common" }
openscreen-network = { path = "openscreen-network" }
openscreen-application = { path = "openscreen-application" }
openscreen-crypto = { path = "openscreen-crypto" }
# Collections
heapless = { version = "0.8", default-features = false }
# Serialization
minicbor = { version = "0.25", default-features = false }
# Cryptography
spake2 = { version = "0.4", default-features = false }
sha2 = { version = "0.10", default-features = false }
hmac = { version = "0.12", default-features = false }
hkdf = { version = "0.12", default-features = false }
p256 = { version = "0.13", default-features = false }
rand_core = { version = "0.6", default-features = false }
# QUIC implementations
quinn = "0.11"
s2n-quic = "1.44"