Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Getting Started

Prerequisites

  • Rust 1.75+ — install via rustup
  • SQL Server access — database credentials for at least one region
  • Network access — direct TCP connectivity to the database server (port 1433)

No ODBC driver is required — Efision uses Tiberius, a pure Rust TDS driver.

Build

# Debug build (faster compile, slower runtime)
cargo build

# Release build (slower compile, optimized binary — recommended)
cargo build --release

Or use the build script:

./scripts/build-release.sh

Run

# From project root (debug)
./target/debug/efision -r <region> <command>

# From project root (release)
./target/release/efision -r <region> <command>

# Copy binary to project root for convenience
cp target/release/efision ./efision
./efision -r <region> <command>

First Commands

# Count active wheels
./efision -r au wheels count

# Export wheels to CSV
./efision -r au wheels export -o wheels.csv

# View wheel summary
./efision -r au wheels summary

# Search customers
./efision -r au customers search -q "Smith"

Next Steps