1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
//! Release command - builds production-optimized binaries with codegen mode
//!
//! This command wraps `cargo build --release` with the `codegen` feature flag,
//! providing optimized production builds with zero runtime overhead.
/// Release command arguments
/// Execute the release command
///
/// This is an alias for `dampen build --release` that builds the application
/// in production mode with codegen and 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
///
/// ```bash
/// # Basic release build (codegen)
/// 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
///
/// # Note: This is equivalent to `dampen build --release`
/// ```