Development Setup¶
Set up your development environment for contributing to bindcar.
Prerequisites¶
- Rust 1.89.0 or later
- Git
- Docker (optional, for testing)
- mdBook (for documentation)
Clone Repository¶
Build¶
See Building from Source for detailed build instructions.
Run¶
# Create test zone directory
mkdir -p .tmp/zones
# Run with debug logging
RUST_LOG=debug BIND_ZONE_DIR=.tmp/zones cargo run
Test¶
# Run all tests
cargo test
# Run specific test
cargo test test_name
# Run with output
cargo test -- --nocapture
See Running Tests for detailed testing information.
Code Quality¶
Format¶
Lint¶
Check¶
Documentation¶
Build Documentation¶
API Documentation¶
Development Workflow¶
- Create feature branch
- Make changes
- Run tests:
cargo test - Format code:
cargo fmt - Run clippy:
cargo clippy - Commit changes
- Push and create PR
Next Steps¶
- Building from Source - Detailed build instructions
- Running Tests - Testing guide
- Contributing - Contribution guidelines