pub fn execute(args: &ReleaseArgs) -> Result<(), String>Expand description
Execute the release command
Builds the application in production mode with full optimizations.
§Mode Behavior
- Release Mode: Compile-time code generation with full optimizations
- Zero runtime overhead for maximum performance
- Ideal for production deployments
- Requires build.rs for code generation
§Examples
# Basic release build
dampen release
# Build specific package in workspace
dampen release -p my-app
# Enable additional features
dampen release --features tokio,logging
# Custom target directory
dampen release --target-dir ./dist