-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
78 lines (72 loc) · 2.84 KB
/
Cargo.toml
File metadata and controls
78 lines (72 loc) · 2.84 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
[workspace]
resolver = "2"
members = [
"crates/gossip-stdx",
"crates/gossip-contracts",
"crates/gossip-pg-common",
"crates/gossip-done-ledger-postgres",
"crates/gossip-findings-postgres",
"crates/gossip-git-persistence-postgres",
"crates/scanner-engine",
"crates/scanner-scheduler",
"crates/scanner-git",
"crates/scanner-engine-integration-tests",
"crates/gossip-scanner-runtime",
"crates/gossip-connectors",
"crates/gossip-coordination",
"crates/gossip-coordination-etcd",
"crates/gossip-persistence-inmemory",
"crates/gossip-frontier",
"crates/gossip-orchestrator",
"crates/gossip-worker",
"crates/scanner-rs-cli",
"tools/dev-seed",
]
[workspace.package]
version = "0.1.0"
edition = "2024"
rust-version = "1.93"
license = "MIT"
repository = "https://github.com/ahrav/gossip-rs"
[workspace.dependencies]
# Internal crate dependencies
gossip-stdx = { path = "crates/gossip-stdx" }
gossip-contracts = { path = "crates/gossip-contracts" }
gossip-pg-common = { path = "crates/gossip-pg-common" }
gossip-done-ledger-postgres = { path = "crates/gossip-done-ledger-postgres" }
gossip-findings-postgres = { path = "crates/gossip-findings-postgres" }
gossip-git-persistence-postgres = { path = "crates/gossip-git-persistence-postgres" }
scanner-engine = { path = "crates/scanner-engine" }
scanner-scheduler = { path = "crates/scanner-scheduler" }
scanner-git = { path = "crates/scanner-git" }
gossip-scanner-runtime = { path = "crates/gossip-scanner-runtime" }
gossip-connectors = { path = "crates/gossip-connectors" }
gossip-coordination = { path = "crates/gossip-coordination" }
gossip-coordination-etcd = { path = "crates/gossip-coordination-etcd" }
gossip-persistence-inmemory = { path = "crates/gossip-persistence-inmemory" }
gossip-frontier = { path = "crates/gossip-frontier" }
gossip-orchestrator = { path = "crates/gossip-orchestrator" }
# External dependencies
ahash = "0.8"
thiserror = "2"
postgres = "0.19"
fastbloom = "0.17"
# External dev/test dependencies
rstest = "0.25"
proptest = "1.6"
testcontainers = { version = "0.27", features = ["blocking"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt"] }
anyhow = "1.0"
# ── Profile tuning ────────────────────────────────────────────────────
# Optimise third-party crates in dev/test builds so property tests,
# regex matching, and vectorscan scanning run at near-release speed
# while our own crates stay at opt-level 0 for fast incremental builds.
#
# This only affects the initial clean build (deps compile with -O1).
# Incremental builds are unaffected because deps are cached and only
# workspace crates recompile on source changes.
[profile.dev.package."*"]
opt-level = 1
[profile.test.package."*"]
opt-level = 1