mirror of
https://github.com/0xfnzero/solana-streamer.git
synced 2026-11-02 07:16:31 +00:00
build: reduce Rust cache growth and keep builds portable
Disable incremental caches and trim dev/test dependency debug data while preserving project output paths and release tuning.
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
# Standard Cargo settings; sccache is optional, and no local path is required.
|
||||
# Optional: RUSTC_WRAPPER=sccache SCCACHE_CACHE_SIZE=10G cargo build --release
|
||||
# Keep target-dir, release optimization and linker settings project-specific.
|
||||
|
||||
[build]
|
||||
incremental = false
|
||||
|
||||
[profile.dev]
|
||||
debug = 1
|
||||
|
||||
[profile.dev.package."*"]
|
||||
debug = 0
|
||||
|
||||
[profile.test]
|
||||
debug = 1
|
||||
|
||||
[profile.test.package."*"]
|
||||
debug = 0
|
||||
+6
-1
@@ -22,4 +22,9 @@ Cargo.lock
|
||||
|
||||
.cargo/
|
||||
.claude/
|
||||
.DS_Store
|
||||
.DS_Store
|
||||
|
||||
# Share portable Cargo build settings; keep other local Cargo files private.
|
||||
!/.cargo/
|
||||
/.cargo/*
|
||||
!/.cargo/config.toml
|
||||
|
||||
+1
-1
@@ -22,7 +22,7 @@ sdk-perf-stats = ["sol-parser-sdk/perf-stats"]
|
||||
sdk-ultra-perf = ["sol-parser-sdk/ultra-perf"]
|
||||
|
||||
[dependencies]
|
||||
sol-parser-sdk = { path = "../sol-parser-sdk", version = "=0.9.1", default-features = false }
|
||||
sol-parser-sdk = { version = "=0.9.1", default-features = false }
|
||||
solana-sdk = "=4.0.1"
|
||||
solana-client = "=4.2.2"
|
||||
solana-transaction-status = { version = "=4.2.2", features = ["agave-unstable-api"] }
|
||||
|
||||
Reference in New Issue
Block a user