truffle-sidecar
Provides the truffle mesh networking sidecar binary.
This crate downloads the platform-specific Go sidecar binary at build time
from truffle's GitHub releases. The binary is required by truffle-core
to establish Tailscale mesh connections.
Usage
use sidecar_path;
let path = sidecar_path;
println!;
Override
Set TRUFFLE_SIDECAR_PATH environment variable at build time or runtime
to use a custom sidecar binary:
TRUFFLE_SIDECAR_PATH=/usr/local/bin/sidecar-slim
Set TRUFFLE_SIDECAR_SKIP_DOWNLOAD=1 to skip the build-time download
(useful in CI where the sidecar is provided separately).