[package]
edition = "2021"
rust-version = "1.94.1"
name = "zccache"
version = "1.11.21"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Local-first compiler cache for C/C++/Rust/Emscripten"
homepage = "https://github.com/zackees/zccache"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/zackees/zccache"
[features]
default = []
test-support = []
[lib]
name = "zccache"
path = "src/lib.rs"
[[bin]]
name = "cli-crash-trigger"
path = "src/bin/cli-crash-trigger.rs"
[[bin]]
name = "crash-trigger"
path = "src/bin/crash-trigger.rs"
[[bin]]
name = "echo_shim"
path = "src/bin/echo_shim.rs"
required-features = ["test-support"]
[[bin]]
name = "exec_test_tool"
path = "src/bin/exec_test_tool.rs"
required-features = ["test-support"]
[[bin]]
name = "zccache"
path = "src/bin/zccache.rs"
[[bin]]
name = "zccache-ci"
path = "src/bin/zccache-ci.rs"
[[bin]]
name = "zccache-daemon"
path = "src/bin/zccache-daemon.rs"
[[bin]]
name = "zccache-download"
path = "src/bin/zccache-download.rs"
doc = false
[[bin]]
name = "zccache-download-daemon"
path = "src/bin/zccache-download-daemon.rs"
[[bin]]
name = "zccache-fp"
path = "src/bin/zccache-fp.rs"
[[bin]]
name = "zccache-stamp"
path = "src/bin/zccache-stamp.rs"
[[test]]
name = "artifact_kv_stress"
path = "tests/artifact_kv_stress.rs"
[[test]]
name = "artifact_perf_index_durability_test"
path = "tests/artifact_perf_index_durability_test.rs"
[[test]]
name = "ci_timeout_and_progress"
path = "tests/ci_timeout_and_progress.rs"
[[test]]
name = "cli_cache_root"
path = "tests/cli_cache_root.rs"
[[test]]
name = "cli_cli_crash_test"
path = "tests/cli_cli_crash_test.rs"
[[test]]
name = "cli_daemon_start"
path = "tests/cli_daemon_start.rs"
[[test]]
name = "cli_defender_exclusions"
path = "tests/cli_defender_exclusions.rs"
[[test]]
name = "cli_ino_convert"
path = "tests/cli_ino_convert.rs"
[[test]]
name = "cli_installers"
path = "tests/cli_installers.rs"
[[test]]
name = "cli_kv"
path = "tests/cli_kv.rs"
[[test]]
name = "cli_meson_configure_cache"
path = "tests/cli_meson_configure_cache.rs"
[[test]]
name = "cli_rust_plan_lifecycle"
path = "tests/cli_rust_plan_lifecycle.rs"
[[test]]
name = "cli_session_end"
path = "tests/cli_session_end.rs"
[[test]]
name = "cli_single_daemon_per_session"
path = "tests/cli_single_daemon_per_session.rs"
[[test]]
name = "cli_wrapper_passthrough"
path = "tests/cli_wrapper_passthrough.rs"
[[test]]
name = "compiler_arduino_ino"
path = "tests/compiler_arduino_ino.rs"
[[test]]
name = "compiler_clang_cl_classification"
path = "tests/compiler_clang_cl_classification.rs"
[[test]]
name = "compiler_response_file_adversarial"
path = "tests/compiler_response_file_adversarial.rs"
[[test]]
name = "daemon_adversarial_corner_cases"
path = "tests/daemon_adversarial_corner_cases.rs"
[[test]]
name = "daemon_adversarial_mutations"
path = "tests/daemon_adversarial_mutations.rs"
[[test]]
name = "daemon_cli_flow_test"
path = "tests/daemon_cli_flow_test.rs"
[[test]]
name = "daemon_cold_path_profile_test"
path = "tests/daemon_cold_path_profile_test.rs"
[[test]]
name = "daemon_crash_minidump_test"
path = "tests/daemon_crash_minidump_test.rs"
[[test]]
name = "daemon_cwd_release"
path = "tests/daemon_cwd_release.rs"
[[test]]
name = "daemon_depgraph_persistence_test"
path = "tests/daemon_depgraph_persistence_test.rs"
[[test]]
name = "daemon_depgraph_warm_classify_test"
path = "tests/daemon_depgraph_warm_classify_test.rs"
[[test]]
name = "daemon_dll_cache_test"
path = "tests/daemon_dll_cache_test.rs"
[[test]]
name = "daemon_exe_overwrite"
path = "tests/daemon_exe_overwrite.rs"
[[test]]
name = "daemon_fingerprint_test"
path = "tests/daemon_fingerprint_test.rs"
[[test]]
name = "daemon_generic_exec_advanced_test"
path = "tests/daemon_generic_exec_advanced_test.rs"
[[test]]
name = "daemon_generic_exec_test"
path = "tests/daemon_generic_exec_test.rs"
[[test]]
name = "daemon_integration_test"
path = "tests/daemon_integration_test.rs"
[[test]]
name = "daemon_lineage_propagation"
path = "tests/daemon_lineage_propagation.rs"
[[test]]
name = "daemon_link_cache_test"
path = "tests/daemon_link_cache_test.rs"
[[test]]
name = "daemon_ninja_rebuild_test"
path = "tests/daemon_ninja_rebuild_test.rs"
[[test]]
name = "daemon_pch_cache_test"
path = "tests/daemon_pch_cache_test.rs"
[[test]]
name = "daemon_perf_artifact_fallback_test"
path = "tests/daemon_perf_artifact_fallback_test.rs"
[[test]]
name = "daemon_perf_test"
path = "tests/daemon_perf_test.rs"
[[test]]
name = "daemon_persist_pool_bench"
path = "tests/daemon_persist_pool_bench.rs"
[[test]]
name = "daemon_profile_multi_test"
path = "tests/daemon_profile_multi_test.rs"
[[test]]
name = "daemon_profile_test"
path = "tests/daemon_profile_test.rs"
[[test]]
name = "daemon_response_file_cache"
path = "tests/daemon_response_file_cache.rs"
[[test]]
name = "daemon_rustc_adversarial_test"
path = "tests/daemon_rustc_adversarial_test.rs"
[[test]]
name = "daemon_rustc_cache_test"
path = "tests/daemon_rustc_cache_test.rs"
[[test]]
name = "daemon_rustc_issue_210_async_populate_test"
path = "tests/daemon_rustc_issue_210_async_populate_test.rs"
[[test]]
name = "daemon_rustc_restore_test"
path = "tests/daemon_rustc_restore_test.rs"
[[test]]
name = "daemon_session_stats_test"
path = "tests/daemon_session_stats_test.rs"
[[test]]
name = "daemon_stdio_detach"
path = "tests/daemon_stdio_detach.rs"
[[test]]
name = "daemon_stress_test"
path = "tests/daemon_stress_test.rs"
[[test]]
name = "daemon_watcher_adversarial"
path = "tests/daemon_watcher_adversarial.rs"
[[test]]
name = "depgraph_depfile_integration_test"
path = "tests/depgraph_depfile_integration_test.rs"
[[test]]
name = "depgraph_drift_detection_test"
path = "tests/depgraph_drift_detection_test.rs"
[[test]]
name = "depgraph_stress_test"
path = "tests/depgraph_stress_test.rs"
[[test]]
name = "fingerprint_concurrent"
path = "tests/fingerprint_concurrent.rs"
[[test]]
name = "fingerprint_edge_cases"
path = "tests/fingerprint_edge_cases.rs"
[[test]]
name = "fingerprint_end_to_end"
path = "tests/fingerprint_end_to_end.rs"
[[test]]
name = "fingerprint_glob_scan"
path = "tests/fingerprint_glob_scan.rs"
[[test]]
name = "fingerprint_stress"
path = "tests/fingerprint_stress.rs"
[[test]]
name = "fscache_persistence_perf_test"
path = "tests/fscache_persistence_perf_test.rs"
[[test]]
name = "ipc_timeout"
path = "tests/ipc_timeout.rs"
[[test]]
name = "perf_bench_test"
path = "tests/perf_bench_test.rs"
[[test]]
name = "symbols_stamp_roundtrip"
path = "tests/symbols_stamp_roundtrip.rs"
[[test]]
name = "watcher_stress_test"
path = "tests/watcher_stress_test.rs"
[[bench]]
name = "exec"
path = "benches/exec.rs"
harness = false
required-features = ["test-support"]
[[bench]]
name = "fingerprint"
path = "benches/fingerprint.rs"
harness = false
[[bench]]
name = "hashing"
path = "benches/hashing.rs"
harness = false
[[bench]]
name = "persist_payloads"
path = "benches/persist_payloads.rs"
harness = false
[[bench]]
name = "read_outputs"
path = "benches/read_outputs.rs"
harness = false
[[bench]]
name = "scan_metadata"
path = "benches/scan_metadata.rs"
harness = false
[[bench]]
name = "scan_recursive"
path = "benches/scan_recursive.rs"
harness = false
[[bench]]
name = "warm_restore"
path = "benches/warm_restore.rs"
harness = false
[[bench]]
name = "write_payloads"
path = "benches/write_payloads.rs"
harness = false
[dependencies.arc-swap]
version = "1"
[dependencies.bincode]
version = "1"
[dependencies.blake3]
version = "1"
features = [
"pure",
"rayon",
]
[dependencies.bytes]
version = "1"
[dependencies.clang]
version = "2"
features = ["runtime"]
[dependencies.clap]
version = "4"
features = [
"derive",
"env",
]
[dependencies.crash-handler]
version = "0.6"
[dependencies.dashmap]
version = "6"
[dependencies.filetime]
version = "0.2"
[dependencies.flate2]
version = "1"
[dependencies.fs2]
version = "0.4"
[dependencies.futures]
version = "0.3"
[dependencies.globset]
version = "0.4"
[dependencies.jwalk]
version = "0.8"
[dependencies.lzma-rs]
version = "0.3"
[dependencies.md5]
version = "0.7"
[dependencies.memmap2]
version = "0.9"
[dependencies.notify]
version = "7"
[dependencies.prost]
version = "0.14"
[dependencies.rayon]
version = "1"
[dependencies.redb]
version = "2"
[dependencies.regex]
version = "1"
[dependencies.reqwest]
version = "0.12"
features = [
"rustls-tls-native-roots",
"stream",
"json",
]
default-features = false
[dependencies.rkyv]
version = "0.7"
features = ["validation"]
[dependencies.running-process]
version = "4.0.0"
default-features = false
[dependencies.ruzstd]
version = "0.7"
[dependencies.sadness-generator]
version = "0.6"
[dependencies.serde]
version = "1"
features = [
"derive",
"rc",
]
[dependencies.serde_json]
version = "1"
[dependencies.sevenz-rust]
version = "0.6"
[dependencies.sha2]
version = "0.10"
[dependencies.sysinfo]
version = "0.33"
[dependencies.tar]
version = "0.4"
[dependencies.tempfile]
version = "3"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = ["full"]
[dependencies.tokio-util]
version = "0.7"
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = [
"env-filter",
"json",
]
[dependencies.uuid]
version = "1"
features = ["v4"]
[dependencies.wait-timeout]
version = "0.2"
[dependencies.zip]
version = "2"
features = ["deflate"]
default-features = false
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[target."cfg(unix)".dependencies.libc]
version = "0.2"
[target."cfg(unix)".dependencies.tikv-jemallocator]
version = "0.6"
features = ["unprefixed_malloc_on_supported_platforms"]
[target."cfg(windows)".dependencies.mimalloc]
version = "0.1"
[target."cfg(windows)".dependencies.windows-sys]
version = "0.59"
features = [
"Win32_Foundation",
"Win32_Security",
"Win32_Storage_FileSystem",
"Win32_System_JobObjects",
"Win32_System_Threading",
]