# Sample TuskLang configuration for Rust parser testing
app_name: "TuskLang Rust Demo"
version: "0.1.0"
debug: true
port: 8080
# Database configuration
database:
host: "localhost"
port: 5432
name: "tusklang_db"
user: "admin"
password: "secret123"
ssl_mode: "require"
max_connections: 100
timeout: 30
# Feature flags
features:
- logging
- metrics
- hot_reload
- caching
- authentication
# API configuration
api:
version: "v1"
rate_limit: 1000
timeout: 30
cors:
allowed_origins:
- "https://example.com"
- "https://app.example.com"
allowed_methods:
- "GET"
- "POST"
- "PUT"
- "DELETE"
# Logging configuration
logging:
level: "info"
format: "json"
output: "stdout"
file:
path: "/var/log/app.log"
max_size: "100MB"
max_age: 7
compress: true
# Cache settings
cache:
type: "redis"
host: "localhost"
port: 6379
ttl: 3600
prefix: "app:"